Downloads · 30 days
27
21% of all-time downloads
flexitok/mod-tokenizers-rtl_4digit
mod-tokenizers-rtl_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
27
21% of all-time downloads
All-time downloads
131
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 | rtl_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 | 1, 2350, 01, 19, , mod, , 67 | 8, 1699, 108, 25, 6, 4, 6, 53 |