Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
85514c17
Unverified
Commit
85514c17
authored
Jul 20, 2023
by
Premtim Sa
Committed by
GitHub
Jul 20, 2023
Browse files
Update processing_vision_text_dual_encoder.py (#24950)
Fixing small typo: kwrags -> kwargs
parent
98598066
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/models/vision_text_dual_encoder/processing_vision_text_dual_encoder.py
..._text_dual_encoder/processing_vision_text_dual_encoder.py
+1
-1
No files found.
src/transformers/models/vision_text_dual_encoder/processing_vision_text_dual_encoder.py
View file @
85514c17
...
@@ -64,7 +64,7 @@ class VisionTextDualEncoderProcessor(ProcessorMixin):
...
@@ -64,7 +64,7 @@ class VisionTextDualEncoderProcessor(ProcessorMixin):
"""
"""
Main method to prepare for the model one or several sequences(s) and image(s). This method forwards the `text`
Main method to prepare for the model one or several sequences(s) and image(s). This method forwards the `text`
and `kwargs` arguments to VisionTextDualEncoderTokenizer's [`~PreTrainedTokenizer.__call__`] if `text` is not
and `kwargs` arguments to VisionTextDualEncoderTokenizer's [`~PreTrainedTokenizer.__call__`] if `text` is not
`None` to encode the text. To prepare the image(s), this method forwards the `images` and `kw
r
ags` arguments to
`None` to encode the text. To prepare the image(s), this method forwards the `images` and `kwa
r
gs` arguments to
AutoImageProcessor's [`~AutoImageProcessor.__call__`] if `images` is not `None`. Please refer to the doctsring
AutoImageProcessor's [`~AutoImageProcessor.__call__`] if `images` is not `None`. Please refer to the doctsring
of the above two methods for more information.
of the above two methods for more information.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment