From a6938c4721491d681b5520ea0611ceed56e74f22 Mon Sep 17 00:00:00 2001 From: Lysandre Debut Date: Tue, 13 Jul 2021 08:53:06 +0200 Subject: [PATCH] Patch BigBird tokenization test (#12653) --- tests/test_tokenization_big_bird.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_tokenization_big_bird.py b/tests/test_tokenization_big_bird.py index 9c933ade97..c4c7e5862a 100644 --- a/tests/test_tokenization_big_bird.py +++ b/tests/test_tokenization_big_bird.py @@ -220,7 +220,7 @@ class BigBirdTokenizationTest(TokenizerTesterMixin, unittest.TestCase): tokenizer = BigBirdTokenizer.from_pretrained("google/bigbird-roberta-base") decoded_text = tokenizer.decode(tokenizer("Paris is the [MASK].").input_ids) - self.assertTrue(decoded_text == "[CLS] Paris is the [MASK].[SEP]") + self.assertTrue(decoded_text == "[CLS] Paris is the[MASK].[SEP]") @slow def test_tokenizer_integration(self):