Views
No views yet
| Model | Tokenizer Length | Parameter Count |
|---|---|---|
lutfiy | 256,204 | 615M |
lutfiy library for fixing ZWNJpip install lutfiy1from lutfiy import fix_zwnj
2from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
3
4model_ckpt = "tahrirchi/lutfiy"
5
6tokenizer = AutoTokenizer.from_pretrained(model_ckpt)
7model = AutoModelForSeq2SeqLM.from_pretrained(model_ckpt)
8
9# Example translation
10input_text = "O'zbekiston kelajagi buyuk davlatdir."
11
12tokenizer.src_lang = "uzn_Latn"
13tokenizer.tgt_lang = "uzs_Arab"
14
15inputs = tokenizer(input_text, return_tensors="pt")
16outputs = model.generate(**inputs)
17translated_text = tokenizer.decode(outputs[0], skip_special_tokens=True)
18print(fix_zwnj(translated_text)) # اۉزبېکستان کېلهجگی بویوک دولت دیر.
191@misc{mamasaidov2025fillinggapuzbekcreating,
2 title={Filling the Gap for Uzbek: Creating Translation Resources for Southern Uzbek},
3 author={Mukhammadsaid Mamasaidov and Azizullah Aral and Abror Shopulatov and Mironshoh Inomjonov},
4 year={2025},
5 eprint={2508.14586},
6 archivePrefix={arXiv},
7 primaryClass={cs.CL},
8 url={https://arxiv.org/abs/2508.14586},
9}