Downloads · 30 days
0
ddh0/simple-tokenizer-5120
simple-tokenizer-5120 is a machine learning model from ddh0. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for transformers.
This is a simple PreTrainedTokenizerFast with 5120 tokens trained on a subset of karpathy/fineweb-edu-100b-shuffle, which is itself a subset of HuggingFaceFW/fineweb-edu.
Downloads · 30 days
0
Access
Public
Updated Oct 29, 2025
Repo size
—
Likes
0
Public
Click a slice to open those files.
.json339 KB · 99%
From the Hugging Face model README
This is a simple PreTrainedTokenizerFast with 5120 tokens trained on a subset of karpathy/fineweb-edu-100b-shuffle, which is itself a subset of HuggingFaceFW/fineweb-edu.
The tokenizer includes 6 special tokens:
class SpecialTokens:
PAD = 0
BOS = 1
EOS = 2
SYSTEM = 3
USER = 4
ASSISTANT = 5
special_tokens_map = {
"<|PAD|>": SpecialTokens.PAD,
"<|BOS|>": SpecialTokens.BOS,
"<|EOS|>": SpecialTokens.EOS,
"<|SYSTEM|>": SpecialTokens.SYSTEM,
"<|USER|>": SpecialTokens.USER,
"<|ASSISTANT|>": SpecialTokens.ASSISTANT
}