Xiwu:一种面向高能物理的基座灵活可学习大语言模型
Xiwu: A Basis Flexible and Learnable LLM for High Energy Physics
AI总结:
针对大语言模型应用于科学领域时兼顾先进性与领域知识的难题,提出名为Xiwu的灵活可学习系统,通过种子裂变、即时学习、动态微调等技术,在高能物理任务上表现优于基准,且支持多基座模型切换。
摘要:
大语言模型(LLM)正处于快速更新迭代的阶段,当前的最优(SOTA)模型频繁被替换。将大语言模型应用于特定科学领域时,如何在保持模型本身先进性的同时获取独特的领域知识,是一项具有挑战性的任务。为应对这一挑战,研究人员开发了一套名为Xiwu的精密大语言模型系统,支持在最先进的基座模型之间切换,并能快速向模型传授领域知识。\n本工作将汇报大语言模型在高能物理(HEP)领域应用的最佳实践,具体包括:提出种子裂变技术,并开发了若干数据采集与清洗工具,以快速获取领域级AI就绪数据集;基于向量存储技术实现了即时学习系统;开发了动态微调系统,以支持在指定基座模型下开展快速训练。\n实验结果表明,Xiwu可在LLaMA、Vicuna、ChatGLM、Grok-1等基座模型之间平滑切换。经过训练的Xiwu模型在高能物理知识问答与代码生成任务上的表现显著优于基准模型。该策略大幅提升了模型性能的增长潜力,有望随着开源模型的发展逐步超越GPT-4。本工作为高能物理领域提供了定制化的大语言模型,同时也为大语言模型在其他领域的应用提供了参考,相关代码已在Github上开源。
英文摘要:
Large Language Models (LLMs) are undergoing a period of rapid updates and changes, with state-of-the-art (SOTA) model frequently being replaced. When applying LLMs to a specific scientific field, it's challenging to acquire unique domain knowledge while keeping the model itself advanced. To address this challenge, a sophisticated large language model system named as Xiwu has been developed, allowing you switch between the most advanced foundation models and quickly teach the model domain knowledge. In this work, we will report on the best practices for applying LLMs in the field of high-energy physics (HEP), including: a seed fission technology is proposed and some data collection and cleaning tools are developed to quickly obtain domain AI-Ready dataset; a just-in-time learning system is implemented based on the vector store technology; an on-the-fly fine-tuning system has been developed to facilitate rapid training under a specified foundation model. The results show that Xiwu can smoothly switch between foundation models such as LLaMA, Vicuna, ChatGLM and Grok-1. The trained Xiwu model is significantly outperformed the benchmark model on the HEP knowledge question-and-answering and code generation. This strategy significantly enhances the potential for growth of our model's performance, with the hope of surpassing GPT-4 as it evolves with the development of open-source models. This work provides a customized LLM for the field of HEP, while also offering references for applying LLM to other fields, the corresponding codes are available on Github.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。