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
68b69072
Unverified
Commit
68b69072
authored
Aug 25, 2021
by
Lysandre Debut
Committed by
GitHub
Aug 25, 2021
Browse files
Add CLIP tokenizer to AutoTokenizer (#13258)
parent
3bbe68f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
src/transformers/models/auto/tokenization_auto.py
src/transformers/models/auto/tokenization_auto.py
+7
-0
No files found.
src/transformers/models/auto/tokenization_auto.py
View file @
68b69072
...
@@ -206,6 +206,13 @@ else:
...
@@ -206,6 +206,13 @@ else:
"RemBertTokenizerFast"
if
is_tokenizers_available
()
else
None
,
"RemBertTokenizerFast"
if
is_tokenizers_available
()
else
None
,
),
),
),
),
(
"clip"
,
(
"CLIPTokenizer"
,
"CLIPTokenizerFast"
if
is_tokenizers_available
()
else
None
,
),
),
]
]
)
)
...
...
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