vinaybabu commited on
Commit
f43a87a
·
verified ·
1 Parent(s): db9f24d

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +119 -37
README.md CHANGED
@@ -1,37 +1,119 @@
1
- ---
2
- dataset_info:
3
- features:
4
- - name: instruction
5
- dtype: string
6
- - name: generation
7
- dtype: string
8
- - name: distilabel_metadata
9
- struct:
10
- - name: raw_input_text_generation_0
11
- list:
12
- - name: content
13
- dtype: string
14
- - name: role
15
- dtype: string
16
- - name: raw_output_text_generation_0
17
- dtype: string
18
- - name: statistics_text_generation_0
19
- struct:
20
- - name: input_tokens
21
- dtype: int64
22
- - name: output_tokens
23
- dtype: int64
24
- - name: model_name
25
- dtype: string
26
- splits:
27
- - name: train
28
- num_bytes: 17686
29
- num_examples: 10
30
- download_size: 22060
31
- dataset_size: 17686
32
- configs:
33
- - config_name: default
34
- data_files:
35
- - split: train
36
- path: data/train-*
37
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ size_categories: n<1K
3
+ dataset_info:
4
+ features:
5
+ - name: instruction
6
+ dtype: string
7
+ - name: generation
8
+ dtype: string
9
+ - name: distilabel_metadata
10
+ struct:
11
+ - name: raw_input_text_generation_0
12
+ list:
13
+ - name: content
14
+ dtype: string
15
+ - name: role
16
+ dtype: string
17
+ - name: raw_output_text_generation_0
18
+ dtype: string
19
+ - name: statistics_text_generation_0
20
+ struct:
21
+ - name: input_tokens
22
+ dtype: int64
23
+ - name: output_tokens
24
+ dtype: int64
25
+ - name: model_name
26
+ dtype: string
27
+ splits:
28
+ - name: train
29
+ num_bytes: 17686
30
+ num_examples: 10
31
+ download_size: 22060
32
+ dataset_size: 17686
33
+ configs:
34
+ - config_name: default
35
+ data_files:
36
+ - split: train
37
+ path: data/train-*
38
+ tags:
39
+ - synthetic
40
+ - distilabel
41
+ - rlaif
42
+ ---
43
+
44
+ <p align="left">
45
+ <a href="https://github.com/argilla-io/distilabel">
46
+ <img src="https://raw.githubusercontent.com/argilla-io/distilabel/main/docs/assets/distilabel-badge-light.png" alt="Built with Distilabel" width="200" height="32"/>
47
+ </a>
48
+ </p>
49
+
50
+ # Dataset Card for distilabel-example
51
+
52
+ This dataset has been created with [distilabel](https://distilabel.argilla.io/).
53
+
54
+
55
+
56
+ ## Dataset Summary
57
+
58
+ This dataset contains a `pipeline.yaml` which can be used to reproduce the pipeline that generated it in distilabel using the `distilabel` CLI:
59
+
60
+ ```console
61
+ distilabel pipeline run --config "https://huggingface.co/datasets/vinaybabu/distilabel-example/raw/main/pipeline.yaml"
62
+ ```
63
+
64
+ or explore the configuration:
65
+
66
+ ```console
67
+ distilabel pipeline info --config "https://huggingface.co/datasets/vinaybabu/distilabel-example/raw/main/pipeline.yaml"
68
+ ```
69
+
70
+ ## Dataset structure
71
+
72
+ The examples have the following structure per configuration:
73
+
74
+
75
+ <details><summary> Configuration: default </summary><hr>
76
+
77
+ ```json
78
+ {
79
+ "distilabel_metadata": {
80
+ "raw_input_text_generation_0": [
81
+ {
82
+ "content": "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?",
83
+ "role": "user"
84
+ }
85
+ ],
86
+ "raw_output_text_generation_0": "Let the number of chocolates Robbie has be \\( r \\).\n\nFrom the problem, we know:\n\n1. Danny has 6 chocolates more than Robbie:\n \\[\n d = r + 6\n \\]\n\n2. Arianna has 12 chocolates more than Danny:\n \\[\n a = d + 12\n \\]\n\n3. Arianna has twice as many chocolates as Robbie:\n \\[\n a = 2r\n \\]\n\nWe can now substitute \\( d \\) into the equation for \\( a \\):\n\\[\na = (r + 6) + 12\n\\]\nThis",
87
+ "statistics_text_generation_0": {
88
+ "input_tokens": 45,
89
+ "output_tokens": 128
90
+ }
91
+ },
92
+ "generation": "Let the number of chocolates Robbie has be \\( r \\).\n\nFrom the problem, we know:\n\n1. Danny has 6 chocolates more than Robbie:\n \\[\n d = r + 6\n \\]\n\n2. Arianna has 12 chocolates more than Danny:\n \\[\n a = d + 12\n \\]\n\n3. Arianna has twice as many chocolates as Robbie:\n \\[\n a = 2r\n \\]\n\nWe can now substitute \\( d \\) into the equation for \\( a \\):\n\\[\na = (r + 6) + 12\n\\]\nThis",
93
+ "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?",
94
+ "model_name": "gpt-4o-mini"
95
+ }
96
+ ```
97
+
98
+ This subset can be loaded as:
99
+
100
+ ```python
101
+ from datasets import load_dataset
102
+
103
+ ds = load_dataset("vinaybabu/distilabel-example", "default")
104
+ ```
105
+
106
+ Or simply as it follows, since there's only one configuration and is named `default`:
107
+
108
+ ```python
109
+ from datasets import load_dataset
110
+
111
+ ds = load_dataset("vinaybabu/distilabel-example")
112
+ ```
113
+
114
+
115
+ </details>
116
+
117
+
118
+
119
+