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
0187c6f0
"git@developer.sourcefind.cn:hehl2/torchaudio.git" did not exist on "37e194f48a56723b4bc8d9e9674236cc7f90db3c"
Unverified
Commit
0187c6f0
authored
Feb 21, 2022
by
SaulLu
Committed by
GitHub
Feb 21, 2022
Browse files
revert temporary addition to test next version of CLIPTokenizerFast (#15717)
parent
3956b133
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
tests/test_tokenization_clip.py
tests/test_tokenization_clip.py
+0
-2
No files found.
tests/test_tokenization_clip.py
View file @
0187c6f0
...
...
@@ -36,8 +36,6 @@ class CLIPTokenizationTest(TokenizerTesterMixin, unittest.TestCase):
def
setUp
(
self
):
super
().
setUp
()
# temporary addition: to test the new slow to fast converter
self
.
tokenizers_list
=
[(
CLIPTokenizerFast
,
"SaulLu/clip-vit-base-patch32"
,
{})]
# fmt: off
vocab
=
[
"l"
,
"o"
,
"w"
,
"e"
,
"r"
,
"s"
,
"t"
,
"i"
,
"d"
,
"n"
,
"lo"
,
"l</w>"
,
"w</w>"
,
"r</w>"
,
"t</w>"
,
"low</w>"
,
"er</w>"
,
"lowest</w>"
,
"newer</w>"
,
"wider"
,
"<unk>"
,
"<|startoftext|>"
,
"<|endoftext|>"
]
...
...
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