UrduLM: 一种资源高效的单语乌尔都语语言模型
UrduLM: A Resource-Efficient Monolingual Urdu Language Model
AI总结:
UrduLM是一种高效的单语乌尔都语语言模型,通过低资源预训练和定制分词器,在少样本条件下达到与多语言模型相当的性能,为乌尔都语NLP研究提供基准和框架。
摘要:
乌尔都语由全球2.3亿人使用,缺乏专门的基于transformer的语言模型和经过精心挑选的语料库。虽然多语言模型提供有限的乌尔都语支持,但它们由于训练数据不足而表现出性能差、计算成本高和文化不准确的问题。为了解决这些挑战,我们提出了UrduLM,一种在低资源环境下预训练的单语乌尔都语语言模型。我们从多样来源中整理出33GB的乌尔都语语料库,开发了一种定制的BPE分词器,该分词器将分词开销减少了至少20-30% compared to多语言替代方案,并预训练了一个1亿参数的解码器-only模型。在少样本评估中,UrduLM在与多语言模型相比,达到30倍大小时仍能取得竞争性的性能,达到66.6%的情感分类准确率,并在语法修正任务中BLEU分数超过30。完整的方法论--包括语料库、分词器、模型权重和评估基准--已公开发布,以建立乌尔都语NLP研究的基准,并为其他不被重视的语言提供可扩展的框架。
英文摘要:
Urdu, spoken by 230 million people worldwide, lacks dedicated transformer-based language models and curated corpora. While multilingual models provide limited Urdu support, they suffer from poor performance, high computational costs, and cultural inaccuracies due to insufficient training data. To address these challenges, we present UrduLM, a pretrained Urdu monolingual language model trained in low-resource settings. We curate a 33GB Urdu corpus from diverse sources, develop a custom BPE tokenizer that reduces tokenization overhead by atleast 20-30% compared to multilingual alternatives, and pretrain a 100M-parameter decoder-only model. In few-shot evaluations, UrduLM achieves competitive performance with multilingual models up to 30x its size, reaching 66.6% accuracy on sentiment classification and BLEU scores exceeding 30 on grammar correction tasks. The complete methodology -- including corpus, tokenizer, model weights, and evaluation benchmarks -- is released openly to establish a baseline for Urdu NLP research and provide a scalable framework for other underrepresented languages.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。