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
"vscode:/vscode.git/clone" did not exist on "f4a0d6ff867e8a82a33d7a653e7d45372a463271"
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
Show 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(
...
@@ -68,6 +68,7 @@ CONFIG_MAPPING = OrderedDict(
(
"camembert"
,
CamembertConfig
,),
(
"camembert"
,
CamembertConfig
,),
(
"xlm-roberta"
,
XLMRobertaConfig
,),
(
"xlm-roberta"
,
XLMRobertaConfig
,),
(
"roberta"
,
RobertaConfig
,),
(
"roberta"
,
RobertaConfig
,),
(
"flaubert"
,
FlaubertConfig
,),
(
"bert"
,
BertConfig
,),
(
"bert"
,
BertConfig
,),
(
"openai-gpt"
,
OpenAIGPTConfig
,),
(
"openai-gpt"
,
OpenAIGPTConfig
,),
(
"gpt2"
,
GPT2Config
,),
(
"gpt2"
,
GPT2Config
,),
...
@@ -75,7 +76,6 @@ CONFIG_MAPPING = OrderedDict(
...
@@ -75,7 +76,6 @@ CONFIG_MAPPING = OrderedDict(
(
"xlnet"
,
XLNetConfig
,),
(
"xlnet"
,
XLNetConfig
,),
(
"xlm"
,
XLMConfig
,),
(
"xlm"
,
XLMConfig
,),
(
"ctrl"
,
CTRLConfig
,),
(
"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