--- license: mit language: - ind tags: - tokenizer - bpe - flexitok - fineweb2 --- # Byte-Level BPE Tokenizer: ['ind_Latn'] (2K) A **Byte-Level BPE** tokenizer trained on **['ind_Latn']** data from Fineweb-2-HQ. ## Training Details | Parameter | Value | |-----------|-------| | Algorithm | Byte-Level BPE | | Language | `['ind_Latn']` | | Target Vocab Size | 2,000 | | Final Vocab Size | 308 | | Pre-tokenizer | custom:addition | | Number handling | ltr_3digit | | Contraction handling | False | | Normalizer | NFC | | Special Tokens | ``, ``, ``, `` | | Training Shards | 2 | ## Usage ```python from transformers import AutoTokenizer tokenizer = AutoTokenizer.from_pretrained("flexitok/maddition_ind_Latn_2000") 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 | |------|--------|-----------| | `yirmi iki+dokuz=otuz bir\ntwenty two+nine=thirty one` | `y, i, r, m, i, Ġ, i, k, i, +, d, o, k, u, z, =, o, tu, z, Ġ` | `91, 75, 84, 79, 75, 223, 75, 77, 75, 3, 70, 81, 77, 87, 92, 4, 81, 284, 92, 223` |