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
5c66378c
Unverified
Commit
5c66378c
authored
Oct 03, 2023
by
Lysandre Debut
Committed by
GitHub
Oct 03, 2023
Browse files
[Tokenizers] Skip tests temporarily (#26574)
* Skip tests temporarily * style * Add additional test
parent
2c7b26f5
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
0 deletions
+17
-0
tests/models/mbart/test_tokenization_mbart.py
tests/models/mbart/test_tokenization_mbart.py
+4
-0
tests/models/nllb/test_tokenization_nllb.py
tests/models/nllb/test_tokenization_nllb.py
+4
-0
tests/models/pegasus/test_tokenization_pegasus.py
tests/models/pegasus/test_tokenization_pegasus.py
+8
-0
tests/models/vits/test_modeling_vits.py
tests/models/vits/test_modeling_vits.py
+1
-0
No files found.
tests/models/mbart/test_tokenization_mbart.py
View file @
5c66378c
...
...
@@ -201,6 +201,10 @@ class MBartTokenizationTest(TokenizerTesterMixin, unittest.TestCase):
shutil
.
rmtree
(
tmpdirname2
)
@
unittest
.
skip
(
"Need to fix this after #26538"
)
def
test_training_new_tokenizer
(
self
):
pass
@
require_torch
@
require_sentencepiece
...
...
tests/models/nllb/test_tokenization_nllb.py
View file @
5c66378c
...
...
@@ -288,6 +288,10 @@ class NllbTokenizationTest(TokenizerTesterMixin, unittest.TestCase):
self
.
assertTrue
(
special_token_id
in
p_output
)
self
.
assertTrue
(
special_token_id
in
cr_output
)
@
unittest
.
skip
(
"Need to fix this after #26538"
)
def
test_training_new_tokenizer
(
self
):
pass
@
require_torch
@
require_sentencepiece
...
...
tests/models/pegasus/test_tokenization_pegasus.py
View file @
5c66378c
...
...
@@ -129,6 +129,14 @@ class PegasusTokenizationTest(TokenizerTesterMixin, unittest.TestCase):
revision
=
"ba85d0851d708441f91440d509690f1ab6353415"
,
)
@
unittest
.
skip
(
"Need to fix this after #26538"
)
def
test_training_new_tokenizer
(
self
):
pass
@
unittest
.
skip
(
"Need to fix this after #26538"
)
def
test_training_new_tokenizer_with_special_tokens_change
(
self
):
pass
@
require_sentencepiece
@
require_tokenizers
...
...
tests/models/vits/test_modeling_vits.py
View file @
5c66378c
...
...
@@ -176,6 +176,7 @@ class VitsModelTest(ModelTesterMixin, PipelineTesterMixin, unittest.TestCase):
def
test_config
(
self
):
self
.
config_tester
.
run_common_tests
()
@
unittest
.
skip
(
"Need to fix this after #26538"
)
def
test_model_forward
(
self
):
set_seed
(
12345
)
global_rng
.
seed
(
12345
)
...
...
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