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
15ef0dc5
"docs/_static/git@developer.sourcefind.cn:change/sglang.git" did not exist on "909abb58f551b9b517587a97b66761fd73568718"
Unverified
Commit
15ef0dc5
authored
Jun 16, 2021
by
Nicolas Patry
Committed by
GitHub
Jun 16, 2021
Browse files
Enabling AutoTokenizer for HubertConfig. (#12198)
parent
afa414d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
src/transformers/models/auto/tokenization_auto.py
src/transformers/models/auto/tokenization_auto.py
+2
-0
No files found.
src/transformers/models/auto/tokenization_auto.py
View file @
15ef0dc5
...
...
@@ -81,6 +81,7 @@ from .configuration_auto import (
FSMTConfig
,
FunnelConfig
,
GPT2Config
,
HubertConfig
,
IBertConfig
,
LayoutLMConfig
,
LEDConfig
,
...
...
@@ -280,6 +281,7 @@ TOKENIZER_MAPPING = OrderedDict(
(
BigBirdConfig
,
(
BigBirdTokenizer
,
BigBirdTokenizerFast
)),
(
IBertConfig
,
(
RobertaTokenizer
,
RobertaTokenizerFast
)),
(
Wav2Vec2Config
,
(
Wav2Vec2CTCTokenizer
,
None
)),
(
HubertConfig
,
(
Wav2Vec2CTCTokenizer
,
None
)),
(
GPTNeoConfig
,
(
GPT2Tokenizer
,
GPT2TokenizerFast
)),
(
LukeConfig
,
(
LukeTokenizer
,
None
)),
(
BigBirdPegasusConfig
,
(
PegasusTokenizer
,
PegasusTokenizerFast
)),
...
...
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