mirror of
https://github.com/mii443/tokenizers.git
synced 2025-12-07 13:18:31 +00:00
Customize the doc for each language
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
from tokenizers import Tokenizer
|
||||
|
||||
|
||||
# START load
|
||||
tokenizer = Tokenizer.from_file("data/roberta.json")
|
||||
# END load
|
||||
|
||||
example = "This is an example"
|
||||
ids = [713, 16, 41, 1246]
|
||||
|
||||
Reference in New Issue
Block a user