arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2405.00732cs.CLcs.AIcs.LG
收藏

LoRA Land:310 个微调 LLM 媲美 GPT-4,技术报告

LoRA Land: 310 Fine-tuned LLMs that Rival GPT-4, A Technical Report

Predibase

Justin Zhao, Timothy Wang, Wael Abid, Geoffrey Angus, Arnav Garg, Jeffery Kinnison, Alex Sherstinsky, Piero Molino, Travis Addair, Devvret Rishi

AI总结:

本文评估了 LoRA 微调 LLM 的实际应用可行性,基于 310 个模型证明 4-bit LoRA 微调模型平均超越 GPT-4,并通过 LoRAX 推理服务器和 LoRA Land 应用展示了多专用模型部署的质量与成本优势。

摘要:

低秩适应(LoRA)已成为大语言模型(LLM)参数高效微调(PEFT)中采用最广泛的方法之一。LoRA 在减少可训练参数数量和内存占用的同时,能够取得与全量微调相当的性能。我们旨在评估在实际应用中训练和部署经 LoRA 微调的 LLM 的可行性。首先,我们在 10 个基础模型和 31 个任务上测量了使用量化低秩适配器微调的 LLM 的质量,共计 310 个模型。我们发现,4-bit LoRA 微调模型平均比基础模型高出 34 分,比 GPT-4 高出 10 分。其次,我们研究了最适合微调的基础模型,并评估了任务复杂度启发式方法在预测微调结果方面的相关性和预测能力。最后,我们评估了 LoRAX 的延迟和并发能力。LoRAX 是一个开源的多 LoRA 推理服务器,通过共享基础模型权重和动态适配器加载,促进在单个 GPU 上部署多个 LoRA 微调模型。LoRAX 为 LoRA Land 提供支持,LoRA Land 是一个 Web 应用,在单个拥有 80GB 内存的 NVIDIA A100 GPU 上托管 25 个 LoRA 微调的 Mistral-7B LLM。LoRA Land 突显了使用多个专用 LLM 相较于单一通用 LLM 的质量和成本效益。

英文摘要:

Low Rank Adaptation (LoRA) has emerged as one of the most widely adopted methods for Parameter Efficient Fine-Tuning (PEFT) of Large Language Models (LLMs). LoRA reduces the number of trainable parameters and memory usage while achieving comparable performance to full fine-tuning. We aim to assess the viability of training and serving LLMs fine-tuned with LoRA in real-world applications. First, we measure the quality of LLMs fine-tuned with quantized low rank adapters across 10 base models and 31 tasks for a total of 310 models. We find that 4-bit LoRA fine-tuned models outperform base models by 34 points and GPT-4 by 10 points on average. Second, we investigate the most effective base models for fine-tuning and assess the correlative and predictive capacities of task complexity heuristics in forecasting the outcomes of fine-tuning. Finally, we evaluate the latency and concurrency capabilities of LoRAX, an open-source Multi-LoRA inference server that facilitates the deployment of multiple LoRA fine-tuned models on a single GPU using shared base model weights and dynamic adapter loading. LoRAX powers LoRA Land, a web application that hosts 25 LoRA fine-tuned Mistral-7B LLMs on a single NVIDIA A100 GPU with 80GB memory. LoRA Land highlights the quality and cost-effectiveness of employing multiple specialized LLMs over a single, general-purpose LLM.

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

↑