LMTuner:一个面向大语言模型微调的用户友好、高集成度训练框架
LMTuner: An user-friendly and highly-integrable Training Framework for fine-tuning Large Language Models
AI总结:
针对现有大语言模型训练框架模块化不足、启动成本高的问题,提出高易用可扩展的LMTuner框架,集成高效微调方法与DeepSpeed,支持单服务器训练3亿到1300亿参数模型,新手5分钟即可启动训练。
摘要:
随着大语言模型(LLM)领域的蓬勃发展,针对特定行业与领域的高效增量训练需求持续增长。当前主流使用的框架缺乏模块化设计,启动LLM训练往往需要大量编码工作。为解决这一问题,我们提出了“LMTuner”——一个高易用性、高集成度且可扩展的系统,可快速开展LLM训练,且用户所需输入极少。LMTuner包含三大核心模块:交互模块、训练模块与推理模块。我们认为,LMTuner的易用性与完整性降低了大语言模型训练的复杂度。值得一提的是,即便是新手用户也能在5分钟内启动大语言模型训练。此外,该框架集成了DeepSpeed框架,支持低秩适配(LoRA)、量化LoRA(QLoRA)等高效微调方法,可在单台服务器上训练参数规模从3亿到高达1300亿的语言模型。LMTuner的主页(https://wengsyx.github.io/LMTuner/)与演示视频(https://youtu.be/nsXmWOmN3rE)现已公开。
英文摘要:
With the burgeoning development in the realm of large language models (LLMs), the demand for efficient incremental training tailored to specific industries and domains continues to increase. Currently, the predominantly employed frameworks lack modular design, it often takes a lot of coding work to kickstart the training of LLM. To address this, we present "LMTuner", a highly usable, integrable, and scalable system for training LLMs expeditiously and with minimal user-input. LMTuner comprises three main modules - the Interaction, Training, and Inference Modules. We advocate that LMTuner's usability and integrality alleviate the complexities in training large language models. Remarkably, even a novice user could commence training large language models within five minutes. Furthermore, it integrates DeepSpeed frameworks and supports Efficient Fine-Tuning methodologies like Low Rank Adaptation (LoRA), Quantized LoRA (QLoRA), etc., enabling the training of language models scaling from 300M to a whopping 130B parameters using a single server. The LMTuner's homepage (https://wengsyx.github.io/LMTuner/)and screencast video (https://youtu.be/nsXmWOmN3rE) are now publicly available.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。