CoolFace
Modelpublic

flexitok/mod-tokenizers-ltr_5digit

sourceHugging Facemitupdated 7mo agoView on Hugging Face
0likes18downloads
Model Card

Byte-Level BPE Tokenizer: numeric (100K)

A Byte-Level BPE tokenizer trained on numeric data from Fineweb-2-HQ.

Training Details

ParameterValue
AlgorithmByte-Level BPE
Languagenumeric
Target Vocab Size100,007
Final Vocab Size100,007
Pre-tokenizerbyte_level
Number handlingltr_5digit
Contraction handlingFalse
NormalizerNONE
Special Tokens<s>, </s>, <pad>, <unk>
Training Shards1

Usage

python
from transformers import AutoTokenizer

tokenizer = AutoTokenizer.from_pretrained("None")
tokens = tokenizer.encode("Hello, world!")

Files

  • tokenizer.json — Full HuggingFace tokenizer
  • vocab.json — Vocabulary mapping
  • merges.txt — BPE merge rules

Sample Encoding

TextTokensToken IDs
123500119 mod 6712350, 01, 19, , mod, , 672420, 108, 25, 6, 4, 6, 53