Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
eson
/
tokenizer-arena
like
51
Running
App
Files
Files
Community
1
7d2062e
tokenizer-arena
/
vocab
/
gpt_4
/
test.py
eson
update
751936e
10 months ago
raw
history
blame
No virus
91 Bytes
"""
详见 gpt_35_turbo
"""
import
tiktoken
enc = tiktoken.encoding_for_model(
"gpt-4"
)