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
e615269c
Commit
e615269c
authored
Feb 03, 2020
by
Lysandre
Committed by
Lysandre Debut
Feb 04, 2020
Browse files
Correct slow test
parent
5f96ebc0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/test_modeling_flaubert.py
tests/test_modeling_flaubert.py
+1
-1
No files found.
tests/test_modeling_flaubert.py
View file @
e615269c
...
...
@@ -387,6 +387,6 @@ class FlaubertModelTest(ModelTesterMixin, unittest.TestCase):
@
slow
def
test_model_from_pretrained
(
self
):
for
model_name
in
list
(
F
laubert
_PRETRAINED_MODEL_ARCHIVE_MAP
.
keys
())[:
1
]:
for
model_name
in
list
(
F
LAUBERT
_PRETRAINED_MODEL_ARCHIVE_MAP
.
keys
())[:
1
]:
model
=
FlaubertModel
.
from_pretrained
(
model_name
,
cache_dir
=
CACHE_DIR
)
self
.
assertIsNotNone
(
model
)
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