--- license: mit language: - ces # ISO 639-3 code or "und" if not identifiable tags: - tokenizer - bpe - flexitok - fineweb2 --- # Byte-Level BPE Tokenizer: ces_Latn (16K) A **Byte-Level BPE** tokenizer trained on **ces_Latn** data from Fineweb-2-HQ. ## Training Details | Parameter | Value | |-----------|-------| | Algorithm | Byte-Level BPE | | Language | `ces_Latn` | | Target Vocab Size | 16,000 | | Final Vocab Size | 16,968 | | Pre-tokenizer | custom:ces_Latn | | Number handling | ltr_3digit | | Contraction handling | True | | Normalizer | NFC | | Special Tokens | ``, ``, ``, `` | | Training Shards | 2 | ## Usage ```python from transformers import AutoTokenizer tokenizer = AutoTokenizer.from_pretrained("flexitok/bpe_script_Slav_16000") 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 | |------|--------|-----------| | `Hello, world! 12345 This is a test. こんにちは` | `H, el, lo, ,, Ġw, orld, !, Ġ, 123, 45, ĠT, his, Ġis, Ġa, Ġtest, ., Ġ, ãģ, ĵ, ã` | `42, 632, 309, 14, 979, 7600, 3, 223, 16023, 4157, 390, 6444, 2780, 272, 2445, 16, 223, 9188, 244, 162` |