five

Dulsara/glaive-function-calling-v2

收藏
Hugging Face2024-03-17 更新2024-06-11 收录
下载链接:
https://hf-mirror.com/datasets/Dulsara/glaive-function-calling-v2
下载链接
链接失效反馈
官方服务:
资源简介:
--- license: apache-2.0 task_categories: - text-generation language: - en size_categories: - 100K<n<1M --- Modified version of the [glaiveai/glaive-function-calling-v2](https://huggingface.co/datasets/glaiveai/glaive-function-calling-v2) dataset All samples in the glaive dataset is converted into the following format for better interoperability ```json [ { "role":"system", "content":"You are a helpful assistant with access to the functions.", "functions":[ { "name":"generate_password", "description":"Generate a random password with specified criteria", "parameters":{ "type":"object", "properties":{ "length":{ "type":"integer", "description":"The length of the password" }, "include_numbers":{ "type":"boolean", "description":"Include numbers in the password" }, "include_special_characters":{ "type":"boolean", "description":"Include special characters in the password" } }, "required":[ "length" ] } } ] }, { "role":"user", "content":"I need a new password. Can you generate one for me?" }, { "role":"assistant", "content":"Of course! How long would you like your password to be? And do you want it to include numbers and special characters?" }, { "role":"user", "content":"I want it to be 12 characters long and yes, it should include both numbers and special characters." }, { "role":"function call", "content":{ "name":"generate_password", "arguments":{ "length": 12, "include_numbers": true, "include_special_characters": true } } }, { "role":"function response", "content":{ "password":"4#7gB6&9L1!0" } }, { "role":"assistant", "content":"Here is your new password: 4#7gB6&9L1!0. Please make sure to save it in a secure place." } ] ```
提供机构:
Dulsara
原始信息汇总

数据集概述

基本信息

  • 许可证: Apache-2.0
  • 任务类别: 文本生成
  • 语言: 英语
  • 数据集大小: 10万<n<100万

数据集内容

  • 该数据集是glaiveai/glaive-function-calling-v2的修改版本。

  • 所有样本已转换为以下格式以提高互操作性: json [ { "role":"system", "content":"You are a helpful assistant with access to the functions.", "functions":[ { "name":"generate_password", "description":"Generate a random password with specified criteria", "parameters":{ "type":"object", "properties":{ "length":{ "type":"integer", "description":"The length of the password" }, "include_numbers":{ "type":"boolean", "description":"Include numbers in the password" }, "include_special_characters":{ "type":"boolean", "description":"Include special characters in the password" } }, "required":[ "length" ] } } ] }, { "role":"user", "content":"I need a new password. Can you generate one for me?" }, { "role":"assistant", "content":"Of course! How long would you like your password to be? And do you want it to include numbers and special characters?" }, { "role":"user", "content":"I want it to be 12 characters long and yes, it should include both numbers and special characters." }, { "role":"function call", "content":{ "name":"generate_password", "arguments":{ "length": 12, "include_numbers": true, "include_special_characters": true } } }, { "role":"function response", "content":{ "password":"4#7gB6&9L1!0" } }, { "role":"assistant", "content":"Here is your new password: 4#7gB6&9L1!0. Please make sure to save it in a secure place." } ]

    • 包含系统、用户、助手和函数调用的交互样本。
    • 函数generate_password用于生成符合特定条件的随机密码。
5,000+
优质数据集
54 个
任务类型
进入经典数据集
二维码
社区交流群

面向社区/商业的数据集话题

二维码
科研交流群

面向高校/科研机构的开源数据集话题

数据驱动未来

携手共赢发展

商业合作