[Paper Review] Qalb: Largest State-of-the-Art Urdu Large Language Model for 230M Speakers with Systematic Continued Pre-training
Qalb extends LLaMA-3.1 8B with continued pre-training on 1.97B tokens of Urdu (plus 140M English) and instruction fine-tuning, achieving state-of-the-art Urdu performance across seven tasks with a 90.34 weighted average.
Despite remarkable progress in large language models, Urdu-a language spoken by over 230 million people-remains critically underrepresented in modern NLP systems. Existing multilingual models demonstrate poor performance on Urdu-specific tasks, struggling with the language's complex morphology, right-to-left Nastaliq script, and rich literary traditions. Even the base LLaMA-3.1 8B-Instruct model shows limited capability in generating fluent, contextually appropriate Urdu text. We introduce Qalb, an Urdu language model developed through a two-stage approach: continued pre-training followed by supervised fine-tuning. Starting from LLaMA 3.1 8B, we perform continued pre-training on a dataset of 1.97 billion tokens. This corpus comprises 1.84 billion tokens of diverse Urdu text-spanning news archives, classical and contemporary literature, government documents, and social media-combined with 140 million tokens of English Wikipedia data to prevent catastrophic forgetting. We then fine-tune the resulting model on the Alif Urdu-instruct dataset. Through extensive evaluation on Urdu-specific benchmarks, Qalb demonstrates substantial improvements, achieving a weighted average score of 90.34 and outperforming the previous state-of-the-art Alif-1.0-Instruct model (87.1) by 3.24 points, while also surpassing the base LLaMA-3.1 8B-Instruct model by 44.64 points. Qalb achieves state-of-the-art performance with comprehensive evaluation across seven diverse tasks including Classification, Sentiment Analysis, and Reasoning. Our results demonstrate that continued pre-training on diverse, high-quality language data, combined with targeted instruction fine-tuning, effectively adapts foundation models to low-resource languages.
Motivation & Objective
- Motivate improved Urdu NLP by addressing underrepresentation in LLMs for a language spoken by 230M+ users.
- Demonstrate the effectiveness of continued pre-training on a large, diverse Urdu corpus.
- Show that subsequent instruction fine-tuning yields strong Urdu task performance.
- Provide a reproducible methodology for adapting foundation models to low-resource languages.
Proposed method
- Curate a large, diverse Urdu corpus (1.84B Urdu tokens) plus 140M English tokens to mitigate forgetting.
- Perform continued pre-training from LLaMA-3.1 8B using LoRA to update ~1.18B parameters (14.72%).
- Train with bfloat16, AdamW-8bit, cosine schedule, and 128 LoRA rank across all linear/embedding layers.
- Fine-tune the continued model on Alif Urdu-instruct data with 2 epochs using a system-user-assistant prompt format.
- Evaluate via GPT-4o-based automatic judging across seven Urdu tasks, with human validation for reliability.
Experimental results
Research questions
- RQ1Can continued pre-training on large, high-quality Urdu data substantially improve base multilingual/Urdu models?
- RQ2Does instruction fine-tuning after continued pre-training yield state-of-the-art Urdu task performance across diverse benchmarks?
- RQ3What is the impact of mixing Urdu data with English (replay buffer) on retaining general reasoning and English capabilities?
Key findings
- Qalb achieves a weighted average score of 90.34 on Urdu benchmarks, beating Alif-1.0-Instruct (87.1) by 3.24 points.
- Qalb improves over the base LLaMA-3.1 8B-Instruct by 44.64 points (90.34 vs 45.7).
- Qalb outperforms Alif on 6 of 7 tasks (largest gains in QA, Translation, and Reasoning).
- 4-bit quantized Qalb retains about 86.02 weighted average with 95% of performance and ~25% memory footprint.
- Compared to Lughaat on four overlapping tasks, Qalb shows competitive performance (averages: 89.95 vs 90.43 across four).
- Qualitative analysis shows strong instruction adherence and concise responses, with minor signature hallucinations.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.