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
ce2f4227
Commit
ce2f4227
authored
Jan 29, 2020
by
Lysandre
Committed by
Lysandre Debut
Jan 30, 2020
Browse files
Fix failing FlauBERT test
parent
f0a4fc6c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/configuration_auto.py
src/transformers/configuration_auto.py
+1
-1
No files found.
src/transformers/configuration_auto.py
View file @
ce2f4227
...
...
@@ -68,6 +68,7 @@ CONFIG_MAPPING = OrderedDict(
(
"camembert"
,
CamembertConfig
,),
(
"xlm-roberta"
,
XLMRobertaConfig
,),
(
"roberta"
,
RobertaConfig
,),
(
"flaubert"
,
FlaubertConfig
,),
(
"bert"
,
BertConfig
,),
(
"openai-gpt"
,
OpenAIGPTConfig
,),
(
"gpt2"
,
GPT2Config
,),
...
...
@@ -75,7 +76,6 @@ CONFIG_MAPPING = OrderedDict(
(
"xlnet"
,
XLNetConfig
,),
(
"xlm"
,
XLMConfig
,),
(
"ctrl"
,
CTRLConfig
,),
(
"flaubert"
,
FlaubertConfig
,),
]
)
...
...
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