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
0b13fb82
Commit
0b13fb82
authored
Jan 30, 2020
by
Julien Chaumond
Committed by
Lysandre Debut
Jan 30, 2020
Browse files
No need for a model_type here
cc @lysandrejik
parent
71a38231
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
src/transformers/modeling_flaubert.py
src/transformers/modeling_flaubert.py
+0
-1
No files found.
src/transformers/modeling_flaubert.py
View file @
0b13fb82
...
...
@@ -110,7 +110,6 @@ class FlaubertModel(XLMModel):
config_class
=
FlaubertConfig
pretrained_model_archive_map
=
FLAUBERT_PRETRAINED_MODEL_ARCHIVE_MAP
model_type
=
"flaubert"
def
__init__
(
self
,
config
):
# , dico, is_encoder, with_output):
super
(
FlaubertModel
,
self
).
__init__
(
config
)
...
...
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