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

Arcee的MergeKit:一个用于大语言模型合并的工具包

Arcee's MergeKit: A Toolkit for Merging Large Language Models

Arcee

Charles Goddard, Shamane Siriwardhana, Malikeh Ehghaghi, Luke Meyers, Vlad Karpukhin, Brian Benedict, Mark McQuade, Jacob Solawetz

AI总结:

针对开源单任务语言模型无法互用优势的问题,研究团队推出开源工具库MergeKit,提供可扩展框架支持任意硬件上的模型合并,已助力社区产出多个高性能开源模型检查点。

摘要:

开源语言模型领域的快速发展为通过结合这些模型检查点的参数来融合其能力提供了契机。迁移学习(即针对特定任务微调预训练模型的过程)的进步催生了大量任务专用模型,这些模型通常仅擅长单个任务,无法利用彼此的优势。模型合并无需额外训练即可构建多任务模型,为提升模型性能和通用性提供了一条颇具前景的路径。通过保留原始模型的内在能力,模型合并解决了人工智能领域的复杂挑战,包括灾难性遗忘和多任务学习的难题。为支持这一不断拓展的研究领域,我们推出了MergeKit,这是一款全面的开源库,旨在推动模型合并策略的应用。MergeKit提供了一个可扩展的框架,可在任意硬件上高效合并模型,为研究人员和从业者提供实用工具。截至目前,开源社区已使用该工具合并了数千个模型,由此诞生了部分经Open LLM Leaderboard评测的全球性能最强的开源模型检查点。该库可通过https://github.com/arcee-ai/MergeKit获取。

英文摘要:

The rapid expansion of the open-source language model landscape presents an opportunity to merge the competencies of these model checkpoints by combining their parameters. Advances in transfer learning, the process of fine-tuning pretrained models for specific tasks, has resulted in the development of vast amounts of task-specific models, typically specialized in individual tasks and unable to utilize each other's strengths. Model merging facilitates the creation of multitask models without the need for additional training, offering a promising avenue for enhancing model performance and versatility. By preserving the intrinsic capabilities of the original models, model merging addresses complex challenges in AI - including the difficulties of catastrophic forgetting and multitask learning. To support this expanding area of research, we introduce MergeKit, a comprehensive, open-source library designed to facilitate the application of model merging strategies. MergeKit offers an extensible framework to efficiently merge models on any hardware, providing utility to researchers and practitioners. To date, thousands of models have been merged by the open-source community, leading to the creation of some of the worlds most powerful open-source model checkpoints, as assessed by the Open LLM Leaderboard. The library is accessible at https://github.com/arcee-ai/MergeKit.

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

↑