JeganRavichandran
commited on
Commit
•
0a990a3
1
Parent(s):
9ab9741
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
@@ -1,51 +1,144 @@
|
|
1 |
-
---
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
size_categories: n<1K
|
3 |
+
dataset_info:
|
4 |
+
features:
|
5 |
+
- name: instruction
|
6 |
+
dtype: string
|
7 |
+
- name: completion
|
8 |
+
dtype: string
|
9 |
+
- name: meta
|
10 |
+
struct:
|
11 |
+
- name: category
|
12 |
+
dtype: string
|
13 |
+
- name: completion
|
14 |
+
dtype: string
|
15 |
+
- name: id
|
16 |
+
dtype: int64
|
17 |
+
- name: input
|
18 |
+
dtype: 'null'
|
19 |
+
- name: motivation_app
|
20 |
+
dtype: 'null'
|
21 |
+
- name: prompt
|
22 |
+
dtype: string
|
23 |
+
- name: source
|
24 |
+
dtype: string
|
25 |
+
- name: subcategory
|
26 |
+
dtype: string
|
27 |
+
- name: generation
|
28 |
+
dtype: 'null'
|
29 |
+
- name: distilabel_metadata
|
30 |
+
struct:
|
31 |
+
- name: raw_input_text_generation_0
|
32 |
+
list:
|
33 |
+
- name: content
|
34 |
+
dtype: string
|
35 |
+
- name: role
|
36 |
+
dtype: string
|
37 |
+
- name: raw_output_text_generation_0
|
38 |
+
dtype: 'null'
|
39 |
+
- name: model_name
|
40 |
+
dtype: string
|
41 |
+
splits:
|
42 |
+
- name: train
|
43 |
+
num_bytes: 21885
|
44 |
+
num_examples: 10
|
45 |
+
download_size: 23656
|
46 |
+
dataset_size: 21885
|
47 |
+
configs:
|
48 |
+
- config_name: default
|
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 distilabel-example
|
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/JeganRavichandran/distilabel-example/raw/main/pipeline.yaml"
|
76 |
+
```
|
77 |
+
|
78 |
+
or explore the configuration:
|
79 |
+
|
80 |
+
```console
|
81 |
+
distilabel pipeline info --config "https://huggingface.co/datasets/JeganRavichandran/distilabel-example/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": null
|
106 |
+
},
|
107 |
+
"generation": null,
|
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/Meta-Llama-3.1-8B-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("JeganRavichandran/distilabel-example", "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("JeganRavichandran/distilabel-example")
|
137 |
+
```
|
138 |
+
|
139 |
+
|
140 |
+
</details>
|
141 |
+
|
142 |
+
|
143 |
+
|
144 |
+
|