开源的Agent工具使用微调数据集:从MSAgent-Bench到AgentInstruct

1,510次阅读
没有评论

今天是2023年11月29日,星期三,北京,天气晴。

今天我们来看看agent工具使用的一些开源训练数据,主要包括:MSAgent-Bench、MOSS-pluginData以及AgentInstruct三种,供大家一起参考。

一、MSAgent-Bench

ModelScope-Agent是一个通用的、可定制的Agent框架,插件的训练数据集,包括598k的训练集和对应的验证集,测试集。数据集主要包括四种:AI模型API,通用API,API无关通用sft数据,API检索增强数据。

开源的Agent工具使用微调数据集:从MSAgent-Bench到AgentInstruct

数据样例:

开源的Agent工具使用微调数据集:从MSAgent-Bench到AgentInstruct

地址:https://modelscope.cn/datasets/damo/MSAgent-Bench/summary

二、MOSS-pluginData

moss-moon-003-sft-plugin所使用的插件增强的多轮对话数据,包含支持搜索引擎、文生图、计算器、解方程等四个插件在内的约30万条多轮对话数据。已开源除text2image之外的所有数据。

开源的Agent工具使用微调数据集:从MSAgent-Bench到AgentInstruct

数据样例如下:

开源的Agent工具使用微调数据集:从MSAgent-Bench到AgentInstruct

项目地址:https://github.com/OpenLMLab/MOSS

数据地址:https://huggingface.co/datasets/fnlp/moss-003-sft-data/tree/main

三、AgentInstruct

AgentInstruct是一个经过挑选的智能体数据集,包含1866个高质量交互、6个多样化的真实场景任务,用于增强语言模型的Agent能力,如下:

开源的Agent工具使用微调数据集:从MSAgent-Bench到AgentInstruct

例如,关于操作数据库的例子:

[
    {
        "from":"human",
        "loss":null,
        "value":"I will ask you a question, then you should help me operate a MySQL database with SQL to answer the question.nYou have to explain the problem and your solution to me and write down your thoughts.nAfter thinking and explaining thoroughly, every round you can choose to operate or to answer.nyour operation should be like this:nAction: Operationn```sqlnSELECT * FROM table WHERE condition;n```nYou MUST put SQL in markdown format without any other comments. Your SQL should be in one line.nEvery time you can only execute one SQL statement. I will only execute the statement in the first SQL code block. Every time you write a SQL, I will execute it for you and give you the output.nIf you are done operating, and you want to commit your final answer, then write down:nAction: AnswernFinal Answer: ["ANSWER1", "ANSWER2", ...]nDO NOT write this pattern unless you are sure about your answer. I expect an accurate and correct answer.nYour answer should be accurate. Your answer must be exactly the same as the correct answer.nIf the question is about modifying the database, then after done operation, your answer field can be anything.nIf your response cannot match any pattern I mentioned earlier, you will be judged as FAIL immediately.nYour input will be raw MySQL response, you have to deal with it by yourself."
    },
    {
        "from":"gpt",
        "loss":false,
        "value":"Ok."
    },
    {
        "from":"human",
        "loss":null,
        "value":"What was the longest time a driver had ever spent at a pit stop?nThe name of this table is pitStops, and the headers of this table are raceId,driverId,stop,lap,time,duration,milliseconds."
    },
    {
        "from":"gpt",
        "loss":true,
        "value":"To find the longest time a driver had ever spent at a pit stop, we can use the MAX() function on the 'duration' column.nAction: Operationn```sqlnSELECT MAX(`duration`) FROM `pitStops` ;n```"
    },
    {
        "from":"human",
        "loss":null,
        "value":"[('59.555',)]"
    },
    {
        "from":"gpt",
        "loss":true,
        "value":"The longest time a driver had ever spent at a pit stop is 59.555 seconds.nAction: AnswernFinal Answer: ["59.555"]"
    }
]

地址:https://huggingface.co/datasets/THUDM/AgentInstruct?row=0

参考文献

1、https://modelscope.cn/datasets/damo/MSAgent-Bench/summary

2、https://huggingface.co/datasets/fnlp/moss-003-sft-data/tree/main

3、https://huggingface.co/datasets/THUDM/AgentInstruct?row=0

关于我们

老刘,刘焕勇,NLP开源爱好者与践行者,主页:https://liuhuanyong.github.io。

老刘说NLP,将定期发布语言资源、工程实践、技术总结等内容,欢迎关注。

对于想加入更优质的知识图谱、事件图谱、大模型AIGC实践、相关分享的,可关注公众号,在后台菜单栏中点击会员社区->会员入群加入。

​​       

 

Read More 

正文完
可以使用微信扫码关注公众号(ID:xzluomor)
post-qrcode
 0
评论(没有评论)

文心AIGC

2023 年 11 月
 12345
