Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
yhavinga
/
dutch-tokenizer-arena
like
7
Running
App
Files
Files
Community
1
Fetching metadata from the HF Docker repository...
main
dutch-tokenizer-arena
/
vocab
/
glm_chinese
/
test.py
xu-song
add compress rate
814ee6b
10 months ago
raw
Copy download link
history
blame
contribute
delete
Safe
115 Bytes
from
vocab.glm_chinese
import
tokenizer
print
(tokenizer.decode([
20
]))
vocab = tokenizer.get_vocab()
print
(vocab)