Unverified Commit f3a1efd1 authored by Sylvain Gugger's avatar Sylvain Gugger
Browse files

Skip failing test

parent 624ae09f
...@@ -409,7 +409,7 @@ class PLBartBaseIntegrationTest(AbstractSeq2SeqIntegrationTest): ...@@ -409,7 +409,7 @@ class PLBartBaseIntegrationTest(AbstractSeq2SeqIntegrationTest):
src_text = ["Is 0 the first Fibonacci number ?", "Find the sum of all prime numbers ."] src_text = ["Is 0 the first Fibonacci number ?", "Find the sum of all prime numbers ."]
tgt_text = ["0 the first Fibonacci number?", "the sum of all prime numbers.......... the the"] tgt_text = ["0 the first Fibonacci number?", "the sum of all prime numbers.......... the the"]
# @unittest.skip("This test is broken, still generates english") @unittest.skip("This test is broken, fix me gante")
def test_base_generate(self): def test_base_generate(self):
inputs = self.tokenizer([self.src_text[0]], return_tensors="pt").to(torch_device) inputs = self.tokenizer([self.src_text[0]], return_tensors="pt").to(torch_device)
translated_tokens = self.model.generate( translated_tokens = self.model.generate(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment