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
4fa0aff2
Unverified
Commit
4fa0aff2
authored
Sep 05, 2023
by
Arthur
Committed by
GitHub
Sep 05, 2023
Browse files
[`VITS`] tokenizer integration test: fix revision did not exist (#25996)
* revision did not exist * correct revision
parent
d0354e5e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/models/vits/test_tokenization_vits.py
tests/models/vits/test_tokenization_vits.py
+1
-1
No files found.
tests/models/vits/test_tokenization_vits.py
View file @
4fa0aff2
...
@@ -174,7 +174,7 @@ class VitsTokenizerTest(TokenizerTesterMixin, unittest.TestCase):
...
@@ -174,7 +174,7 @@ class VitsTokenizerTest(TokenizerTesterMixin, unittest.TestCase):
for
tokenizer_class
in
tokenizer_classes
:
for
tokenizer_class
in
tokenizer_classes
:
tokenizer
=
tokenizer_class
.
from_pretrained
(
tokenizer
=
tokenizer_class
.
from_pretrained
(
"facebook/mms-tts-eng"
,
"facebook/mms-tts-eng"
,
revision
=
"
d188a254c84ae6cfd24deb7a8f5c0c1d349d7d9f
"
,
# to pin the tokenizer version
revision
=
"
089bbb15da46b2ab2b282145941399aae353d917
"
,
# to pin the tokenizer version
)
)
encoding
=
tokenizer
(
sequences
,
padding
=
True
,
normalize
=
True
)
encoding
=
tokenizer
(
sequences
,
padding
=
True
,
normalize
=
True
)
...
...
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