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
c6f682c1
Commit
c6f682c1
authored
Jan 11, 2020
by
Julien Chaumond
Browse files
flake
parent
4d1c98c0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
tests/test_modeling_common.py
tests/test_modeling_common.py
+0
-2
tests/test_tokenization_auto.py
tests/test_tokenization_auto.py
+1
-1
No files found.
tests/test_modeling_common.py
View file @
c6f682c1
...
@@ -15,13 +15,11 @@
...
@@ -15,13 +15,11 @@
import
copy
import
copy
import
json
import
logging
import
logging
import
os.path
import
os.path
import
random
import
random
import
tempfile
import
tempfile
import
unittest
import
unittest
import
uuid
from
transformers
import
is_torch_available
from
transformers
import
is_torch_available
...
...
tests/test_tokenization_auto.py
View file @
c6f682c1
...
@@ -25,7 +25,7 @@ from transformers import (
...
@@ -25,7 +25,7 @@ from transformers import (
GPT2Tokenizer
,
GPT2Tokenizer
,
)
)
from
.utils
import
SMALL_MODEL_IDENTIFIER
,
slow
from
.utils
import
SMALL_MODEL_IDENTIFIER
,
slow
# noqa: F401
class
AutoTokenizerTest
(
unittest
.
TestCase
):
class
AutoTokenizerTest
(
unittest
.
TestCase
):
...
...
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