Datasets:
Tasks:
Text Generation
Modalities:
Text
Formats:
json
Languages:
English
Size:
10K - 100K
Tags:
instruction-finetuning
License:
Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Dataset Card for Tapir-Cleaned
|
| 2 |
+
|
| 3 |
+
This is a cleaned version and modified for instruction-tuning of the DAISLab dataset of IFTTT rule
|
| 4 |
+
|
| 5 |
+
## Original Tapir Dataset Summary
|
| 6 |
+
|
| 7 |
+
Tapir is a dataset of 242,480 recipes extracted from IFTTT platform
|
| 8 |
+
After cleaning all the dataset, removing redundancy and not consistent recipe the cleaned version consist of 67,697 recipes.
|
| 9 |
+
|
| 10 |
+
This instruction data can be used to conduct instruction-tuning for language models and make the language model follow instruction better.
|
| 11 |
+
|
| 12 |
+
### Supported Tasks and Leaderboards
|
| 13 |
+
|
| 14 |
+
The Tapir dataset designed for instruction training pretrained language models
|
| 15 |
+
|
| 16 |
+
### Languages
|
| 17 |
+
|
| 18 |
+
The data in Tapir are mainly in English (BCP-47 en).
|
| 19 |
+
|
| 20 |
+
# Dataset Structure
|
| 21 |
+
|
| 22 |
+
### Data Instances
|
| 23 |
+
|
| 24 |
+
```json
|
| 25 |
+
{
|
| 26 |
+
"instruction":"From the description of a rule: identify the 'trigger', identify the 'action', write a IF 'trigger' THEN 'action' rule.",
|
| 27 |
+
"input":"If it's raining outside, you'll want some nice warm colors inside!",
|
| 28 |
+
"output":"IF Weather Underground Current condition changes to THEN LIFX Change color of lights"
|
| 29 |
+
"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",
|
| 30 |
+
}
|
| 31 |
+
```
|
| 32 |
+
|
| 33 |
+
### Data Fields
|
| 34 |
+
|
| 35 |
+
The data fields are as follows:
|
| 36 |
+
|
| 37 |
+
* `instruction`: describes the task the model should perform.
|
| 38 |
+
* `input`: context or input for the task. Each of the 68K input is unique.
|
| 39 |
+
* `output`: the answer taken from the original Tapir Dataset formatted as an IFTTT recipe
|
| 40 |
+
* `text`: the `instruction`, `input` and `output` formatted with the [prompt template](https://github.com/tatsu-lab/stanford_alpaca#data-release) used by the authors of Alpaca for fine-tuning their models.
|
| 41 |
+
|
| 42 |
+
### Data Splits
|
| 43 |
+
|
| 44 |
+
| | train |
|
| 45 |
+
|---------------|------:|
|
| 46 |
+
| tapir | 67697 |
|
| 47 |
+
|
| 48 |
+
### Licensing Information
|
| 49 |
+
|
| 50 |
+
The dataset is available under the [Creative Commons NonCommercial (CC BY-NC 4.0)](https://creativecommons.org/licenses/by-nc/4.0/legalcode).
|
| 51 |
+
|
| 52 |
+
|
| 53 |
+
### Citation Information
|
| 54 |
+
|
| 55 |
+
```
|
| 56 |
+
@misc{alpaca,
|
| 57 |
+
author = {Mattia Limone, Gaetano Cimino, Annunziata Elefante},
|
| 58 |
+
title = {TAPIR: Trigger Action Platform for Information Retrieval},
|
| 59 |
+
year = {2023},
|
| 60 |
+
publisher = {GitHub},
|
| 61 |
+
journal = {GitHub repository},
|
| 62 |
+
howpublished = {\url{https://github.com/MattiaLimone/ifttt_recommendation_system}},
|
| 63 |
+
}
|
| 64 |
+
```
|