遇见数据集

plaguss/function_calling_dataset_seed

收藏
Hugging Face2024-05-30 更新2024-06-12 收录
官方服务:

资源简介:

该数据集是通过distilabel工具创建的,包含一个`pipeline.yaml`文件,用于重现生成数据集的流程。数据集的结构包括一个默认配置,其中包含一个名为`code_interpreter`的函数,该函数用于执行Python代码字符串。数据集的加载方法也提供了详细的说明。

该数据集是通过distilabel工具创建的,包含一个`pipeline.yaml`文件,用于重现生成数据集的流程。数据集的结构包括一个默认配置,其中包含一个名为`code_interpreter`的函数,该函数用于执行Python代码字符串。数据集的加载方法也提供了详细的说明。

提供机构:
plaguss
原始信息汇总

数据集概述

数据集名称

function_calling_dataset_seed

数据集创建工具

该数据集使用distilabel创建。

数据集概要

本数据集包含一个pipeline.yaml文件,可用于在distilabel中重现生成该数据集的流程。

数据集结构

数据集的示例结构如下:

配置: default

json { "function": { "description": "Execute the provided Python code string on the terminal using exec.", "name": "code_interpreter", "parameters": { "properties": { "code_markdown": { "type": "string" } }, "required": [ "code_markdown" ], "type": "object" } }, "generation": "What is the output of the following code?", "generation_model": "/Users/agus/Downloads/openhermes-2.5-mistral-7b.Q4_K_M.gguf", "instruction": "You will be given a python function with a name and a description of what it does.", "tools": [ { "function": { "description": "Execute the provided Python code string on the terminal using exec.", "name": "code_interpreter", "parameters": { "properties": { "code_markdown": { "type": "string" } }, "required": [ "code_markdown" ], "type": "object" } }, "type": "function" } ], "type": "function" }

数据集加载

数据集可以通过以下Python代码加载:

python from datasets import load_dataset

ds = load_dataset("plaguss/function_calling_dataset_seed")

二维码
社区交流群
二维码
科研交流群
商业服务