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
245cdb46
"git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "cdf0f2fec39d4efa35cdee7df02a08c46f8e134a"
Unverified
Commit
245cdb46
authored
Jan 13, 2021
by
Lysandre Debut
Committed by
GitHub
Jan 13, 2021
Browse files
Fix barthez tokenizer (#9562)
parent
247a7b20
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/models/auto/tokenization_auto.py
src/transformers/models/auto/tokenization_auto.py
+1
-1
No files found.
src/transformers/models/auto/tokenization_auto.py
View file @
245cdb46
...
@@ -199,7 +199,6 @@ TOKENIZER_MAPPING = OrderedDict(
...
@@ -199,7 +199,6 @@ TOKENIZER_MAPPING = OrderedDict(
(
AlbertConfig
,
(
AlbertTokenizer
,
AlbertTokenizerFast
)),
(
AlbertConfig
,
(
AlbertTokenizer
,
AlbertTokenizerFast
)),
(
CamembertConfig
,
(
CamembertTokenizer
,
CamembertTokenizerFast
)),
(
CamembertConfig
,
(
CamembertTokenizer
,
CamembertTokenizerFast
)),
(
PegasusConfig
,
(
PegasusTokenizer
,
PegasusTokenizerFast
)),
(
PegasusConfig
,
(
PegasusTokenizer
,
PegasusTokenizerFast
)),
(
MBartConfig
,
(
BarthezTokenizer
,
BarthezTokenizerFast
)),
(
MBartConfig
,
(
MBartTokenizer
,
MBartTokenizerFast
)),
(
MBartConfig
,
(
MBartTokenizer
,
MBartTokenizerFast
)),
(
XLMRobertaConfig
,
(
XLMRobertaTokenizer
,
XLMRobertaTokenizerFast
)),
(
XLMRobertaConfig
,
(
XLMRobertaTokenizer
,
XLMRobertaTokenizerFast
)),
(
MarianConfig
,
(
MarianTokenizer
,
None
)),
(
MarianConfig
,
(
MarianTokenizer
,
None
)),
...
@@ -243,6 +242,7 @@ NO_CONFIG_TOKENIZER = [
...
@@ -243,6 +242,7 @@ NO_CONFIG_TOKENIZER = [
HerbertTokenizer
,
HerbertTokenizer
,
HerbertTokenizerFast
,
HerbertTokenizerFast
,
PhobertTokenizer
,
PhobertTokenizer
,
BarthezTokenizer
,
]
]
...
...
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