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

理解LLMs:从训练到推理的全面概述

Understanding LLMs: A Comprehensive Overview from Training to Inference

School of Physics and Information Technology, Shaanxi Normal University(陕西师范大学物理学与信息技术学院);Institute of Medical Research, Northwestern Polytechnical University(西北工业大学医学研究院);School of Computer Science, Northwestern Polytechnical University(西北工业大学计算机学院);School of Automation, Northwestern Polytechnical University(西北工业大学自动化学院);School of Computing, The University of Georgia(佐治亚大学计算学院)
Yiheng Liu, Hao He, Tianle Han, Xu Zhang, Mengyuan Liu, Jiaming Tian, Yutong Zhang, Jiaqi Wang, Xiaohui Gao, Tianyang Zhong, Yi Pan, Shaochen Xu, Zihao Wu, Zhen… 展开作者

Yiheng Liu, Hao He, Tianle Han, Xu Zhang, Mengyuan Liu, Jiaming Tian, Yutong Zhang, Jiaqi Wang, Xiaohui Gao, Tianyang Zhong, Yi Pan, Shaochen Xu, Zihao Wu, Zhengliang Liu, Xin Zhang, Shu Zhang, Xintao Hu, Tuo Zhang, Ning Qiang, Tianming Liu, Bao Ge

AI总结:

本文顺应LLMs低成本训练与部署的发展趋势,全面回顾了从数据预处理、训练架构、微调等训练技术,到模型压缩、并行计算等推理部署技术的演进,并展望了其未来发展。

摘要:

ChatGPT的引入使得利用大型语言模型(LLMs)解决下游任务的现象显著增加。在此背景下,人们越来越关注成本高效的训练与部署。LLMs的低成本训练与部署代表了未来的发展趋势。本文回顾了顺应这一新兴趋势的大型语言模型训练技术与推理部署技术的演进。关于训练的讨论包括数据预处理、训练架构、预训练任务、并行训练以及与模型微调相关的内容。在推理方面,本文涵盖了模型压缩、并行计算、内存调度和结构优化等主题。文章还探讨了LLMs的利用,并对其未来发展提供了见解。

英文摘要:

The introduction of ChatGPT has led to a significant increase in the utilization of Large Language Models (LLMs) for addressing downstream tasks. There's an increasing focus on cost-efficient training and deployment within this context. Low-cost training and deployment of LLMs represent the future development trend. This paper reviews the evolution of large language model training techniques and inference deployment technologies aligned with this emerging trend. The discussion on training includes various aspects, including data preprocessing, training architecture, pre-training tasks, parallel training, and relevant content related to model fine-tuning. On the inference side, the paper covers topics such as model compression, parallel computation, memory scheduling, and structural optimization. It also explores LLMs' utilization and provides insights into their future development.

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

↑