Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Commit

Permalink
test(tokenizer): byte-level is not plain byte-pair-encoding (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
fardeon authored Mar 9, 2023
1 parent b3cdb09 commit 902f3bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_tokenizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
class TestTokenizer:
"""Test stateful tokenizer for stream decoding."""

def test_byte_pair_encoding(self):
"""Test with Byte-Pair-Encoding."""
def test_byte_level_byte_pair_encoding(self):
"""Test with byte-level Byte-Pair-Encoding."""
tokenizer = AutoTokenizer.from_pretrained(
pretrained_model_name_or_path="./tests/data/tiny-random-bloom",
local_files_only=True,
Expand Down

0 comments on commit 902f3bd

Please sign in to comment.