Views
No views yet
kas) trained on
KS-LIT-3M, a 3.1M-word literary corpus. Released as part of the
KashTok study (Malik et al., 2026), the first systematic
linguist-verified tokenization comparison for Kashmiri.1from transformers import AutoTokenizer
2tokenizer = AutoTokenizer.from_pretrained("Omarrran/Kashmiri_Char_Tokenizer")
3
4text = "کٲشِر زَبان چھِیہٕ خٲص زَبان"
5encoding = tokenizer(text, return_tensors="pt")
6print(tokenizer.tokenize(text))
7print(encoding.input_ids)| Property | Value |
|---|---|
| Tokenizer type | Character |
| Vocabulary size | 133 |
| Training corpus | KS-LIT-3M (2.47M words, 129,672 train segments) |
| Special tokens | [PAD] [UNK] [CLS] [SEP] [MASK] |
| Max sequence length | 512 |
| Pre-tokenization | NFC + KS_CHAR_MAP normalization |
| Metric | Value |
|---|---|
| Composite Quality Score (CQS) | 0.3107 |
| Fertility (↓ better) | 5.2453 |
| Diacritic Preservation Score (↑) | 0.0000 |
| Morphological Boundary Alignment (↑) | 0.2104 |
| Out-of-Vocabulary rate (↓) | 0.0000 |
| Reconstruction (char-level, ↑) | N/A |
1@article{malik2026kashtok,
2 title = {KashTok: Tokenizing Kashmiri at Scale with Novel
3 Diacritic- and Morphology-Aware Metrics},
4 author = {Malik, Haq Nawaz and Nissar, Nahfid and others},
5 year = {2026}
6}