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
34ae5bf8
"web/git@developer.sourcefind.cn:chenpangpang/ComfyUI.git" did not exist on "1e6b67101cad777319e891afce3c7120e0dc1273"
Commit
34ae5bf8
authored
Apr 17, 2019
by
thomwolf
Browse files
small clean up in tests
parent
23d4554e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
tests/tokenization_gpt2_test.py
tests/tokenization_gpt2_test.py
+0
-1
No files found.
tests/tokenization_gpt2_test.py
View file @
34ae5bf8
...
@@ -40,7 +40,6 @@ class GPT2TokenizationTest(unittest.TestCase):
...
@@ -40,7 +40,6 @@ class GPT2TokenizationTest(unittest.TestCase):
merges_file
=
fp
.
name
merges_file
=
fp
.
name
tokenizer
=
GPT2Tokenizer
(
vocab_file
,
merges_file
,
special_tokens
=
[
"<unk>"
,
"<pad>"
])
tokenizer
=
GPT2Tokenizer
(
vocab_file
,
merges_file
,
special_tokens
=
[
"<unk>"
,
"<pad>"
])
print
(
"encoder"
,
tokenizer
.
byte_encoder
)
os
.
remove
(
vocab_file
)
os
.
remove
(
vocab_file
)
os
.
remove
(
merges_file
)
os
.
remove
(
merges_file
)
...
...
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