数据集:

MattiaL/tapir-cleaned-top90

英文

Tapir-Cleaned 数据集卡片

这是DAISLab IFTTT规则数据集的修订版本,经过彻底的清理、评分和调整,用于指导调优。

Tapir 数据集概述

Tapir是较大的DAISLab数据集的子集,包括从IFTTT平台提取的242,480个规则。

经过彻底的清理过程,包括去除冗余和不一致的规则,精简数据集收录了32,403个高质量的规则。

这个精选的指令数据集对于进行语言模型的指导调优非常有用,可以让模型更准确地遵循指令并获得更好的性能。

最新版本的Tapir包括一个相关分数,有助于识别最合适的描述-规则对以进行指导调优。相关分数大于0.75的描述-规则对视为足够好,并优先进行进一步分析和调优。

支持的任务和排行榜

Tapir数据集旨在为预训练语言模型的指导调优提供支持。

语言

Tapir数据主要使用英语(BCP-47 en)。

数据集结构

数据实例

{
    "instruction":"From the description of a rule: identify the 'trigger', identify the 'action', write a IF 'trigger' THEN 'action' rule.",
    "input":"If it's raining outside, you'll want some nice warm colors inside!",
    "output":"IF Weather Underground Current condition changes to THEN LIFX Change color of lights",
    "text": "Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.\n\n### Instruction:\nFrom the description of a rule: identify the 'trigger', identify the 'action', write a IF 'trigger' THEN 'action' rule.\n\n### Input:\nIf it's raining outside, you'll want some nice warm colors inside!\n\n### Response:\nIF Weather Underground Current condition changes to THEN LIFX Change color of lights",
}

数据字段

数据字段如下所示:

  • instruction:描述模型应执行的任务。
  • input:任务的上下文或输入。每个32k个输入都是唯一的。
  • output:从原始Tapir数据集中提取的答案,格式为IFTTT规则。
  • text:将instruction、input和output使用 prompt template 格式化,这是Alpaca作者用于微调模型的格式。

数据拆分

train
tapir 32403

许可信息

该数据集在 Creative Commons NonCommercial (CC BY-NC 4.0) 下提供。

引用信息

@misc{tapir,
  author = {Mattia Limone, Gaetano Cimino, Annunziata Elefante},
  title = {TAPIR: Trigger Action Platform for Information Retrieval},
  year = {2023},
  publisher = {GitHub},
  journal = {GitHub repository},
  howpublished = {\url{https://github.com/MattiaLimone/ifttt_recommendation_system}},
}