Skip to content

Commit 8a1079e

Browse files
authored
fix typos
1 parent 26a9f84 commit 8a1079e

39 files changed

+40
-40
lines changed

src/transformers/models/align/processing_align.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def __call__(
8383
arguments to BertTokenizerFast's [`~BertTokenizerFast.__call__`] if `text` is not `None` to encode
8484
the text. To prepare the image(s), this method forwards the `images` arguments to
8585
EfficientNetImageProcessor's [`~EfficientNetImageProcessor.__call__`] if `images` is not `None`. Please refer
86-
to the doctsring of the above two methods for more information.
86+
to the docstring of the above two methods for more information.
8787
8888
Args:
8989
images (`PIL.Image.Image`, `np.ndarray`, `torch.Tensor`, `List[PIL.Image.Image]`, `List[np.ndarray]`, `List[torch.Tensor]`):

src/transformers/models/altclip/processing_altclip.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def __call__(
6868
Main method to prepare for the model one or several sequences(s) and image(s). This method forwards the `text`
6969
and `kwargs` arguments to XLMRobertaTokenizerFast's [`~XLMRobertaTokenizerFast.__call__`] if `text` is not
7070
`None` to encode the text. To prepare the image(s), this method forwards the `images` and `kwrags` arguments to
71-
CLIPImageProcessor's [`~CLIPImageProcessor.__call__`] if `images` is not `None`. Please refer to the doctsring
71+
CLIPImageProcessor's [`~CLIPImageProcessor.__call__`] if `images` is not `None`. Please refer to the docstring
7272
of the above two methods for more information.
7373
7474
Args:

src/transformers/models/chameleon/processing_chameleon.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def __call__(
8787
Main method to prepare for the model one or several sequences(s) and image(s). This method forwards the `text`
8888
and `kwargs` arguments to LlamaTokenizerFast's [`~LlamaTokenizerFast.__call__`] if `text` is not `None` to encode
8989
the text. To prepare the image(s), this method forwards the `images` and `kwrags` arguments to
90-
CLIPImageProcessor's [`~CLIPImageProcessor.__call__`] if `images` is not `None`. Please refer to the doctsring
90+
CLIPImageProcessor's [`~CLIPImageProcessor.__call__`] if `images` is not `None`. Please refer to the docstring
9191
of the above two methods for more information.
9292
9393
Args:

src/transformers/models/chinese_clip/processing_chinese_clip.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def __call__(
7878
Main method to prepare for the model one or several sequences(s) and image(s). This method forwards the `text`
7979
and `kwargs` arguments to BertTokenizerFast's [`~BertTokenizerFast.__call__`] if `text` is not `None` to encode
8080
the text. To prepare the image(s), this method forwards the `images` and `kwrags` arguments to
81-
CLIPImageProcessor's [`~CLIPImageProcessor.__call__`] if `images` is not `None`. Please refer to the doctsring
81+
CLIPImageProcessor's [`~CLIPImageProcessor.__call__`] if `images` is not `None`. Please refer to the docstring
8282
of the above two methods for more information.
8383
8484
Args:

src/transformers/models/clap/processing_clap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def __call__(self, text=None, audios=None, return_tensors=None, **kwargs):
4646
and `kwargs` arguments to RobertaTokenizerFast's [`~RobertaTokenizerFast.__call__`] if `text` is not `None` to
4747
encode the text. To prepare the audio(s), this method forwards the `audios` and `kwrags` arguments to
4848
ClapFeatureExtractor's [`~ClapFeatureExtractor.__call__`] if `audios` is not `None`. Please refer to the
49-
doctsring of the above two methods for more information.
49+
docstring of the above two methods for more information.
5050
5151
Args:
5252
text (`str`, `List[str]`, `List[List[str]]`):

src/transformers/models/clip/processing_clip.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def __call__(self, text=None, images=None, return_tensors=None, **kwargs):
6363
Main method to prepare for the model one or several sequences(s) and image(s). This method forwards the `text`
6464
and `kwargs` arguments to CLIPTokenizerFast's [`~CLIPTokenizerFast.__call__`] if `text` is not `None` to encode
6565
the text. To prepare the image(s), this method forwards the `images` and `kwrags` arguments to
66-
CLIPImageProcessor's [`~CLIPImageProcessor.__call__`] if `images` is not `None`. Please refer to the doctsring
66+
CLIPImageProcessor's [`~CLIPImageProcessor.__call__`] if `images` is not `None`. Please refer to the docstring
6767
of the above two methods for more information.
6868
6969
Args:

src/transformers/models/clipseg/processing_clipseg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def __call__(self, text=None, images=None, visual_prompt=None, return_tensors=No
6363
Main method to prepare for the model one or several sequences(s) and image(s). This method forwards the `text`
6464
and `kwargs` arguments to CLIPTokenizerFast's [`~CLIPTokenizerFast.__call__`] if `text` is not `None` to encode
6565
the text. To prepare the image(s), this method forwards the `images` and `kwrags` arguments to
66-
ViTImageProcessor's [`~ViTImageProcessor.__call__`] if `images` is not `None`. Please refer to the doctsring of
66+
ViTImageProcessor's [`~ViTImageProcessor.__call__`] if `images` is not `None`. Please refer to the docstring of
6767
the above two methods for more information.
6868
6969
Args:

src/transformers/models/clvp/processing_clvp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def __init__(self, feature_extractor, tokenizer):
4848
def __call__(self, *args, **kwargs):
4949
"""
5050
Forwards the `audio` and `sampling_rate` arguments to [`~ClvpFeatureExtractor.__call__`] and the `text`
51-
argument to [`~ClvpTokenizer.__call__`]. Please refer to the doctsring of the above two methods for more
51+
argument to [`~ClvpTokenizer.__call__`]. Please refer to the docstring of the above two methods for more
5252
information.
5353
"""
5454

src/transformers/models/colpali/processing_colpali.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def __call__(
144144
[`~LlamaTokenizerFast.__call__`].
145145
When preparing the image(s), this method forwards the `images` and `kwargs` arguments to SiglipImageProcessor's
146146
[`~SiglipImageProcessor.__call__`].
147-
Please refer to the doctsring of the above two methods for more information.
147+
Please refer to the docstring of the above two methods for more information.
148148
149149
Args:
150150
images (`PIL.Image.Image`, `np.ndarray`, `torch.Tensor`, `List[PIL.Image.Image]`, `List[np.ndarray]`, `List[torch.Tensor]`):

src/transformers/models/deprecated/mctct/processing_mctct.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def __call__(self, *args, **kwargs):
4949
When used in normal mode, this method forwards all its arguments to MCTCTFeatureExtractor's
5050
[`~MCTCTFeatureExtractor.__call__`] and returns its output. If used in the context
5151
[`~MCTCTProcessor.as_target_processor`] this method forwards all its arguments to AutoTokenizer's
52-
[`~AutoTokenizer.__call__`]. Please refer to the doctsring of the above two methods for more information.
52+
[`~AutoTokenizer.__call__`]. Please refer to the docstring of the above two methods for more information.
5353
"""
5454
# For backward compatibility
5555
if self._in_target_context_manager:

0 commit comments

Comments
 (0)