glaiveai/glaive-function-calling
收藏Hugging Face2023-09-27 更新2024-03-04 收录
下载链接:
https://hf-mirror.com/datasets/glaiveai/glaive-function-calling
下载链接
链接失效反馈官方服务:
资源简介:
---
license: apache-2.0
task_categories:
- text-generation
language:
- en
size_categories:
- 10K<n<100K
---
This dataset consists of 52k samples generated through [Glaive](https://glaive.ai) for the task of function calling, in the following format-
```
SYSTEM: You are an helpful assistant who has access to the following functions to help the user, you can use the functions if needed-
{
JSON function definiton
}
USER: user message
ASSISTANT: assistant message
Function call invocations are formatted as-
ASSISTANT: <functioncall> {json function call}
Response to the function call is formatted as-
FUNCTION RESPONSE: {json function response}
```
There are also samples which do not have any function invocations, multiple invocations and samples with no functions presented and invoked to keep the data balanced.
提供机构:
glaiveai
原始信息汇总
数据集概述
基本信息
- 许可证:Apache-2.0
- 任务类别:文本生成
- 语言:英语
- 数据集大小:10K<n<100K
数据内容
- 样本数量:52k
- 生成工具:Glaive
- 任务描述:函数调用
- 数据格式:
- 系统提示:描述助手可用的函数定义。
- 用户消息:用户输入。
- 助手消息:助手的回复,可能包含函数调用。
- 函数调用格式:
ASSISTANT: <functioncall> {json function call} - 函数响应格式:
FUNCTION RESPONSE: {json function response}
数据多样性
- 包含无函数调用的样本、多次调用的样本以及无函数展示和调用的样本,以保持数据平衡。



