TharuChat: Bootstrapping Large Language Models for a Low-Resource Language via Synthetic Data and Human Validation
Organizations: School of Computer Engineering, KIIT Deemed to be University, Bhubaneswar, India
Abstract
The rapid proliferation of Large Language Models (LLMs) has created a profound digital divide, effectively excluding indigenous languages of the Global South from the AI revolution. The Tharu language, an Indo-Aryan vernacular spoken by approximately 1.7 million people across the Terai belt of Nepal and India, exemplifies this crisis. Despite a rich oral tradition, Tharu suffers from severe data scarcity and linguistic fragmentation, causing state-of-the-art multilingual models to routinely "hallucinate" or default to dominant high-resource neighbors like Hindi and Nepali due to contamination in pre-training corpora. This paper presents Tharu-LLaMA (3B), a specialized instruction-following model designed to address this exclusion. We introduce TharuChat, a novel dataset constructed via a LLM-to-Human bootstrapping pipeline. We utilized prompt-engineered Gemini models, fed with Rana Tharu grammar and folklore, to synthesize training data. Unlike curated gold-standard corpora, TharuChat reflects the noisy, heterogeneous linguistic reality of the region: it is predominantly anchored in Rana Tharu (~70%) while integrating elements of Dangaura and Kochila dialects. We provide a transparent analysis of the dataset's limitations, including dialectal code-mixing and residual Awadhi/Hindi influence. Through a rigorous empirical ablation study, we demonstrate that despite these imperfections, small-scale synthetic data is highly effective, increasing the dataset volume from 25% to 100% results in a linear reduction in perplexity from 6.42 to 2.88. The resulting model serves as a proof-of-concept for the preservation of under-resourced Himalayan languages via generative AI, achievable on consumer-grade hardware.
Figures & tables
| Data % | Samples | Train Loss | Val Loss | PPL |
|---|---|---|---|---|
| Base Model | 0 | - | - | |
| 25% | 779 | 1.0815 | 1.8592 | 6.42 |
| 50% | 1,558 | 0.8364 | 1.4658 | 4.33 |
| 75% | 2,337 | 0.6652 | 1.2241 | 3.40 |
| 100% | 3,116 | 0.6066 | 1.0571 | 2.88 |
Appendix figures & tables1 asset
Supplementary material from the paper’s appendix.
Appendix
| Hyperparameter | Value |
|---|---|
| Base Model | Llama-3.2-3B-Instruct |
| Precision | fp16 (Mixed Precision) |
| Optimizer | AdamW |
| Learning Rate | |
| LR Scheduler | Linear Decay |
| Num Epochs | 3 |