Skip to content

Commit

Permalink
Reverted the changes made by repo-consistancy
Browse files Browse the repository at this point in the history
  • Loading branch information
nileshkokane01 committed Dec 3, 2023
1 parent ceab41d commit 745eedf
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/models/rembert/test_tokenization_rembert.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ def test_get_vocab(self):
def test_vocab_size(self):
self.assertEqual(self.get_tokenizer().vocab_size, 1_000)

# Copied from ReformerTokenizationTest.test_full_tokenizer
def test_full_tokenizer(self):
tokenizer = RemBertTokenizer(SAMPLE_VOCAB, keep_accents=True)

Expand Down Expand Up @@ -152,7 +151,6 @@ def test_encode_decode_round_trip(self):
decode_text = tokenizer.convert_tokens_to_string(tokens)
self.assertEqual("Extra spaces and line breaks should be handled.", decode_text)

# Copied from AlbertTokenizationTest.test_sequence_builders
def test_sequence_builders(self):
tokenizer = RemBertTokenizer(SAMPLE_VOCAB)

Expand All @@ -167,7 +165,6 @@ def test_sequence_builders(self):
tokenizer.sep_token_id
]

# Copied from tests.test_tokenization_common.TokenizerTesterMixin.test_added_tokens_serialization
def test_added_tokens_serialization(self):
# Utility to test the added vocab
def _test_added_vocab_and_eos(expected, tokenizer_class, expected_eos, temp_dir):
Expand Down

0 comments on commit 745eedf

Please sign in to comment.