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
644ec052
"vscode:/vscode.git/clone" did not exist on "68be1d3c1698eede18a4dc62e5c81814546a766b"
Commit
644ec052
authored
Feb 09, 2022
by
Sylvain Gugger
Browse files
Make slow tests slow
parent
c722753a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
tests/test_tokenization_fnet.py
tests/test_tokenization_fnet.py
+8
-0
No files found.
tests/test_tokenization_fnet.py
View file @
644ec052
...
...
@@ -411,6 +411,14 @@ class FNetTokenizationTest(TokenizerTesterMixin, unittest.TestCase):
self
.
assert_batch_padded_input_match
(
input_r
,
input_p
,
max_length
,
pad_token_id
)
@
slow
def
test_save_pretrained
(
self
):
super
().
test_save_pretrained
()
@
slow
def
test_save_slow_from_fast_and_reload_fast
(
self
):
super
().
test_save_slow_from_fast_and_reload_fast
()
def
assert_batch_padded_input_match
(
self
,
input_r
:
dict
,
...
...
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