Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
xu-song
/
tokenizer-arena
like
56
Running
App
Files
Files
Community
1
aa0c637
tokenizer-arena
/
vocab
/
baichuan
/
demo.py
xu-song
add more tokenizers
f4973d4
11 months ago
raw
Copy download link
history
blame
Safe
106 Bytes
from
vocab.baichuan
import
tokenizer
id1 = tokenizer.encode(
"<pad>"
)
token1 = tokenizer.decode(
125696
)