6789101112
13141516171819
20212223242526
27282930  
文心AIGC
文心AIGC
人工智能ChatGPT,AIGC指利用人工智能技术来生成内容,其中包括文字、语音、代码、图像、视频、机器人动作等等。被认为是继PGC、UGC之后的新型内容创作方式。AIGC作为元宇宙的新方向,近几年迭代速度呈现指数级爆发,谷歌、Meta、百度等平台型巨头持续布局
文章搜索
热门文章
潞晨尤洋:日常办公没必要上私有模型,这三类企业才需要 | MEET2026

潞晨尤洋:日常办公没必要上私有模型,这三类企业才需要 | MEET2026

潞晨尤洋:日常办公没必要上私有模型,这三类企业才需要 | MEET2026 Jay 2025-12-22 09...
面向「空天具身智能」,北航团队提出星座规划新基准丨NeurIPS’25

面向「空天具身智能」,北航团队提出星座规划新基准丨NeurIPS’25

面向「空天具身智能」,北航团队提出星座规划新基准丨NeurIPS’25 鹭羽 2025-12-13 22:37...
5天连更5次,可灵AI年末“狂飙式”升级

5天连更5次,可灵AI年末“狂飙式”升级

5天连更5次,可灵AI年末“狂飙式”升级 思邈 2025-12-10 14:28:37 来源:量子位 让更大规...
钉钉又发新版本!把 AI 搬进每一次对话和会议

钉钉又发新版本!把 AI 搬进每一次对话和会议

钉钉又发新版本!把 AI 搬进每一次对话和会议 梦晨 2025-12-11 15:33:51 来源:量子位 A...
商汤Seko2.0重磅发布,合作短剧登顶抖音AI短剧榜No.1

商汤Seko2.0重磅发布,合作短剧登顶抖音AI短剧榜No.1

商汤Seko2.0重磅发布,合作短剧登顶抖音AI短剧榜No.1 十三 2025-12-15 14:13:14 ...
最新评论
ufabet ufabet มีเกมให้เลือกเล่นมากมาย: เกมเดิมพันหลากหลาย ครบทุกค่ายดัง
tornado crypto mixer tornado crypto mixer Discover the power of privacy with TornadoCash! Learn how this decentralized mixer ensures your transactions remain confidential.
ดูบอลสด ดูบอลสด Very well presented. Every quote was awesome and thanks for sharing the content. Keep sharing and keep motivating others.
ดูบอลสด ดูบอลสด Pretty! This has been a really wonderful post. Many thanks for providing these details.
ดูบอลสด ดูบอลสด Pretty! This has been a really wonderful post. Many thanks for providing these details.
ดูบอลสด ดูบอลสด Hi there to all, for the reason that I am genuinely keen of reading this website’s post to be updated on a regular basis. It carries pleasant stuff.
Obrazy Sztuka Nowoczesna Obrazy Sztuka Nowoczesna Thank you for this wonderful contribution to the topic. Your ability to explain complex ideas simply is admirable.
ufabet ufabet Hi there to all, for the reason that I am genuinely keen of reading this website’s post to be updated on a regular basis. It carries pleasant stuff.
ufabet ufabet You’re so awesome! I don’t believe I have read a single thing like that before. So great to find someone with some original thoughts on this topic. Really.. thank you for starting this up. This website is something that is needed on the internet, someone with a little originality!
ufabet ufabet Very well presented. Every quote was awesome and thanks for sharing the content. Keep sharing and keep motivating others.
热评文章
读懂2025中国AI走向!公司×产品×人物×方案,最值得关注的都在这里了

读懂2025中国AI走向!公司×产品×人物×方案,最值得关注的都在这里了

读懂2025中国AI走向!公司×产品×人物×方案,最值得关注的都在这里了 衡宇 2025-12-10 12:3...
5天连更5次,可灵AI年末“狂飙式”升级

5天连更5次,可灵AI年末“狂飙式”升级

5天连更5次,可灵AI年末“狂飙式”升级 思邈 2025-12-10 14:28:37 来源:量子位 让更大规...
戴尔 x OpenCSG,推出⾯向智能初创企业的⼀体化 IT 基础架构解决方案

戴尔 x OpenCSG,推出⾯向智能初创企业的⼀体化 IT 基础架构解决方案

戴尔 x OpenCSG,推出⾯向智能初创企业的⼀体化 IT 基础架构解决方案 十三 2025-12-10 1...
九章云极独揽量子位三项大奖:以“一度算力”重构AI基础设施云格局

九章云极独揽量子位三项大奖:以“一度算力”重构AI基础设施云格局

九章云极独揽量子位三项大奖:以“一度算力”重构AI基础设施云格局 量子位的朋友们 2025-12-10 18:...
乐奇Rokid这一年,一路狂飙不回头

乐奇Rokid这一年,一路狂飙不回头

乐奇Rokid这一年,一路狂飙不回头 梦瑶 2025-12-10 20:41:15 来源:量子位 梦瑶 发自 ...