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
90787fed
Commit
90787fed
authored
Jan 29, 2020
by
Lysandre
Committed by
Lysandre Debut
Jan 30, 2020
Browse files
Style
parent
73306d02
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
src/transformers/modeling_flaubert.py
src/transformers/modeling_flaubert.py
+4
-0
No files found.
src/transformers/modeling_flaubert.py
View file @
90787fed
...
@@ -310,6 +310,7 @@ class FlaubertWithLMHeadModel(XLMWithLMHeadModel):
...
@@ -310,6 +310,7 @@ class FlaubertWithLMHeadModel(XLMWithLMHeadModel):
This class overrides :class:`~transformers.XLMWithLMHeadModel`. Please check the
This class overrides :class:`~transformers.XLMWithLMHeadModel`. Please check the
superclass for the appropriate documentation alongside usage examples.
superclass for the appropriate documentation alongside usage examples.
"""
"""
config_class
=
FlaubertConfig
config_class
=
FlaubertConfig
pretrained_model_archive_map
=
FLAUBERT_PRETRAINED_MODEL_ARCHIVE_MAP
pretrained_model_archive_map
=
FLAUBERT_PRETRAINED_MODEL_ARCHIVE_MAP
...
@@ -329,6 +330,7 @@ class FlaubertForSequenceClassification(XLMForSequenceClassification):
...
@@ -329,6 +330,7 @@ class FlaubertForSequenceClassification(XLMForSequenceClassification):
This class overrides :class:`~transformers.XLMForSequenceClassification`. Please check the
This class overrides :class:`~transformers.XLMForSequenceClassification`. Please check the
superclass for the appropriate documentation alongside usage examples.
superclass for the appropriate documentation alongside usage examples.
"""
"""
config_class
=
FlaubertConfig
config_class
=
FlaubertConfig
pretrained_model_archive_map
=
FLAUBERT_PRETRAINED_MODEL_ARCHIVE_MAP
pretrained_model_archive_map
=
FLAUBERT_PRETRAINED_MODEL_ARCHIVE_MAP
...
@@ -348,6 +350,7 @@ class FlaubertForQuestionAnsweringSimple(XLMForQuestionAnsweringSimple):
...
@@ -348,6 +350,7 @@ class FlaubertForQuestionAnsweringSimple(XLMForQuestionAnsweringSimple):
This class overrides :class:`~transformers.XLMForQuestionAnsweringSimple`. Please check the
This class overrides :class:`~transformers.XLMForQuestionAnsweringSimple`. Please check the
superclass for the appropriate documentation alongside usage examples.
superclass for the appropriate documentation alongside usage examples.
"""
"""
config_class
=
FlaubertConfig
config_class
=
FlaubertConfig
pretrained_model_archive_map
=
FLAUBERT_PRETRAINED_MODEL_ARCHIVE_MAP
pretrained_model_archive_map
=
FLAUBERT_PRETRAINED_MODEL_ARCHIVE_MAP
...
@@ -367,6 +370,7 @@ class FlaubertForQuestionAnswering(XLMForQuestionAnswering):
...
@@ -367,6 +370,7 @@ class FlaubertForQuestionAnswering(XLMForQuestionAnswering):
This class overrides :class:`~transformers.XLMForQuestionAnswering`. Please check the
This class overrides :class:`~transformers.XLMForQuestionAnswering`. Please check the
superclass for the appropriate documentation alongside usage examples.
superclass for the appropriate documentation alongside usage examples.
"""
"""
config_class
=
FlaubertConfig
config_class
=
FlaubertConfig
pretrained_model_archive_map
=
FLAUBERT_PRETRAINED_MODEL_ARCHIVE_MAP
pretrained_model_archive_map
=
FLAUBERT_PRETRAINED_MODEL_ARCHIVE_MAP
...
...
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