agent-think-tool_use
收藏资源简介:
Agent Think Tool Use 是一个用于多步代理会话的数据集,旨在通过监督微调(SFT)提升模型在代码编写、工具使用和工程任务上的能力。每条记录是一个完整的代理会话轨迹,包含用户需求、代理的思考过程、决策摘要、工具调用、执行结果、错误处理以及最终验证。数据集采用JSONL格式,包含消息、推理、函数调用、自定义工具调用、函数调用输出和会话上下文等记录类型。由三个子集组成,共450个shard文件,总计55,726条记录,约150.44 MB。工具调用共有10,928对,其中8,514个普通function_call和2,414个custom_tool_call,10,421个结果成功退出,507个包含诊断错误并带有恢复场景。代理可使用的工具包括shell.exec、patch.apply、web.search_query、web.open、web.find。覆盖多种编程语言、基础设施、数据库、流处理和队列以及专业主题。适用于监督微调、工具调用训练、多步工程对话、故障分析等任务。采用Apache-2.0许可证。
Agent Think Tool Use is a dataset for multi-step agent conversations, designed to enhance model capabilities in code writing, tool use, and engineering tasks through supervised fine-tuning (SFT). Each record is a complete agent conversation trajectory, including user requests, agent thinking processes, decision summaries, tool calls, execution results, error handling, and final verification. The dataset is in JSONL format and contains record types such as message, reasoning, function_call, custom_tool_call, function_call_output, and turn_context. It consists of three subsets with a total of 450 shard files, 55,726 records, and approximately 150.44 MB in size. There are 10,928 tool call-result pairs, including 8,514 regular function_calls and 2,414 custom_tool_calls; 10,421 results have successful exit codes (exit_code=0), and 507 have diagnostic errors (exit_code=1) with recovery scenarios. The available tools include shell.exec, patch.apply, web.search_query, web.open, and web.find. The dataset covers a wide range of application domains, including various programming languages, infrastructure tools, databases, stream processing and queue systems, and specialized topics. It is suitable for supervised fine-tuning, tool call and function call training, multi-step engineering conversations, code and project file manipulation, failure analysis and recovery, reasoning summarization and decision tracking, and can also be used for RLHF/DPO (with additional preference annotations). The dataset is licensed under Apache-2.0.
Agent Think Tool Use 数据集概述
基本信息
- 数据集名称: Agent Think Tool Use
- 语言: 俄语 (ru)、英语 (en)
- 许可证: Apache-2.0
- 任务类型: 文本生成、问答
- 创建方式: 机器生成
- 数据规模: 100 < n < 1K
- 数据格式: JSONL、traces
数据集内容
这是一个用于模型微调的多步代理会话数据集,涵盖代码操作、工具调用和工程任务。每条记录包含用户需求、代理工作期间的评论、决策摘要、工具调用、运行结果、错误处理及最终验证。每个 shard 代表一条独立的完整会话,而非独立的问答对。数据覆盖任务探索、文档查阅、设计、文件修改、测试、诊断、恢复及结果交付等环节。
数据统计
- 总记录数:55,726 条(基于 450 个 shard 文件)
- 总大小:150,440,831 字节
| 记录类型 | 记录数 | 占比 |
|---|---|---|
| message | 23,596 | 42.34% |
| function_call_output | 10,928 | 19.61% |
| reasoning | 9,824 | 17.63% |
| function_call | 8,514 | 15.28% |
| custom_tool_call | 2,414 | 4.33% |
| turn_context | 450 | 0.81% |
数据拆分
| 数据集 | Shards | 记录数 | 大小(字节) |
|---|---|---|---|
| agent-date-p1 | 150 | 28,308 | 95,463,626 |
| agent-date-p2 | 150 | 11,965 | 25,223,199 |
| agent-date-p3 | 150 | 15,453 | 29,754,006 |
记录类型说明
- message: 系统、用户、助手评论或最终消息
- reasoning: 包含决策理由和限制的决策摘要
- function_call: 工具调用
- custom_tool_call: 扩展工具调用
- function_call_output: 工具可观察结果
- turn_context: 会话上下文、状态机、质量与工件
代理工具
shell.exec— 执行命令和测试patch.apply— 精细修改文件web.search_query— 搜索技术文档web.open— 打开搜索到的源web.find— 在页面中查找特定规则或片段
主题覆盖
- 编程语言: Python、Rust、Go、TypeScript、Java、C++、C#、Kotlin、Swift 等 20 余种语言
- 基础设施: Kubernetes、Terraform、Helm、Ansible、Vault、CI/CD 及容器化
- 数据库: PostgreSQL、MongoDB、Cassandra、Redis、ClickHouse 等
- 流处理与队列: Kafka、RabbitMQ、NATS、Pulsar、Flink、Spark 等
- 专题领域: CUDA、WebAssembly、WebRTC、网络安全、可观测性、GraphQL、gRPC 等
适用场景
| 任务 | 支持 |
|---|---|
| 监督微调 (SFT) | 是 |
| 工具使用与函数调用 | 是 |
| 多步工程对话 | 是 |
| 代码与项目文件操作 | 是 |
| 错误分析与恢复 | 是 |
| 推理摘要与决策追踪 | 是 |
| RLHF / DPO | 需额外偏好标注 |
使用示例
python from datasets import load_dataset
dataset = load_dataset("ru-dataset/agent-think-tool_use") print(dataset)




