File size: 8,728 Bytes
86d0c3c
42b185f
86d0c3c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
42b185f
 
 
 
86d0c3c
42b185f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
---
size_categories: n<1K
dataset_info:
  features:
  - name: instruction
    dtype: string
  - name: completion
    dtype: string
  - name: meta
    struct:
    - name: category
      dtype: string
    - name: completion
      dtype: string
    - name: id
      dtype: int64
    - name: input
      dtype: 'null'
    - name: motivation_app
      dtype: 'null'
    - name: prompt
      dtype: string
    - name: source
      dtype: string
    - name: subcategory
      dtype: string
  - name: generation
    dtype: string
  - name: distilabel_metadata
    struct:
    - name: raw_input_text_generation_0
      list:
      - name: content
        dtype: string
      - name: role
        dtype: string
    - name: raw_output_text_generation_0
      dtype: string
  - name: model_name
    dtype: string
  splits:
  - name: train
    num_bytes: 48011
    num_examples: 10
  download_size: 61085
  dataset_size: 48011
configs:
- config_name: default
  data_files:
  - split: train
    path: data/train-*
tags:
- synthetic
- distilabel
- rlaif
---

<p align="left">
  <a href="https://github.com/argilla-io/distilabel">
    <img src="https://raw.githubusercontent.com/argilla-io/distilabel/main/docs/assets/distilabel-badge-light.png" alt="Built with Distilabel" width="200" height="32"/>
  </a>
</p>

# Dataset Card for poc-distilabel

This dataset has been created with [distilabel](https://distilabel.argilla.io/).



## Dataset Summary

This dataset contains a `pipeline.yaml` which can be used to reproduce the pipeline that generated it in distilabel using the `distilabel` CLI:

```console
distilabel pipeline run --config "https://huggingface.co/datasets/tony3918/poc-distilabel/raw/main/pipeline.yaml"
```

or explore the configuration:

```console
distilabel pipeline info --config "https://huggingface.co/datasets/tony3918/poc-distilabel/raw/main/pipeline.yaml"
```

## Dataset structure

The examples have the following structure per configuration:


<details><summary> Configuration: default </summary><hr>

```json
{
    "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",
    "distilabel_metadata": {
        "raw_input_text_generation_0": [
            {
                "content": "You are a creative AI Assistant writer.",
                "role": "system"
            },
            {
                "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?",
                "role": "user"
            }
        ],
        "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"
    },
    "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",
    "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?",
    "meta": {
        "category": "Question Answering",
        "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",
        "id": 0,
        "input": null,
        "motivation_app": null,
        "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?",
        "source": "surge",
        "subcategory": "Math"
    },
    "model_name": "meta-llama/Llama-3.2-3B-Instruct"
}
```

This subset can be loaded as:

```python
from datasets import load_dataset

ds = load_dataset("tony3918/poc-distilabel", "default")
```

Or simply as it follows, since there's only one configuration and is named `default`: 

```python
from datasets import load_dataset

ds = load_dataset("tony3918/poc-distilabel")
```


</details>