StarfleetAI/function-calling
收藏Hugging Face2024-02-02 更新2024-03-04 收录
下载链接:
https://hf-mirror.com/datasets/StarfleetAI/function-calling
下载链接
链接失效反馈官方服务:
资源简介:
---
language:
- en
license: apache-2.0
size_categories:
- 10K<n<100K
task_categories:
- conversational
dataset_info:
features:
- name: conversations
list:
- name: from
dtype: string
- name: value
dtype: string
- name: functions_enabled
dtype: bool
- name: function_called
dtype: bool
splits:
- name: train
num_bytes: 130998694
num_examples: 86864
download_size: 45215003
dataset_size: 130998694
configs:
- config_name: default
data_files:
- split: train
path: data/train-*
---
# function-calling
The purpose of this dataset is to give function calling abilities to your LLM.
Derived from [hypervariance/function-calling-sharegpt](https://huggingface.co/datasets/hypervariance/function-calling-sharegpt) with a system prompt cleanup and other minor fixes.
## Prompt format
### With functions
```
## Configuration
Functions: enabled
## Available Functions
{ ... }
{ ... }
---
You are a helpful assistant.
```
### Without functions
```
## Configuration
Functions: disabled
---
You are a helpful assistant.
```
## Function calling
Dataset uses the following format for the function call request:
```
<|fn_start|>{"name": "generate_password", "arguments": "{\"length\": 42}"}<|fn_end|>
```
Note, that `arguments` is a JSON string in order to comply with the OpenAI format.
The purpose of this dataset is to give function calling abilities to your LLM. The dataset includes features related to conversations and function calling, such as conversation content, whether functions are enabled, and whether a function is called. The dataset is divided into a training set, containing 86864 examples. The dataset format supports function call requests, and the parameters are represented as JSON strings to comply with the OpenAI format.
提供机构:
StarfleetAI
原始信息汇总
数据集概述
基本信息
- 语言: 英语
- 许可证: Apache 2.0
- 数据集大小: 10K<n<100K
- 任务类别: 对话
数据集详情
特征
- conversations:
- from: 字符串类型
- value: 字符串类型
- functions_enabled: 布尔类型
- function_called: 布尔类型
数据分割
- train:
- 字节数: 130998694
- 样本数: 86864
下载和数据集大小
- 下载大小: 45215003
- 数据集大小: 130998694
配置
- default:
- 数据文件:
- split: train
- path: data/train-*
- 数据文件:



