Downloads · 30 days
31
22% of all-time downloads
flexitok/mod-tokenizers-ltr_2digit
mod-tokenizers-ltr_2digit 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
31
22% of all-time downloads
All-time downloads
141
Public
Parameters
3.5M
6.9 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors6.9 MB · 100%
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 | 107 |
| Final Vocab Size | 107 |
| Pre-tokenizer | byte_level |
| Number handling | ltr_2digit |
| 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 | 12, 35, 0, 0, 11, 9, , mod, , 67 | 19, 42, 7, 7, 18, 16, 6, 4, 6, 74 |