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

为资源较少的语言构建一个强大的指令语言模型

Building a Strong Instruction Language Model for a Less-Resourced Language

University of Ljubljana, Faculty of Computer and Information Science(卢布尔雅那大学计算机与信息科学学院)

Domen Vreš, Tjaša Arčon, Timotej Petrič, Dario Vajda, Marko Robnik-Šikonja, Iztok Lebar Bajec

AI总结:

本文提出了一种针对斯洛文尼亚语的高性能开源语言模型GaMS3-12B,通过预训练和微调方法在多个评估任务中优于现有模型。

摘要:

大型语言模型(LLMs)已成为自然语言处理和通用人工智能的重要工具。当前的开源模型主要是在英文文本上训练的,导致在资源较少的语言和文化上表现较差。我们提出了一套必要的方法论方法,以成功地将LLM适应到资源较少的语言,并通过斯洛文尼亚语进行了演示。我们介绍了GaMS3-12B,这是一个具有120亿参数的斯洛文尼亚生成模型,并展示了它在该参数范围内是表现最好的开源模型。我们通过三种阶段的持续预训练对模型进行适应,随后是两个阶段的监督微调(SFT)。我们训练模型使用了1400亿个斯洛文尼亚、英语、波斯尼亚语、塞尔维亚语和克罗地亚语的预训练标记,以及超过20万条英语和斯洛文尼亚语的SFT示例。我们评估了GaMS3-12B在斯洛文尼亚-LLM-Eval数据集、英语到斯洛文尼亚语的翻译以及斯洛文尼亚LLM领域中的表现。我们展示了所描述的模型在所有三种场景中均优于120亿参数的Gemma 3,并在斯洛文尼亚LLM领域中与更大的商业GPT-4o相当,实现了超过60%的胜率。

英文摘要:

Large language models (LLMs) have become an essential tool for natural language processing and artificial intelligence in general. Current open-source models are primarily trained on English texts, resulting in poorer performance on less-resourced languages and cultures. We present a set of methodological approaches necessary for the successful adaptation of an LLM to a less-resourced language, and demonstrate them using the Slovene language. We present GaMS3-12B, a generative model for Slovene with 12 billion parameters, and demonstrate that it is the best-performing open-source model for Slovene within its parameter range. We adapted the model to the Slovene language using three-stage continual pre-training of the Gemma 3 model, followed by two-stage supervised fine-tuning (SFT). We trained the model on a combination of 140B Slovene, English, Bosnian, Serbian, and Croatian pretraining tokens, and over 200 thousand English and Slovene SFT examples. We evaluate GaMS3-12B on the Slovenian-LLM-Eval datasets, English-to-Slovene translation, and the Slovene LLM arena. We show that the described model outperforms 12B Gemma 3 across all three scenarios and performs comparably to much larger commercial GPT-4o in the Slovene LLM arena, achieving a win rate of over 60 %.

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

↑