Skip to content

Commit

Permalink
Patch BigBird tokenization test (#12653)
Browse files Browse the repository at this point in the history
  • Loading branch information
LysandreJik authored Jul 13, 2021
1 parent c523b24 commit a6938c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_tokenization_big_bird.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ def test_special_tokens(self):
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):
Expand Down

0 comments on commit a6938c4

Please sign in to comment.