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
e6219320
Unverified
Commit
e6219320
authored
Dec 08, 2021
by
Sylvain Gugger
Committed by
GitHub
Dec 08, 2021
Browse files
Make MLuke tokenizer tests slow (#14690)
parent
13186d71
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
tests/test_tokenization_mluke.py
tests/test_tokenization_mluke.py
+2
-0
No files found.
tests/test_tokenization_mluke.py
View file @
e6219320
...
...
@@ -23,6 +23,7 @@ from transformers.testing_utils import require_torch, slow
from
.test_tokenization_common
import
TokenizerTesterMixin
@
slow
class
MLukeTokenizerTest
(
TokenizerTesterMixin
,
unittest
.
TestCase
):
tokenizer_class
=
MLukeTokenizer
test_rust_tokenizer
=
False
...
...
@@ -196,6 +197,7 @@ class MLukeTokenizerTest(TokenizerTesterMixin, unittest.TestCase):
tokenizer
(
sentence
,
entity_spans
=
[
0
,
0
,
0
])
@
slow
@
require_torch
class
MLukeTokenizerIntegrationTests
(
unittest
.
TestCase
):
tokenizer_class
=
MLukeTokenizer
...
...
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