five

heegyu/glaive-function-calling-v2-formatted

收藏
Hugging Face2023-12-17 更新2024-03-04 收录
下载链接:
https://hf-mirror.com/datasets/heegyu/glaive-function-calling-v2-formatted
下载链接
链接失效反馈
官方服务:
资源简介:
--- configs: - config_name: default data_files: - split: train path: data/train-* dataset_info: features: - name: system_message dtype: string - name: function_description dtype: string - name: conversations list: - name: content dtype: string - name: role dtype: string splits: - name: train num_bytes: 250214164 num_examples: 112960 download_size: 93753668 dataset_size: 250214164 --- - original dataset: [glaiveai/glaive-function-calling-v2](https://huggingface.co/datasets/glaiveai/glaive-function-calling-v2) ``` {'system_message': 'You are a helpful assistant with access to the following functions. Use them if required -', 'function_description': '{\n "name": "get_random_quote",\n "description": "Get a random quote",\n "parameters": {}\n}', 'conversations': [{'content': 'Hi, can you help me with something?', 'role': 'user'}, {'content': "Of course! I'm here to assist you. What do you need help with?", 'role': 'assistant'}, {'content': 'I need to book a flight from New York to Paris. Can you do that for me?', 'role': 'user'}, {'content': "I'm sorry, but as an AI, I don't have the capability to book flights or perform external tasks. My current function allows me to provide you with a random quote. Would you like to hear a quote instead?", 'role': 'assistant'}, {'content': 'Oh, I see. Sure, I would love to hear a random quote.', 'role': 'user'}, {'content': '{"name": "get_random_quote", "arguments": {}}', 'role': 'function-call'}, {'content': '{"quote": "The only way to do great work is to love what you do. - Steve Jobs"}', 'role': 'function-response'}, {'content': 'Here is a quote for you: "The only way to do great work is to love what you do." - Steve Jobs. I hope it inspires you!', 'role': 'assistant'}]} ```
提供机构:
heegyu
原始信息汇总

数据集概述

数据集配置

  • 配置名称: default
  • 数据文件:
    • 分割: train
    • 路径: data/train-*

数据集信息

  • 特征:
    • 名称: system_message
      • 数据类型: string
    • 名称: function_description
      • 数据类型: string
    • 名称: conversations
      • 列表:
        • 名称: content
          • 数据类型: string
        • 名称: role
          • 数据类型: string
  • 分割:
    • 名称: train
      • 字节数: 250214164
      • 样本数: 112960
  • 下载大小: 93753668
  • 数据集大小: 250214164

示例数据

  • system_message: "You are a helpful assistant with access to the following functions. Use them if required -"

  • function_description: json { "name": "get_random_quote", "description": "Get a random quote", "parameters": {} }

  • conversations:

    • 内容: "Hi, can you help me with something?"
      • 角色: user
    • 内容: "Of course! Im here to assist you. What do you need help with?"
      • 角色: assistant
    • 内容: "I need to book a flight from New York to Paris. Can you do that for me?"
      • 角色: user
    • 内容: "Im sorry, but as an AI, I dont have the capability to book flights or perform external tasks. My current function allows me to provide you with a random quote. Would you like to hear a quote instead?"
      • 角色: assistant
    • 内容: "Oh, I see. Sure, I would love to hear a random quote."
      • 角色: user
    • 内容: {"name": "get_random_quote", "arguments": {}}
      • 角色: function-call
    • 内容: {"quote": "The only way to do great work is to love what you do. - Steve Jobs"}
      • 角色: function-response
    • 内容: Here is a quote for you: "The only way to do great work is to love what you do." - Steve Jobs. I hope it inspires you!
      • 角色: assistant
5,000+
优质数据集
54 个
任务类型
进入经典数据集
二维码
社区交流群

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

二维码
科研交流群

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

数据驱动未来

携手共赢发展

商业合作