poc-distilabel / README.md
tony3918's picture
Upload README.md with huggingface_hub
42b185f verified
|
raw
history blame
8.73 kB
metadata
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

Built with Distilabel

Dataset Card for poc-distilabel

This dataset has been created with distilabel.

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:

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

or explore the configuration:

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:

Configuration: default
{
    "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:

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:

from datasets import load_dataset

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