arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.05845cs.CLcs.AIcs.LG
收藏

Tamil-Llama:基于 Llama 2 的新型泰米尔语语言模型

Tamil-Llama: A New Tamil Language Model Based on Llama 2

Abhinand Balachandran

AI总结:

本文提出 Tamil-Llama,通过向 LLaMA 模型添加 16,000 个泰米尔语词元并采用 LoRA 高效训练,显著提升了泰米尔语文本生成与理解性能。

摘要:

近年来,语言建模取得了显著进展,像 ChatGPT 这样的大型语言模型(LLM)在类人文本生成方面树立了无与伦比的基准。然而,一个普遍存在的局限是,在这些前沿模型中,泰米尔语等语言的代表性不足,导致在不同语言环境中的性能欠佳。本文针对这一空白,通过增加 16,000 个泰米尔语词元来增强开源 LLaMA 模型,旨在实现泰米尔语中更优的文本生成和理解能力。我们策略性地采用 LoRA 方法,在全面的泰米尔语语料库上进行高效模型训练,确保计算可行性和模型鲁棒性。此外,我们引入了 Alpaca 数据集的泰米尔语翻译版本,以及专为指令微调定制的 OpenOrca 数据集子集。我们的结果展示了泰米尔语文本生成的显著性能提升,并对印度语言中 LLM 的更广阔前景具有潜在影响。我们进一步强调对开放研究的承诺,公开提供我们的模型、数据集和代码,以促进语言建模领域的进一步创新。

英文摘要:

Language modeling has witnessed remarkable advancements in recent years, with Large Language Models (LLMs) like ChatGPT setting unparalleled benchmarks in human-like text generation. However, a prevailing limitation is the underrepresentation of languages like Tamil in these cutting-edge models, leading to suboptimal performance in diverse linguistic contexts. This paper addresses this lacuna, enhancing the open-source LLaMA model with an addition of 16,000 Tamil tokens, aiming to achieve superior text generation and comprehension in the Tamil language. We strategically employ the LoRA methodology for efficient model training on a comprehensive Tamil corpus, ensuring computational feasibility and model robustness. Moreover, we introduce a Tamil-translated version of the Alpaca dataset and a subset of the OpenOrca dataset tailored for instruction fine-tuning. Our results showcase significant performance improvements in Tamil text generation, with potential implications for the broader landscape of LLMs in Indian languages. We further underscore our commitment to open research by making our models, datasets, and code publicly accessible, fostering further innovations in language modeling.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