arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.15490cs.CLcs.AI
收藏

面向城市更新的大型语言模型的优化与微调

Optimizing and Fine-tuning Large Language Model for Urban Renewal

Tsinghua University(清华大学);Cross-strait Tsinghua Research Institute(海峡两岸清华研究院);Biocloo Inc(百奥科洛公司);China Agricultural University(中国农业大学);Zhipu AI(智谱AI);Beijing Rongchuang Geotechnical Engineering Co., Ltd.(北京融创岩土工程有限公司);The University of Hong Kong(香港大学)

Xi Wang, Xianyao Ling, Tom Zhang, Xuecao Li, Shaolan Wang, Zhixing Li, Liang Zhang, Peng Gong

AI总结:

本研究基于ChatGLM,利用自指令生成城市更新问答数据集,并采用Prefix和LoRA联合微调方法,显著提升了模型在城市更新知识问答任务中的性能。

摘要:

本研究旨在创新性地探索大型语言模型(LLM)在城市更新中的适应性应用,并提升其在知识问答(QA)任务中的性能和文本生成质量。基于ChatGLM,我们以自指令方式利用城市更新科学文献语料库自动生成QA数据集,随后采用Prefix和LoRA微调方法对模型进行联合微调训练,以构建面向城市更新的LLM。通过引导LLM基于提示词和给定文本自动生成QA数据,能够快速获取城市更新领域的相关数据集,为LLM的微调训练提供数据支持。实验结果表明,本研究提出的联合微调训练方法能显著提升LLM在QA任务上的性能。与LoRA微调相比,该方法在测试中的Bleu和Rouge指标提升了约5%;与微调前的模型相比,该方法的Bleu和Rouge指标提升了约15%-20%。本研究证明了使用Prefix和LoRA对ChatGLM进行联合微调在城市更新知识QA任务中的有效性与优越性,为城市更新相关任务的LLM微调提供了新途径。

英文摘要:

This study aims to innovatively explore adaptive applications of large language models (LLM) in urban renewal. It also aims to improve its performance and text generation quality for knowledge question-answering (QA) tasks. Based on the ChatGLM, we automatically generate QA datasets using urban renewal scientific literature corpora in a self-instruct manner and then conduct joint fine-tuning training on the model using the Prefix and LoRA fine-tuning methods to create an LLM for urban renewal. By guiding the LLM to automatically generate QA data based on prompt words and given text, it is possible to quickly obtain datasets in the urban renewal field and provide data support for the fine-tuning training of LLMs. The experimental results show that the joint fine-tuning training method proposed in this study can significantly improve the performance of LLM on the QA tasks. Compared with LoRA fine-tuning, the method improves the Bleu and Rouge metrics on the test by about 5%; compared with the model before fine-tuning, the method improves the Bleu and Rouge metrics by about 15%-20%. This study demonstrates the effectiveness and superiority of the joint fine-tuning method using Prefix and LoRA for ChatGLM in the urban renewal knowledge QA tasks. It provides a new approach for fine-tuning LLMs on urban renewal-related tasks.

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

↑