gsaltintas's picture
Upload folder using huggingface_hub
1d40baf verified
metadata
license: mit
language:
  - und
tags:
  - tokenizer
  - bpe
  - flexitok
  - fineweb2

Byte-Level BPE Tokenizer: numeric (0K)

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

Training Details

Parameter Value
Algorithm Byte-Level BPE
Language numeric
Target Vocab Size 17
Final Vocab Size 17
Pre-tokenizer byte_level
Number handling individual
Contraction handling False
Normalizer NONE
Special Tokens <s>, </s>, <pad>, <unk>
Training Shards 1

Usage

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

Text Tokens Token IDs
1234500119 mod 67 1, 2, 3, 4, 5, 0, 0, 1, 1, 9, , mod, , 6, 7 8, 9, 10, 11, 12, 7, 7, 8, 8, 16, 6, 4, 6, 13, 14