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

ModelScope-Agent:基于开源大语言模型构建可定制的智能体系统

ModelScope-Agent: Building Your Customizable Agent System with Open-source Large Language Models

DAMO Academy, Alibaba Group(阿里巴巴集团达摩院)

Chenliang Li, Hehong Chen, Ming Yan, Weizhou Shen, Haiyang Xu, Zhikai Wu, Zhicheng Zhang, Wenmeng Zhou, Yingda Chen, Chen Cheng, Hongzhu Shi, Ji Zhang, Fei Huang, Jingren Zhou

AI总结:

提出ModelScope-Agent,一个基于开源大语言模型的可定制智能体框架,支持工具使用、模型训练与API集成,并展示其应用ModelScopeGPT连接千余AI模型。

摘要:

大语言模型(LLMs)近期展现出理解人类意图、进行推理和设计类规划行为的卓越能力。为了进一步释放LLMs完成复杂任务的潜力,构建智能体框架的趋势日益增长,该框架为LLMs(如ChatGPT)配备工具使用能力,以连接海量外部API。在本工作中,我们介绍了ModelScope-Agent,一个面向实际应用、基于开源LLMs作为控制器的通用且可定制的智能体框架。它提供了一个用户友好的系统库,具有可定制的引擎设计,支持在多个开源LLMs上进行模型训练,同时以统一方式实现与模型API和常见API的无缝集成。为使LLMs具备工具使用能力,我们提出了一个涵盖工具使用数据收集、工具检索、工具注册、记忆控制、定制模型训练以及面向实际应用评估的全面框架。最后,我们展示了ModelScopeGPT,这是基于ModelScope-Agent框架的ModelScope社区的真实世界智能助手,它能够将开源LLMs与ModelScope中超过1000个公共AI模型和本地化社区知识连接起来。ModelScope-Agent库(https://github.com/modelscope/modelscope-agent)和在线演示(https://modelscope.cn/studios/damo/ModelScopeGPT/summary)现已公开可用。

英文摘要:

Large language models (LLMs) have recently demonstrated remarkable capabilities to comprehend human intentions, engage in reasoning, and design planning-like behavior. To further unleash the power of LLMs to accomplish complex tasks, there is a growing trend to build agent framework that equips LLMs, such as ChatGPT, with tool-use abilities to connect with massive external APIs. In this work, we introduce ModelScope-Agent, a general and customizable agent framework for real-world applications, based on open-source LLMs as controllers. It provides a user-friendly system library, with customizable engine design to support model training on multiple open-source LLMs, while also enabling seamless integration with both model APIs and common APIs in a unified way. To equip the LLMs with tool-use abilities, a comprehensive framework has been proposed spanning over tool-use data collection, tool retrieval, tool registration, memory control, customized model training, and evaluation for practical real-world applications. Finally, we showcase ModelScopeGPT, a real-world intelligent assistant of ModelScope Community based on the ModelScope-Agent framework, which is able to connect open-source LLMs with more than 1000 public AI models and localized community knowledge in ModelScope. The ModelScope-Agent library\footnote{https://github.com/modelscope/modelscope-agent} and online demo\footnote{https://modelscope.cn/studios/damo/ModelScopeGPT/summary} are now publicly available.

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

↑