Skip to content

Commit 1d2e815

Browse files
committed
upper case deprecated
1 parent f02624d commit 1d2e815

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

model2vec/distill/distillation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def distill_from_model(
6666
:param token_remove_pattern: If this is set to a string, we compile this into a regex. Any tokens that conform to this regex pattern will be removed from the vocabulary.
6767
If the pattern is so general that it removes all tokens, we throw an error. If the pattern can't be compiled into a valid regex, we also throw an error.
6868
:param quantize_to: The data type to quantize to. Can be any of the DType enum members or their string equivalents.
69-
:param use_subword: Deprecated. If this is not set to None, we show a warning. It doesn't do anything.
69+
:param use_subword: DEPRECATED: If this is not set to None, we show a warning. It doesn't do anything.
7070
:return: A StaticModel
7171
7272
"""
@@ -229,7 +229,7 @@ def distill(
229229
:param token_remove_pattern: If this is set to a string, we compile this into a regex. Any tokens that conform to this regex pattern will be removed from the vocabulary.
230230
:param trust_remote_code: Whether to trust the remote code. If this is False, we will only load components coming from `transformers`. If this is True, we will load all components.
231231
:param quantize_to: The data type to quantize to. Can be any of the DType enum members or their string equivalents.
232-
:param use_subword: Deprecated. If this is not set to None, we show a warning. It doesn't do anything.
232+
:param use_subword: DEPRECATED: If this is not set to None, we show a warning. It doesn't do anything.
233233
:return: A StaticModel
234234
235235
"""

0 commit comments

Comments
 (0)