Qalb:面向2.3亿使用者的最先进的乌尔都语大型语言模型,采用系统性持续预训练
Qalb: Largest State-of-the-Art Urdu Large Language Model for 230M Speakers with Systematic Continued Pre-training
AI总结:
Qalb通过持续预训练和监督微调,为乌尔都语构建了最先进的大型语言模型,显著提升了在多种任务上的性能。
摘要:
尽管在大型语言模型方面取得了显著进展,但乌尔都语——一种被超过2.3亿人使用的语言——在现代自然语言处理系统中仍然严重代表性不足。现有多语言模型在乌尔都语特定任务上表现不佳,难以应对该语言复杂的形态学、从右到左的纳斯塔利克字体以及丰富的文学传统。即使基础的LLaMA-3.1 8B-Instruct模型在生成流畅且上下文合适的乌尔都语文本方面也显得能力有限。我们介绍了Qalb,一种通过两阶段方法开发的乌尔都语模型:持续预训练后接监督微调。从LLaMA 3.1 8B开始,我们在包含19.7亿个标记的数据集上进行持续预训练。该语料库包含18.4亿个标记的多样化的乌尔都语文本——涵盖新闻档案、古典和当代文学、政府文件和社会媒体——并结合1.4亿个标记的英文维基百科数据以防止灾难性遗忘。然后我们对所得模型在Alif Urdu-instruct数据集上进行微调。通过在乌尔都语特定基准上的广泛评估,Qalb显示出显著的改进,实现了加权平均得分为90.34,并在多个方面超越了先前的最先进的Alif-1.0-Instruct模型(87.1)和基础LLaMA-3.1 8B-Instruct模型。Qalb在包括分类、情感分析和推理在内的七种多样化任务上实现了最先进的性能。我们的结果表明,对多样、高质量语言数据进行持续预训练,结合有针对性的指令微调,可以有效地将基础模型适应于低资源语言。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。