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
2772d3e7
Unverified
Commit
2772d3e7
authored
Aug 23, 2021
by
Lysandre Debut
Committed by
GitHub
Aug 23, 2021
Browse files
Add RemBert to AutoTokenizer (#13224)
parent
f1bb6f08
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 @
2772d3e7
...
...
@@ -199,6 +199,13 @@ else:
"MBart50TokenizerFast"
if
is_tokenizers_available
()
else
None
,
),
),
(
"rembert"
,
(
"RemBertTokenizer"
if
is_sentencepiece_available
()
else
None
,
"RemBertTokenizerFast"
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