arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.07080cs.CL
收藏

让大语言模型适配希伯来语:推出具备增强词表与指令能力的DictaLM 2.0

Adapting LLMs to Hebrew: Unveiling DictaLM 2.0 with Enhanced Vocabulary and Instruction Capabilities

DICTA(迪克塔机构);Bar Ilan University(巴伊兰大学)

Shaltiel Shmidman, Avi Shmidman, Amir DN Cohen, Moshe Koppel

AI总结:

针对希伯来语这类低资源语言训练大模型的难题,研究团队基于Mistral训练出DictaLM2.0系列模型,提出适配新语言的训练方法,推出希伯来语大模型评估基准,为多语言NLP发展提供可复用框架。

摘要:

在希伯来语等低资源语言上训练大语言模型(LLM)面临独特挑战。本文介绍DictaLM2.0和DictaLM2.0-Instruct,这两款大语言模型基于Mistral模型衍生,在约2000亿token的希伯来语与英语大规模语料上训练而成。将预训练模型适配新语言需要用到专门技术,与从零训练模型或在英语等高资源语言上继续训练现有模型的方法差异显著。我们阐述了这些全新的训练方法,它们能助力模型有效学习并适配希伯来语的语言特性。此外,我们在一个综合指令数据集上对DictaLM2.0-Instruct进行了微调,以提升其在特定任务指令上的表现。为严格评估我们的模型,我们推出了一套用于希伯来语大语言模型评估的新基准套件,涵盖问答、情感分析、Winograd Schema Challenge、翻译和摘要等多种任务。我们的工作不仅解决了在低资源语言上训练大语言模型的复杂问题,还提出了一个可用于将其他大语言模型适配到各类非英语语言的框架,为更广泛的多语言自然语言处理领域做出贡献。

英文摘要:

Training large language models (LLMs) in low-resource languages such as Hebrew poses unique challenges. In this paper, we introduce DictaLM2.0 and DictaLM2.0-Instruct, two LLMs derived from the Mistral model, trained on a substantial corpus of approximately 200 billion tokens in both Hebrew and English. Adapting a pre-trained model to a new language involves specialized techniques that differ significantly from training a model from scratch or further training existing models on well-resourced languages such as English. We outline these novel training methodologies, which facilitate effective learning and adaptation to the linguistic properties of Hebrew. Additionally, we fine-tuned DictaLM2.0-Instruct on a comprehensive instruct dataset to enhance its performance on task-specific instructions. To rigorously evaluate our models, we introduce a new benchmark suite for Hebrew LLM evaluation, covering a diverse set of tasks including Question Answering, Sentiment Analysis, Winograd Schema Challenge, Translation, and Summarization. Our work not only addresses the intricacies of training LLMs in low-resource languages but also proposes a framework that can be leveraged for adapting other LLMs to various non-English languages, contributing to the broader field of multilingual NLP.

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

↑