Downloads · 30 days
0
toklens/fineweb_edu_12gb_tokenizer_split_on_whitespace
fineweb_edu_12gb_tokenizer_split_on_whitespace is a machine learning model from toklens. 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 ['fwedu'] data from Fineweb-2-HQ.
Downloads · 30 days
0
Access
Public
Updated Aug 17, 2026
Repo size
—
Likes
0
Public
Click a slice to open those files.
.json2.8 MB · 85%
From the Hugging Face model README
A Byte-Level BPE tokenizer trained on ['fw_edu'] data from Fineweb-2-HQ.
| Parameter | Value |
|---|---|
| Algorithm | Byte-Level BPE |
| Language | ['fw_edu'] |
| Target Vocab Size | 32,000 |
| Final Vocab Size | 32,000 |
| Pre-tokenizer | custom:_WS |
| Number handling | learned |
| Contraction handling | False |
| Normalizer | NFC |
| Special Tokens | <s>, </s>, <pad>, <unk> |
| Training Shards | 2, ['fineweb_edu_10bt.chunk.00.jsonl', 'fineweb_edu_10bt.chunk.01.jsonl'] |
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 |
|---|---|---|
Hello, world! 12345 This is a test. こんにちは | Hel, lo,, Ġ, world, !, Ġ, 123, 45, Ġ, This, Ġ, is, Ġ, a, Ġ, test., Ġ, ãģ, ĵ, ãĤ | 4082, 15644, 223, 812, 3, 223, 23512, 3536, 223, 519, 223, 271, 223, 67, 223, 9948, 223, 10115, 244, 17023 |
Command used to create this tokenizer:
['/home/gsa/tokenizers2/flexitok/tokenizer_training/train_tokenizers.py', 'algorithm=bpe', 'vocab_size=32_000', 'langs=[fw_edu]', 'data_dir=/scratch/gsa/data/toklens/tokenizer-training/', 'output_dir=/scratch/gsa/trained_tokenizers/toklens-whitespace', 'pretokenizer=custom:_WS', 'number_handling=learned', 'handle_contractions=false', 'unicode_normalization=nfc', 'use_byte_level_regex=false', 'strip_zero_width=false', 'max_lines=-1', 'hf.publish_to_hf=true', 'hf.hf_repo_id=toklens/fineweb_edu_12gb_tokenizer_whitespace', 'hf.collections=[toklens/fineweb2-hq-tokenizers,toklens/32_000-vocab]']