fineweb2-hq-tokenizers-v2
Collection
182 items • Updated
A Byte-Level BPE tokenizer trained on nld_Latn data from Fineweb-2-HQ.
| Parameter | Value |
|---|---|
| Algorithm | Byte-Level BPE |
| Language | nld_Latn |
| Target Vocab Size | 1,000 |
| Final Vocab Size | 2,094 |
| Pre-tokenizer | custom:nld_Latn |
| Number handling | ltr_3digit |
| Contraction handling | True |
| Normalizer | NFC |
| Special Tokens | <s>, </s>, <pad>, <unk> |
| Training Shards | 2 |
from transformers import AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("flexitok/bpe_ltr_nld_Latn_1000_v2")
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. こんにちは |
H, ell, o, ,, Ġwor, l, d, !, Ġ, 123, 45, ĠT, h, is, Ġis, Ġa, Ġte, st, ., Ġ |
42, 589, 81, 14, 364, 78, 70, 3, 223, 1686, 1073, 423, 74, 286, 318, 285, 307, 272, 16, 223 |