MattiaL commited on
Commit
d70b716
·
1 Parent(s): 6732e25

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +80 -0
README.md CHANGED
@@ -1,3 +1,83 @@
1
  ---
2
  license: cc-by-nc-4.0
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: cc-by-nc-4.0
3
+ language:
4
+ - en
5
+ tags:
6
+ - instruction-finetuning
7
+ pretty_name: Tapir-Cleaned
8
+ task_categories:
9
+ - text-generation
10
+ size_categories:
11
+ - 100K<n<1M
12
  ---
13
+ # Dataset Card for Tapir-Cleaned
14
+
15
+ This is a revised version of the DAISLab dataset of IFTTT rules, which has been thoroughly cleaned, scored, and adjusted for the purpose of instruction-tuning.
16
+
17
+ ## Tapir Dataset Summary
18
+
19
+ Tapir is a subset of the larger DAISLab dataset, which comprises 242,480 recipes extracted from the IFTTT platform.
20
+
21
+ After a thorough cleaning process that involved the removal of redundant and inconsistent recipes, the refined dataset was condensed to include 116,862 high-quality recipes.
22
+
23
+ This curated set of instruction data is particularly useful for conducting instruction-tuning exercises for language models,
24
+ allowing them to more accurately follow instructions and achieve superior performance.
25
+
26
+ The last version of Tapir includes a correlation score that helps to identify the most appropriate description-rule pairs for instruction tuning.
27
+ Description-rule pairs with a score greater than 0.75 are deemed good enough and are prioritized for further analysis and tuning.
28
+
29
+ ### Supported Tasks and Leaderboards
30
+
31
+ The Tapir dataset designed for instruction training pretrained language models
32
+
33
+ ### Languages
34
+
35
+ The data in Tapir are mainly in English (BCP-47 en).
36
+
37
+ # Dataset Structure
38
+
39
+ ### Data Instances
40
+
41
+ ```json
42
+ {
43
+ "instruction":"From the description of a rule: identify the 'trigger', identify the 'action', write a IF 'trigger' THEN 'action' rule.",
44
+ "input":"If lostphone is texted to my phone the volume will turn up to 100 so I can find it.",
45
+ "output":"IF Android SMS New SMS received matches search THEN Android Device Set ringtone volume",
46
+ "score":"0.804322",
47
+ "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 lostphone is texted to my phone the volume will turn up to 100 so I can find it.\n\n### Response:\nIF Android SMS New SMS received matches search THEN Android Device Set ringtone volume",
48
+ }
49
+ ```
50
+
51
+ ### Data Fields
52
+
53
+ The data fields are as follows:
54
+
55
+ * `instruction`: describes the task the model should perform.
56
+ * `input`: context or input for the task. Each of the 68K input is unique.
57
+ * `output`: the answer taken from the original Tapir Dataset formatted as an IFTTT recipe.
58
+ * `score`: the correlation score obtained via BertForNextSentencePrediction
59
+ * `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.
60
+
61
+ ### Data Splits
62
+
63
+ | | train |
64
+ |---------------|------:|
65
+ | tapir | 116862 |
66
+
67
+ ### Licensing Information
68
+
69
+ The dataset is available under the [Creative Commons NonCommercial (CC BY-NC 4.0)](https://creativecommons.org/licenses/by-nc/4.0/legalcode).
70
+
71
+
72
+ ### Citation Information
73
+
74
+ ```
75
+ @misc{tapir,
76
+ author = {Mattia Limone, Gaetano Cimino, Annunziata Elefante},
77
+ title = {TAPIR: Trigger Action Platform for Information Retrieval},
78
+ year = {2023},
79
+ publisher = {GitHub},
80
+ journal = {GitHub repository},
81
+ howpublished = {\url{https://github.com/MattiaLimone/ifttt_recommendation_system}},
82
+ }
83
+ ```