Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
---
|
|
|
2 |
dataset_info:
|
3 |
features:
|
4 |
- name: instruction
|
@@ -48,4 +49,96 @@ configs:
|
|
48 |
data_files:
|
49 |
- split: train
|
50 |
path: data/train-*
|
|
|
|
|
|
|
|
|
51 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
size_categories: n<1K
|
3 |
dataset_info:
|
4 |
features:
|
5 |
- name: instruction
|
|
|
49 |
data_files:
|
50 |
- split: train
|
51 |
path: data/train-*
|
52 |
+
tags:
|
53 |
+
- synthetic
|
54 |
+
- distilabel
|
55 |
+
- rlaif
|
56 |
---
|
57 |
+
|
58 |
+
<p align="left">
|
59 |
+
<a href="https://github.com/argilla-io/distilabel">
|
60 |
+
<img src="https://raw.githubusercontent.com/argilla-io/distilabel/main/docs/assets/distilabel-badge-light.png" alt="Built with Distilabel" width="200" height="32"/>
|
61 |
+
</a>
|
62 |
+
</p>
|
63 |
+
|
64 |
+
# Dataset Card for poc-distilabel
|
65 |
+
|
66 |
+
This dataset has been created with [distilabel](https://distilabel.argilla.io/).
|
67 |
+
|
68 |
+
|
69 |
+
|
70 |
+
## Dataset Summary
|
71 |
+
|
72 |
+
This dataset contains a `pipeline.yaml` which can be used to reproduce the pipeline that generated it in distilabel using the `distilabel` CLI:
|
73 |
+
|
74 |
+
```console
|
75 |
+
distilabel pipeline run --config "https://huggingface.co/datasets/tony3918/poc-distilabel/raw/main/pipeline.yaml"
|
76 |
+
```
|
77 |
+
|
78 |
+
or explore the configuration:
|
79 |
+
|
80 |
+
```console
|
81 |
+
distilabel pipeline info --config "https://huggingface.co/datasets/tony3918/poc-distilabel/raw/main/pipeline.yaml"
|
82 |
+
```
|
83 |
+
|
84 |
+
## Dataset structure
|
85 |
+
|
86 |
+
The examples have the following structure per configuration:
|
87 |
+
|
88 |
+
|
89 |
+
<details><summary> Configuration: default </summary><hr>
|
90 |
+
|
91 |
+
```json
|
92 |
+
{
|
93 |
+
"completion": "Denote the number of chocolates each person has by the letter of their first name. We know that\nA = D + 12\nD = R + 6\nA = 2 * R\n\nThus, A = (R + 6) + 12 = R + 18\nSince also A = 2 * R, this means 2 * R = R + 18\nHence R = 18\nHence D = 18 + 6 = 24",
|
94 |
+
"distilabel_metadata": {
|
95 |
+
"raw_input_text_generation_0": [
|
96 |
+
{
|
97 |
+
"content": "You are a creative AI Assistant writer.",
|
98 |
+
"role": "system"
|
99 |
+
},
|
100 |
+
{
|
101 |
+
"content": "Follow the following instruction: Arianna has 12 chocolates more than Danny. Danny has 6 chocolates more than Robbie. Arianna has twice as many chocolates as Robbie has. How many chocolates does Danny have?",
|
102 |
+
"role": "user"
|
103 |
+
}
|
104 |
+
],
|
105 |
+
"raw_output_text_generation_0": "Let\u0027s break down the information we have:\n\n1. Arianna has 12 chocolates more than Danny.\n2. Danny has 6 chocolates more than Robbie.\n3. Arianna has twice as many chocolates as Robbie.\n\nFrom statement 3, we know that Arianna\u0027s chocolates = 2 * Robbie\u0027s chocolates.\n\nFrom statement 2, we can write an equation: \nDanny\u0027s chocolates = Robbie\u0027s chocolates + 6.\n\nNow, let\u0027s substitute the value of Robbie\u0027s chocolates from statement 3 into the equation from statement 2:\nDanny\u0027s chocolates = 2 * Robbie\u0027s chocolates + 6\nSince we know Danny\u0027s chocolates are also equal to Arianna\u0027s chocolates minus 12 (from statement 1), we can set up another equation:\nDanny\u0027s chocolates = Arianna\u0027s chocolates - 12\n\nNow we have two equations:\n1. Danny\u0027s chocolates = Arianna\u0027s chocolates - 12\n2. Danny\u0027s chocolates = 2 * Robbie\u0027s chocolates + 6\nEquating both equations, we get:\nArianna\u0027s chocolates - 12 = 2 * Robbie\u0027s chocolates + 6\nFrom statement 3, we can simplify it to:\n2 * Robbie\u0027s chocolates - 12 = 2 * Robbie\u0027s chocolates + 6\nNow subtract 2 * Robbie\u0027s chocolates from both sides:\n-12 = 6\nThis equation is not solvable, so let\u0027s go back to statement 3 and rewrite it as:\nArianna\u0027s chocolates = 2 * Robbie\u0027s chocolates\nWe can express Arianna\u0027s chocolates in terms of Robbie\u0027s chocolates:\nArianna\u0027s chocolates = 2 * Robbie\u0027s chocolates\nNow substitute Arianna\u0027s chocolates in the first equation:\nDanny\u0027s chocolates = 2 * Robbie\u0027s chocolates - 12\n\nWe can express Danny\u0027s chocolates in terms of Robbie\u0027s chocolates:\nDanny\u0027s chocolates = 2 * Robbie\u0027s chocolates - 12\n\nNow we have two equations:\n1. Danny\u0027s chocolates = 2 * Robbie\u0027s chocolates - 12\n2. Arianna\u0027s chocolates = 2 * Robbie\u0027s chocolates\nSubstituting Arianna\u0027s chocolates in the first equation:\n2 * Robbie\u0027s chocolates - 12 = 2 * Robbie\u0027s chocolates\nSubtract 2 * Robbie\u0027s chocolates from both sides:\n-12 = 0\nThis equation is still not solvable, let\u0027s try a different approach.\n\nLet\u0027s use the original information:\nArianna has 12 chocolates more than Danny.\nArianna has twice as many"
|
106 |
+
},
|
107 |
+
"generation": "Let\u0027s break down the information we have:\n\n1. Arianna has 12 chocolates more than Danny.\n2. Danny has 6 chocolates more than Robbie.\n3. Arianna has twice as many chocolates as Robbie.\n\nFrom statement 3, we know that Arianna\u0027s chocolates = 2 * Robbie\u0027s chocolates.\n\nFrom statement 2, we can write an equation: \nDanny\u0027s chocolates = Robbie\u0027s chocolates + 6.\n\nNow, let\u0027s substitute the value of Robbie\u0027s chocolates from statement 3 into the equation from statement 2:\nDanny\u0027s chocolates = 2 * Robbie\u0027s chocolates + 6\nSince we know Danny\u0027s chocolates are also equal to Arianna\u0027s chocolates minus 12 (from statement 1), we can set up another equation:\nDanny\u0027s chocolates = Arianna\u0027s chocolates - 12\n\nNow we have two equations:\n1. Danny\u0027s chocolates = Arianna\u0027s chocolates - 12\n2. Danny\u0027s chocolates = 2 * Robbie\u0027s chocolates + 6\nEquating both equations, we get:\nArianna\u0027s chocolates - 12 = 2 * Robbie\u0027s chocolates + 6\nFrom statement 3, we can simplify it to:\n2 * Robbie\u0027s chocolates - 12 = 2 * Robbie\u0027s chocolates + 6\nNow subtract 2 * Robbie\u0027s chocolates from both sides:\n-12 = 6\nThis equation is not solvable, so let\u0027s go back to statement 3 and rewrite it as:\nArianna\u0027s chocolates = 2 * Robbie\u0027s chocolates\nWe can express Arianna\u0027s chocolates in terms of Robbie\u0027s chocolates:\nArianna\u0027s chocolates = 2 * Robbie\u0027s chocolates\nNow substitute Arianna\u0027s chocolates in the first equation:\nDanny\u0027s chocolates = 2 * Robbie\u0027s chocolates - 12\n\nWe can express Danny\u0027s chocolates in terms of Robbie\u0027s chocolates:\nDanny\u0027s chocolates = 2 * Robbie\u0027s chocolates - 12\n\nNow we have two equations:\n1. Danny\u0027s chocolates = 2 * Robbie\u0027s chocolates - 12\n2. Arianna\u0027s chocolates = 2 * Robbie\u0027s chocolates\nSubstituting Arianna\u0027s chocolates in the first equation:\n2 * Robbie\u0027s chocolates - 12 = 2 * Robbie\u0027s chocolates\nSubtract 2 * Robbie\u0027s chocolates from both sides:\n-12 = 0\nThis equation is still not solvable, let\u0027s try a different approach.\n\nLet\u0027s use the original information:\nArianna has 12 chocolates more than Danny.\nArianna has twice as many",
|
108 |
+
"instruction": "Arianna has 12 chocolates more than Danny. Danny has 6 chocolates more than Robbie. Arianna has twice as many chocolates as Robbie has. How many chocolates does Danny have?",
|
109 |
+
"meta": {
|
110 |
+
"category": "Question Answering",
|
111 |
+
"completion": "Denote the number of chocolates each person has by the letter of their first name. We know that\nA = D + 12\nD = R + 6\nA = 2 * R\n\nThus, A = (R + 6) + 12 = R + 18\nSince also A = 2 * R, this means 2 * R = R + 18\nHence R = 18\nHence D = 18 + 6 = 24",
|
112 |
+
"id": 0,
|
113 |
+
"input": null,
|
114 |
+
"motivation_app": null,
|
115 |
+
"prompt": "Arianna has 12 chocolates more than Danny. Danny has 6 chocolates more than Robbie. Arianna has twice as many chocolates as Robbie has. How many chocolates does Danny have?",
|
116 |
+
"source": "surge",
|
117 |
+
"subcategory": "Math"
|
118 |
+
},
|
119 |
+
"model_name": "meta-llama/Llama-3.2-3B-Instruct"
|
120 |
+
}
|
121 |
+
```
|
122 |
+
|
123 |
+
This subset can be loaded as:
|
124 |
+
|
125 |
+
```python
|
126 |
+
from datasets import load_dataset
|
127 |
+
|
128 |
+
ds = load_dataset("tony3918/poc-distilabel", "default")
|
129 |
+
```
|
130 |
+
|
131 |
+
Or simply as it follows, since there's only one configuration and is named `default`:
|
132 |
+
|
133 |
+
```python
|
134 |
+
from datasets import load_dataset
|
135 |
+
|
136 |
+
ds = load_dataset("tony3918/poc-distilabel")
|
137 |
+
```
|
138 |
+
|
139 |
+
|
140 |
+
</details>
|
141 |
+
|
142 |
+
|
143 |
+
|
144 |
+
|