CoolFace
Modelpublic

flexitok/mod-tokenizers-ltr_2digit

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

Byte-Level BPE Tokenizer: numeric (0K)

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

Training Details

ParameterValue
AlgorithmByte-Level BPE
Languagenumeric
Target Vocab Size107
Final Vocab Size107
Pre-tokenizerbyte_level
Number handlingltr_2digit
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 6712, 35, 0, 0, 11, 9, , mod, , 6719, 42, 7, 7, 18, 16, 6, 4, 6, 74