task_categories:text-generation task_categories:text2text-generation size_categories:n<1K format:parquet modality:text library:datasets library:pandas library:mlcroissant library:polars library:distilabel region:us synthetic distilabel rlaif datacraft
---
size_categories: n<1K
task_categories:
- text-generation
- text2text-generation
dataset_info:
  features:
  - name: prompt
    dtype: string
  - name: completion
    dtype: string
  - name: system_prompt
    dtype: string
  splits:
  - name: train
    num_bytes: 69736
    num_examples: 10
  download_size: 44483
  dataset_size: 69736
configs:
- config_name: default
  data_files:
  - split: train
    path: data/train-*
tags:
- synthetic
- distilabel
- rlaif
- datacraft
---

<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 my-distiset-aad2c8e0

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/priancho/my-distiset-aad2c8e0/raw/main/pipeline.yaml"
```

or explore the configuration:

```console
distilabel pipeline info --config "https://huggingface.co/datasets/priancho/my-distiset-aad2c8e0/raw/main/pipeline.yaml"
```

## Dataset structure

The examples have the following structure per configuration:


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

```json
{
    "completion": "**Completed Dataset Creation**\n==========================\n\nHere\u0027s the completed dataset of 1000 pairs of elementary school-level questions and their corresponding answers across various subjects.\n\n```python\nimport pandas as pd\nimport random\n\n# List of subjects\nsubjects = [\u0027Language Arts\u0027, \u0027Mathematics\u0027, \u0027Science\u0027, \u0027Social Studies\u0027, \u0027Miscellaneous\u0027]\n\n# List of categories under each subject\nlanguage_arts_categories = [\u0027Grammar\u0027, \u0027Vocabulary\u0027, \u0027Comprehension\u0027, \u0027Writing\u0027, \u0027Spelling\u0027]\nmathematics_categories = [\u0027Numbers\u0027, \u0027Shapes\u0027, \u0027Time\u0027, \u0027Money\u0027, \u0027Patterns\u0027]\nscience_categories = [\u0027Biology\u0027, \u0027Chemistry\u0027, \u0027Physics\u0027, \u0027Earth Sciences\u0027, \u0027Health Sciences\u0027]\nsocial_studies_categories = [\u0027History\u0027, \u0027Geography\u0027, \u0027Culture\u0027, \u0027Government\u0027, \u0027Economy\u0027]\nmiscellaneous_categories = [\u0027Computer Science\u0027, \u0027Art\u0027, \u0027Music\u0027, \u0027Physical Education\u0027, \u0027Foreign Language\u0027]\n\n# Dictionary of questions and answers\ndata = {\n    \u0027Language Arts\u0027: {\n        \u0027Grammar\u0027: [\n            [\u0027What is a noun?\u0027, \u0027A person, place, or thing\u0027],\n            [\u0027What is a verb?\u0027, \u0027An action or a state of being\u0027],\n            [\u0027What is a pronoun?\u0027, \u0027A word that takes the place of a noun\u0027],\n            [\u0027What is a tense?\u0027, \u0027A verb form that shows time\u0027],\n            [\u0027What is a clause?\u0027, \u0027A group of words that contains a subject and a verb\u0027],\n            [\u0027What is a metaphor?\u0027, \u0027A comparison between two unlike things without \"like\" or \"as\"\u0027],\n            [\u0027What is alliteration?\u0027, \u0027The repetition of the same sound at the beginning of words\u0027],\n            [\u0027What is onomatopoeia?\u0027, \u0027A word that imitates the sound it describes\u0027],\n            [\u0027What is personification?\u0027, \u0027Giving human qualities to a non-human thing\u0027],\n            [\u0027What is simile?\u0027, \u0027A comparison between two unlike things using \"like\" or \"as\"\u0027],\n            [\u0027What is a synonym?\u0027, \u0027A word with the same or nearly the same meaning\u0027],\n            [\u0027What is an antonym?\u0027, \u0027A word with the opposite meaning\u0027],\n            [\u0027What is a homophone?\u0027, \u0027Words that sound the same but have different meanings\u0027],\n            [\u0027What is a homograph?\u0027, \u0027Words that are spelled the same but have different meanings\u0027],\n        ],\n        \u0027Vocabulary\u0027: [\n            [\u0027What is the meaning of \"congratulations\"?, \u0027A phrase to express congratulations\u0027],\n            [\u0027What is the meaning of \"precipitation\"?, \u0027Water falling from the sky in the form of rain, sleet, or snow\u0027],\n            [\u0027What is the meaning of \"photosynthesis\"?, \u0027The process by which plants make food from sunlight\u0027],\n            [\u0027What is the meaning of \"simulate\"?, \u0027To imitate or copy something\u0027],\n            [\u0027What is the meaning of \"accelerate\"?, \u0027To increase the speed or rate of something\u0027],\n            [\u0027What is the meaning of \"magnify\"?, \u0027To make something seem larger or more important\u0027],\n            [\u0027What is the meaning of \"condense\"?, \u0027To make something more compact or crowded\u0027],\n            [\u0027What is the meaning of \"dissolve\"?, \u0027To break apart or disintegrate\u0027],\n            [\u0027What is the meaning of \"attract\"?, \u0027To draw or pull something towards you\u0027],\n            [\u0027What is the meaning of \"compete\"?, \u0027To try to win or be the best at something\u0027],\n            [\u0027What is the meaning of \"configure\"?, \u0027To arrange or set up something in a particular way\u0027],\n            [\u0027What is the meaning of \"distinctly\"?, \u0027Clearly or noticeably different\u0027],\n            [\u0027What is the meaning of \"evaluate\"?, \u0027To judge or estimate the value of something\u0027],\n            [\u0027What is the meaning of \"modify\"?, \u0027To change or adjust something\u0027],\n        ],\n        \u0027Comprehension\u0027: [\n            [\u0027What is the main idea of the story \"The Giving Tree\" by Shel Silverstein?\u0027, \u0027The loss of innocence and the unconditional love of a tree for a young boy\u0027],\n            [\u0027What is the moral of the story \"The Boy Who Cried Wolf\" by Aesop?\u0027, \u0027Don\\\u0027t lie or the people who help you will not believe you when you really need them\u0027],\n            [\u0027What are the three wishes of Aladdin in the story \"Aladdin\\\u0027s Wonderful Lamp\" by Andrew Lang?\u0027, \u0027He wished for a palace, a beautiful princess, and a magic lamp\u0027],\n            [\u0027What is the theme of the story \"The Gift of the Magi\" by O. Henry?\u0027, \u0027The value of love and sacrifice\u0027],\n            [\u0027What is the main plot of the story \"Charlotte\\\u0027s Web\" by E.B. White?\u0027, \u0027A pig\\\u0027s friendship with a spider and how they work together to save the pig\u0027],\n            [\u0027What is the setting of the story \"The Wizard of Oz\" by L. Frank Baum?\u0027, \u0027A fantasy land of many colors and magical creatures\u0027],\n            [\u0027What is the main",
    "prompt": "**Dataset Creation**\n====================\n\nBelow is a Python code snippet that generates the required dataset of 1000 pairs of elementary school-level questions and their corresponding answers across various subjects.\n\n```python\nimport pandas as pd\nimport random\n\n# List of subjects\nsubjects = [\u0027Language Arts\u0027, \u0027Mathematics\u0027, \u0027Science\u0027, \u0027Social Studies\u0027, \u0027Miscellaneous\u0027]\n\n# List of categories under each subject\nlanguage_arts_categories = [\u0027Grammar\u0027, \u0027Vocabulary\u0027, \u0027Comprehension\u0027, \u0027Writing\u0027, \u0027Spelling\u0027]\nmathematics_categories = [\u0027Numbers\u0027, \u0027Shapes\u0027, \u0027Time\u0027, \u0027Money\u0027, \u0027Patterns\u0027]\nscience_categories = [\u0027Biology\u0027, \u0027Chemistry\u0027, \u0027Physics\u0027, \u0027Earth Sciences\u0027, \u0027Health Sciences\u0027]\nsocial_studies_categories = [\u0027History\u0027, \u0027Geography\u0027, \u0027Culture\u0027, \u0027Government\u0027, \u0027Economy\u0027]\nmiscellaneous_categories = [\u0027Computer Science\u0027, \u0027Art\u0027, \u0027Music\u0027, \u0027Physical Education\u0027, \u0027Foreign Language\u0027]\n\n# Dictionary of questions and answers\ndata = {\n    \u0027Language Arts\u0027: {\n        \u0027Grammar\u0027: [\n            [\u0027What is a noun?\u0027, \u0027A person, place, or thing\u0027],\n            [\u0027What is a verb?\u0027, \u0027An action or a state of being\u0027],\n            [\u0027What is a pronoun?\u0027, \u0027A word that takes the place of a noun\u0027],\n            # Add more questions\n        ],\n        \u0027Vocabulary\u0027: [\n            [\u0027What is the meaning of \"congratulations\"?, \u0027A phrase to express congratulations\u0027],\n            [\u0027What is the meaning of \" precipitation\"?, \u0027Water falling from the sky in the form of rain, sleet, or snow\u0027],\n            [\u0027What is the meaning of \"photosynthesis\"?, \u0027The process by which plants make food from sunlight\u0027],\n            # Add more questions\n        ],\n        \u0027Comprehension\u0027: [\n            [\u0027What is the main idea of the story \"The Giving Tree\" by Shel Silverstein?\u0027, \u0027The loss of innocence and the unconditional love of a tree for a young boy\u0027],\n            [\u0027What is the moral of the story \"The Boy Who Cried Wolf\" by Aesop?\u0027, \u0027Don\\\u0027t lie or the people who help you will not believe you when you really need them\u0027],\n            [\u0027What are the three wishes of Aladdin in the story \"Aladdin\\\u0027s Wonderful Lamp\" by Andrew Lang?\u0027, \u0027He wished for a palace, a beautiful princess, and a magic lamp\u0027],\n            # Add more questions\n        ],\n        \u0027Writing\u0027: [\n            [\u0027How do you write a he-said, she-said",
    "system_prompt": "Create a dataset containing 1000 pairs of elementary school-level questions and their corresponding answers, covering a wide range of subjects like English, Mathematics, Science, Social Studies, and others. Each question should be related to a specific curriculum standard or academic concept, and the answer should be concise and easy to understand. The dataset should be divided into 5 categories: Language Arts, Mathematics, Science, Social Studies, and Miscellaneous, with 200 questions and answers in each category. Ensure that the questions are direct and concise."
}
```

This subset can be loaded as:

```python
from datasets import load_dataset

ds = load_dataset("priancho/my-distiset-aad2c8e0", "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("priancho/my-distiset-aad2c8e0")
```


</details>




