mirror of
https://github.com/mii443/tokenizers.git
synced 2025-12-04 19:58:21 +00:00
Upgrading to black 20.8b1
This commit is contained in:
committed by
Anthony MOI
parent
dc1d0711cf
commit
a410903051
@@ -65,7 +65,10 @@ class TestByteLevelBPE:
|
||||
|
||||
def test_lowerspace(self, roberta_files):
|
||||
tokenizer = ByteLevelBPETokenizer.from_file(
|
||||
roberta_files["vocab"], roberta_files["merges"], add_prefix_space=True, lowercase=True,
|
||||
roberta_files["vocab"],
|
||||
roberta_files["merges"],
|
||||
add_prefix_space=True,
|
||||
lowercase=True,
|
||||
)
|
||||
output = tokenizer.encode("The Quick Brown Fox Jumps Over The Lazy Dog")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user