Views
No views yet
NjeriKahoro/thiomi-multilingual-text dataset. Performance may vary on highly specialized legal, financial, or ancient idiomatic texts.| Training Loss | Epoch | Step | Validation Loss | Chrf | Bleu |
|---|---|---|---|---|---|
| 58.2375 | 1.0 | 341 | 1.6319 | 45.1751 | 18.9449 |
| 52.3836 | 2.0 | 682 | 1.5796 | 45.9867 | 19.8886 |
| 50.1786 | 3.0 | 1023 | 1.5709 | 46.2552 | 20.0191 |
kik_Latn for Kikuyu and eng_Latn for English) for proper target token routing.pipeline API (Recommended)1from transformers import pipeline
2
3model_id = "NjeriKahoro/nllb-200-Thiomi-Kik-Eng"
4
5# English to Kikuyu
6en_to_ki = pipeline("translation", model=model_id, src_lang="eng_Latn", tgt_lang="kik_Latn", device=0)
7print(en_to_ki("Hello, how are you?")[0]['translation_text'])
8
9# Kikuyu to English
10ki_to_en = pipeline("translation", model=model_id, src_lang="kik_Latn", tgt_lang="eng_Latn", device=0)
11print(ki_to_en("Wĩ mwega?")[0]['translation_text'])
12