Downloads · 30 days
28
28% of all-time downloads
flexitok/mod-tokenizers-ltr_4digit
mod-tokenizers-ltr_4digit is a machine learning model from flexitok. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
A Byte-Level BPE tokenizer trained on numeric data from Fineweb-2-HQ.
Downloads · 30 days
28
28% of all-time downloads
All-time downloads
101
Public
Parameters
8.5M
17.1 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors17.1 MB · 93%
From the Hugging Face model README
A Byte-Level BPE tokenizer trained on numeric data from Fineweb-2-HQ.
| Parameter | Value |
|---|---|
| Algorithm | Byte-Level BPE |
| Language | numeric |
| Target Vocab Size | 10,007 |
| Final Vocab Size | 10,007 |
| Pre-tokenizer | byte_level |
| Number handling | ltr_4digit |
| Contraction handling | False |
| Normalizer | NONE |
| Special Tokens | <s>, </s>, <pad>, <unk> |
| Training Shards | 1 |
from transformers import AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("None")
tokens = tokenizer.encode("Hello, world!")
tokenizer.json — Full HuggingFace tokenizervocab.json — Vocabulary mappingmerges.txt — BPE merge rules| Text | Tokens | Token IDs |
|---|---|---|
123500119 mod 67 | 1235, 00, 11, 9, , mod, , 67 | 698, 107, 72, 16, 6, 4, 6, 53 |