Kanana: Compute-efficient Bilingual Language Models
Kanana 是一种高效的双语语言模型,在韩语表现优异,在英语表现竞争力强,同时计算成本远低于同类模型。
更新于 2025-02-27。作者:Kanana LLM Team、Yunju Bak、Hojin Lee、Minho Ryu、Jiyeon Ham、Seungjae Jung、Daniel Wontae Nam、Taegyeong Eo、Donghun Lee、Doohae Jung、Boseop Kim、Nayeon Kim、Jaesun Park、Hyunho Kim、Hyunwoong Ko、Changmin Lee、Kyoung-Woon On、Seulye Baeg、Junrae Cho、Sunghee Jung、Jieun Kang、EungGyun Kim、Eunhwa Kim、Byeongil Ko、Daniel Lee、Minchul Lee、Miok Lee、Shinbok Lee、Gaeun Seo。
中文摘要
我们介绍了Kanana,这是一系列双语语言模型,在韩语上展现出超越的性能,在英语上表现出竞争力。Kanana的计算成本显著低于同类规模的最先进模型。报告详细介绍了在预训练期间采用的技巧,以实现计算高效且具有竞争力的模型,包括高质量数据筛选、分阶段预训练、深度升级以及剪枝和蒸馏。此外,报告概述了在Kanana模型后训练期间所采用的方法,包括监督微调和偏好优化,旨在提高它们与用户无缝交互的能力。最后,报告阐述了用于语言模型适应特定场景的可能方法,如嵌入、检索增强生成和函数调用。Kanana模型系列参数量从21亿到325亿不等,其中2.1亿参数模型(基础、指令、嵌入)已公开发布,以促进韩语语言模型的研究。
英文摘要
We introduce Kanana, a series of bilingual language models that demonstrate exceeding performance in Korean and competitive performance in English. The computational cost of Kanana is significantly lower than that of state-of-the-art models of similar size. The report details the techniques employed during pre-training to achieve compute-efficient yet competitive models, including high quality data filtering, staged pre-training, depth up-scaling, and pruning and distillation. Furthermore, the report outlines the methodologies utilized during the post-training of the Kanana models, encompassing supervised fine-tuning and preference optimization, aimed at enhancing their capability for seamless interaction with users. Lastly, the report elaborates on plausible approaches used for language model adaptation to specific scenarios, such as embedding, retrieval augmented generation, and function calling. The Kanana model series spans from 2.1B to 32.5B parameters with 2.1B models (base, instruct, embedding) publicly released to promote research on Korean language models.
解读
一句话总结
Kanana 是一种高效的双语语言模型,在韩语表现优异,在英语表现竞争力强,同时计算成本远低于同类模型。
问题1:这篇论文想要解决什么具体问题?
- 问题背景:大型语言模型(LLMs)的发展带来了巨大的计算成本,限制了LLMs在学术和工业界的普及。
- 现有方案不足:现有模型在保持性能的同时,计算成本过高,限制了LLMs的广泛应用。
- 研究目标:设计并实现一个计算高效且性能竞争的语言模型,以降低LLMs的计算成本。
问题2:论文的核心创新点是什么?
- 技术创新:提出了一种计算高效的预训练方法,包括高质量数据过滤、分阶段预训练、深度升级、剪枝和蒸馏。
- 方法改进:在训练过程中采用多种技术,如数据效率和训练效率的提升,以及后训练过程,包括监督微调和偏好优化。
- 优势:与现有方法相比,Kanana 模型在保持高性能的同时,显著降低了计算成本。
问题3:实验结果如何验证了方法的有效性?
- 关键实验:通过在多个标准基准上测试,包括英语/韩语一般知识、代码和数学推理。
- 性能提升:Kanana 模型在多个基准上取得了优异的性能,例如在KMMLU和HAE-RAE上超过了其他类似规模的LLMs。
- 对比结果:Kanana 模型在MMLU和KMMLU等基准上的表现优于Llama 3.1 70B、Gemma 2 27B和EXAONE-3.5-32B等模型,同时计算成本更低。
问题4:这个研究的实际应用价值是什么?
- 应用场景:Kanana 模型可以应用于各种场景,如聊天、指令遵循、一般知识、编码和数学等。
- 实施建议:根据具体应用场景,可以采用不同的后训练技术和适应策略。
- 局限与展望:Kanana 模型在数学领域的表现有限,未来可以通过数据质量和混合来改进。此外,计划探索新的训练方法和技术,以进一步提高模型性能和效率。