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
0af8579b
Unverified
Commit
0af8579b
authored
Jul 12, 2021
by
Lysandre Debut
Committed by
GitHub
Jul 12, 2021
Browse files
Skip TestMarian_MT_EN (#12649)
* Skip TestMarian_MT_EN * Skip EN_ZH and EN_ROMANCE * Skip EN_ROMANCE pipeline
parent
a882b9fa
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
tests/test_modeling_tf_marian.py
tests/test_modeling_tf_marian.py
+4
-0
No files found.
tests/test_modeling_tf_marian.py
View file @
0af8579b
...
...
@@ -385,6 +385,7 @@ class TestMarian_MT_EN(AbstractMarianIntegrationTest):
src_text
=
[
"Billi messu b'mod ġentili, Ġesù fejjaq raġel li kien milqut bil - marda kerha tal - ġdiem."
]
expected_text
=
[
"Touching gently, Jesus healed a man who was affected by the sad disease of leprosy."
]
@
unittest
.
skip
(
"Skipping until #12647 is resolved."
)
@
slow
def
test_batch_generation_mt_en
(
self
):
self
.
_assert_generated_batch_equal_expected
()
...
...
@@ -399,6 +400,7 @@ class TestMarian_en_zh(AbstractMarianIntegrationTest):
src_text
=
[
"My name is Wolfgang and I live in Berlin"
]
expected_text
=
[
"我叫沃尔夫冈 我住在柏林"
]
@
unittest
.
skip
(
"Skipping until #12647 is resolved."
)
@
slow
def
test_batch_generation_en_zh
(
self
):
self
.
_assert_generated_batch_equal_expected
()
...
...
@@ -423,10 +425,12 @@ class TestMarian_en_ROMANCE(AbstractMarianIntegrationTest):
"Es dos años más viejo que yo."
,
]
@
unittest
.
skip
(
"Skipping until #12647 is resolved."
)
@
slow
def
test_batch_generation_en_ROMANCE_multi
(
self
):
self
.
_assert_generated_batch_equal_expected
()
@
unittest
.
skip
(
"Skipping until #12647 is resolved."
)
@
slow
def
test_pipeline
(
self
):
pipeline
=
TranslationPipeline
(
self
.
model
,
self
.
tokenizer
,
framework
=
"tf"
)
...
...
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