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
e4610881
"examples/run_classifier.py" did not exist on "34bdc8b54fc6cd9d3877df43e23356cfd79cdfe9"
Unverified
Commit
e4610881
authored
Sep 22, 2020
by
Lysandre Debut
Committed by
GitHub
Sep 22, 2020
Browse files
Adds FSMT to LM head AutoModel (#7312)
parent
e2964b8a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
src/transformers/modeling_auto.py
src/transformers/modeling_auto.py
+1
-0
No files found.
src/transformers/modeling_auto.py
View file @
e4610881
...
...
@@ -258,6 +258,7 @@ MODEL_WITH_LM_HEAD_MAPPING = OrderedDict(
(
CamembertConfig
,
CamembertForMaskedLM
),
(
XLMRobertaConfig
,
XLMRobertaForMaskedLM
),
(
MarianConfig
,
MarianMTModel
),
(
FSMTConfig
,
FSMTForConditionalGeneration
),
(
BartConfig
,
BartForConditionalGeneration
),
(
LongformerConfig
,
LongformerForMaskedLM
),
(
RobertaConfig
,
RobertaForMaskedLM
),
...
...
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