Dataset Viewer
Auto-converted to Parquet Duplicate
conversation_id
stringlengths
24
29
instruction
stringlengths
12
5.72k
response
stringlengths
77
23.1k
conversations
listlengths
2
2
gen_input_configs
dict
gen_response_configs
dict
intent
stringlengths
30
550
knowledge
stringlengths
70
645
difficulty
stringclasses
5 values
difficulty_generator
stringclasses
1 value
input_quality
stringclasses
2 values
quality_explanation
stringlengths
171
1.27k
quality_generator
stringclasses
1 value
task_category
stringclasses
11 values
other_task_category
sequencelengths
0
10
task_category_generator
stringclasses
1 value
language
stringclasses
42 values
Llama-3.1-70B-Instruct_1
The duration of a process used to manufacture components is known to be normally distributed with a mean of 30 minutes and a standard deviation of 4 minutes. What is the probability of a time greater than 33 minutes being recorded?
<think> Okay, so I have this problem here about the duration of a manufacturing process. It says the time is normally distributed with a mean of 30 minutes and a standard deviation of 4 minutes. I need to find the probability that the time is greater than 33 minutes. Hmm, let me think about how to approach this. First...
[ { "from": "human", "value": "The duration of a process used to manufacture components is known to be normally distributed with a mean of 30 minutes and a standard deviation of 4 minutes. What is the probability of a time greater than 33 minutes being recorded?" }, { "from": "gpt", "value": "<thi...
{ "temperature": 0.8, "top_p": 1, "input_generator": "meta-llama/Meta-Llama-3.1-70B-Instruct", "seed": null, "pre_query_template": "<|begin_of_text|><|start_header_id|>user<|end_header_id|>\n\n" }
{ "prompt": "<|begin▁of▁sentence|><|User|>The duration of a process used to manufacture components is known to be normally distributed with a mean of 30 minutes and a standard deviation of 4 minutes. What is the probability of a time greater than 33 minutes being recorded?<|Assistant|>", "temperature": 0, "top_p"...
The user wants to calculate the probability of a time greater than 33 minutes being recorded in a normally distributed process with a mean of 30 minutes and a standard deviation of 4 minutes.
To solve this problem, the models need to know the concept of normal distribution, mean, standard deviation, and probability calculation.
medium
meta-llama/Meta-Llama-3-8B-Instruct
good
The user query is well-structured and provides all the necessary information to solve the problem. The query clearly states the distribution of the process duration, the mean, and the standard deviation. The question is also specific and well-defined, asking for the probability of a time greater than 33 minutes being r...
meta-llama/Meta-Llama-3-8B-Instruct
Math
[ "Data analysis" ]
meta-llama/Meta-Llama-3-8B-Instruct
EN
Llama-3.1-70B-Instruct_2
A committee is formed by randomly selecting \( m \) members from a group of \( n \) people. In how many ways can a committee of \( m \) people be formed from \( n \) people, where order does not matter?
<think> Okay, so I have this problem here: I need to figure out how many ways I can form a committee of \( m \) people from a group of \( n \) people, and the order doesn't matter. Hmm, sounds like a combinatorics question. Let me think about how to approach this. First, I remember that when the order doesn't matter, ...
[ { "from": "human", "value": "A committee is formed by randomly selecting \\( m \\) members from a group of \\( n \\) people. In how many ways can a committee of \\( m \\) people be formed from \\( n \\) people, where order does not matter?" }, { "from": "gpt", "value": "<think>\nOkay, so I have ...
{ "temperature": 0.8, "top_p": 1, "input_generator": "meta-llama/Meta-Llama-3.1-70B-Instruct", "seed": null, "pre_query_template": "<|begin_of_text|><|start_header_id|>user<|end_header_id|>\n\n" }
{ "prompt": "<|begin▁of▁sentence|><|User|>A committee is formed by randomly selecting \\( m \\) members from a group of \\( n \\) people. In how many ways can a committee of \\( m \\) people be formed from \\( n \\) people, where order does not matter?<|Assistant|>", "temperature": 0, "top_p": 1, "repetition_pe...
The user wants to find the number of ways to form a committee of m people from a group of n people, where order does not matter.
To solve this problem, the models need to know the concept of combinations and the formula for combinations (nCr) where order does not matter.
medium
meta-llama/Meta-Llama-3-8B-Instruct
good
The query is clear and well-structured, with a specific problem statement and a clear definition of the problem. The notation used is also correct and relevant to the problem. The only potential weakness is that the query does not explicitly state the assumption that the order of selection does not matter, which might ...
meta-llama/Meta-Llama-3-8B-Instruct
Math
[ "Information seeking" ]
meta-llama/Meta-Llama-3-8B-Instruct
EN
Llama-3.1-70B-Instruct_5
If the original price of a shirt is $25, a discount of 20% is applied. How much will you pay for the shirt after the discount?
<think> First, I need to determine the discount amount by calculating 20% of the original price of $25. Next, I'll subtract the discount from the original price to find the final amount to be paid. </think> To determine how much you will pay for the shirt after a 20% discount, follow these steps: 1. **Calculate the ...
[ { "from": "human", "value": "If the original price of a shirt is $25, a discount of 20% is applied. How much will you pay for the shirt after the discount?" }, { "from": "gpt", "value": "<think>\nFirst, I need to determine the discount amount by calculating 20% of the original price of $25.\n\nN...
{ "temperature": 0.8, "top_p": 1, "input_generator": "meta-llama/Meta-Llama-3.1-70B-Instruct", "seed": null, "pre_query_template": "<|begin_of_text|><|start_header_id|>user<|end_header_id|>\n\n" }
{ "prompt": "<|begin▁of▁sentence|><|User|>If the original price of a shirt is $25, a discount of 20% is applied. How much will you pay for the shirt after the discount?<|Assistant|>", "temperature": 0, "top_p": 1, "repetition_penalty": 1, "max_tokens": 16384, "stop_tokens": [ "<|begin▁of▁sentence|>", ...
The user wants to calculate the discounted price of a shirt
To solve this problem, the models need to know how to apply a percentage discount to a given price
easy
meta-llama/Meta-Llama-3-8B-Instruct
good
The query is clear and specific, asking a straightforward question about the application of a discount to the original price of a shirt. The context is limited to a single scenario, making it easy to understand the user's intent. However, the query could be improved by providing more context, such as the type of discou...
meta-llama/Meta-Llama-3-8B-Instruct
Math
[ "Information seeking" ]
meta-llama/Meta-Llama-3-8B-Instruct
EN
Llama-3.1-70B-Instruct_11
Every day, a certain number of guests arrive at a hotel. On the first day, 2 guests arrive. On the second day, 3 guests arrive. On the third day, 5 guests arrive. And on the fourth day, 8 guests arrive. If this pattern continues, on which day will 101 guests arrive?
<think> Okay, so I have this problem where guests arrive at a hotel each day, and the number of guests follows a specific pattern. On the first day, 2 guests arrive, then 3 on the second day, 5 on the third, and 8 on the fourth. I need to figure out on which day 101 guests will arrive. Hmm, let me think about this step...
[ { "from": "human", "value": "Every day, a certain number of guests arrive at a hotel. On the first day, 2 guests arrive. On the second day, 3 guests arrive. On the third day, 5 guests arrive. And on the fourth day, 8 guests arrive. If this pattern continues, on which day will 101 guests arrive?" }, { ...
{ "temperature": 0.8, "top_p": 1, "input_generator": "meta-llama/Meta-Llama-3.1-70B-Instruct", "seed": null, "pre_query_template": "<|begin_of_text|><|start_header_id|>user<|end_header_id|>\n\n" }
{ "prompt": "<|begin▁of▁sentence|><|User|>Every day, a certain number of guests arrive at a hotel. On the first day, 2 guests arrive. On the second day, 3 guests arrive. On the third day, 5 guests arrive. And on the fourth day, 8 guests arrive. If this pattern continues, on which day will 101 guests arrive?<|Assistan...
The user wants to find the day on which a certain number of guests will arrive at a hotel based on a given pattern.
To solve this problem, the models need to know the pattern of guest arrivals and be able to identify the next day in the sequence.
easy
meta-llama/Meta-Llama-3-8B-Instruct
good
The query is clear and specific, providing a sequence of events and a specific question. The user has provided all the necessary information to understand the problem. The only potential weakness is that the query does not explicitly state the pattern or rule behind the sequence of guests arriving, but it can be inferr...
meta-llama/Meta-Llama-3-8B-Instruct
Math
[ "Reasoning" ]
meta-llama/Meta-Llama-3-8B-Instruct
EN
Llama-3.1-70B-Instruct_13
The manager of a petroleum refinery expects a major shutdown to occur with one hundred percent certainty in either 250 days or 350 days. The manager wishes to determine the probability that the shutdown will occur sooner, that is, in 250 days.
<think> Okay, so I have this problem where a petroleum refinery manager is expecting a major shutdown, and it's going to happen for sure, but the uncertainty is whether it will happen in 250 days or 350 days. The manager wants to know the probability that the shutdown happens sooner, which is in 250 days. Hmm, interest...
[ { "from": "human", "value": "The manager of a petroleum refinery expects a major shutdown to occur with one hundred percent certainty in either 250 days or 350 days. The manager wishes to determine the probability that the shutdown will occur sooner, that is, in 250 days." }, { "from": "gpt", "v...
{ "temperature": 0.8, "top_p": 1, "input_generator": "meta-llama/Meta-Llama-3.1-70B-Instruct", "seed": null, "pre_query_template": "<|begin_of_text|><|start_header_id|>user<|end_header_id|>\n\n" }
{ "prompt": "<|begin▁of▁sentence|><|User|>The manager of a petroleum refinery expects a major shutdown to occur with one hundred percent certainty in either 250 days or 350 days. The manager wishes to determine the probability that the shutdown will occur sooner, that is, in 250 days.<|Assistant|>", "temperature": ...
The user wants to determine the probability of a shutdown occurring within a specific timeframe.
To solve this problem, the models need to know probability concepts, specifically conditional probability and the concept of 'sooner' in the context of two possible events.
medium
meta-llama/Meta-Llama-3-8B-Instruct
good
The query is clear and specific, providing all necessary information about the shutdown, including the expected timeframes and the manager's goal. The language is concise and easy to understand. The only minor weakness is that the query could be more explicit about the specific probability the manager is looking for (e...
meta-llama/Meta-Llama-3-8B-Instruct
Math
[ "Information seeking" ]
meta-llama/Meta-Llama-3-8B-Instruct
EN
Llama-3.1-70B-Instruct_15
Paco, a wallet manufacturer, makes 2 different models of wallets: Standard and Premium. Each Standard wallet requires 2 units of material A and 3 units of material B. Each Premium wallet requires 3 units of material A and 2 units of material B. Paco has 120 units of material A and 100 units of material B available. How...
<think> First, I need to define the variables for the number of Standard and Premium wallets Paco can produce. Let S represent the number of Standard wallets and P represent the number of Premium wallets. Next, I'll set up the constraints based on the available materials. Each Standard wallet requires 2 units of mater...
[ { "from": "human", "value": "Paco, a wallet manufacturer, makes 2 different models of wallets: Standard and Premium. Each Standard wallet requires 2 units of material A and 3 units of material B. Each Premium wallet requires 3 units of material A and 2 units of material B. Paco has 120 units of material A a...
{ "temperature": 0.8, "top_p": 1, "input_generator": "meta-llama/Meta-Llama-3.1-70B-Instruct", "seed": null, "pre_query_template": "<|begin_of_text|><|start_header_id|>user<|end_header_id|>\n\n" }
{ "prompt": "<|begin▁of▁sentence|><|User|>Paco, a wallet manufacturer, makes 2 different models of wallets: Standard and Premium. Each Standard wallet requires 2 units of material A and 3 units of material B. Each Premium wallet requires 3 units of material A and 2 units of material B. Paco has 120 units of material ...
The user wants to determine the maximum number of Premium wallets Paco can make with the available materials.
To solve this problem, the models need to know the material requirements for each type of wallet, the available quantities of materials, and basic arithmetic operations such as multiplication and division.
medium
meta-llama/Meta-Llama-3-8B-Instruct
good
The query is clear and well-structured, providing all the necessary information about the wallet manufacturer, the materials required for each model, and the available quantities. The query is also specific, asking a precise question about the number of Premium wallets that can be made with the available materials. The...
meta-llama/Meta-Llama-3-8B-Instruct
Math
[ "Reasoning" ]
meta-llama/Meta-Llama-3-8B-Instruct
EN
Llama-3.1-70B-Instruct_16
The first term of a geometric series is 3, and the common ratio is 2. How many terms are in the geometric series if the sum of the series is 3071?
<think> Okay, so I have this problem here about a geometric series. The first term is 3, the common ratio is 2, and the sum of the series is 3071. I need to find out how many terms are in the series. Hmm, let me think about how to approach this. First, I remember that a geometric series is a series where each term is ...
[ { "from": "human", "value": "The first term of a geometric series is 3, and the common ratio is 2. How many terms are in the geometric series if the sum of the series is 3071?" }, { "from": "gpt", "value": "<think>\nOkay, so I have this problem here about a geometric series. The first term is 3,...
{ "temperature": 0.8, "top_p": 1, "input_generator": "meta-llama/Meta-Llama-3.1-70B-Instruct", "seed": null, "pre_query_template": "<|begin_of_text|><|start_header_id|>user<|end_header_id|>\n\n" }
{ "prompt": "<|begin▁of▁sentence|><|User|>The first term of a geometric series is 3, and the common ratio is 2. How many terms are in the geometric series if the sum of the series is 3071?<|Assistant|>", "temperature": 0, "top_p": 1, "repetition_penalty": 1, "max_tokens": 16384, "stop_tokens": [ "<|begi...
The user wants to find the number of terms in a geometric series given the first term and the common ratio, and the sum of the series.
To solve this problem, the models need to know the formula for the sum of a geometric series, and how to apply it to find the number of terms.
medium
meta-llama/Meta-Llama-3-8B-Instruct
good
The user query is clear and specific, providing the necessary information about the geometric series, including the first term and the common ratio. The query also specifies the problem to be solved, which is to find the number of terms in the series given the sum of the series. The query lacks only a minor detail, whi...
meta-llama/Meta-Llama-3-8B-Instruct
Math
[ "Information seeking" ]
meta-llama/Meta-Llama-3-8B-Instruct
EN
Llama-3.1-70B-Instruct_17
The average (arithmetic mean) of five distinct non-negative integers is 21. What is the sum of the integer values of the mode, median, and mean of the set?
<think> Okay, so I have this problem here: The average of five distinct non-negative integers is 21. I need to find the sum of the integer values of the mode, median, and mean of the set. Hmm, let me break this down step by step. First, let's recall what each term means. The average, or arithmetic mean, is given as 21...
[ { "from": "human", "value": "The average (arithmetic mean) of five distinct non-negative integers is 21. What is the sum of the integer values of the mode, median, and mean of the set?" }, { "from": "gpt", "value": "<think>\nOkay, so I have this problem here: The average of five distinct non-neg...
{ "temperature": 0.8, "top_p": 1, "input_generator": "meta-llama/Meta-Llama-3.1-70B-Instruct", "seed": null, "pre_query_template": "<|begin_of_text|><|start_header_id|>user<|end_header_id|>\n\n" }
{ "prompt": "<|begin▁of▁sentence|><|User|>The average (arithmetic mean) of five distinct non-negative integers is 21. What is the sum of the integer values of the mode, median, and mean of the set?<|Assistant|>", "temperature": 0, "top_p": 1, "repetition_penalty": 1, "max_tokens": 16384, "stop_tokens": [ ...
The user wants to solve a mathematical problem involving the average of five distinct non-negative integers and find the sum of the integer values of the mode, median, and mean of the set.
To solve this problem, the models need to know basic algebra, arithmetic mean, and median calculation, as well as understanding of the concept of mode.
medium
meta-llama/Meta-Llama-3-8B-Instruct
good
The query is well-structured and provides a clear mathematical problem. The language is formal and concise, making it easy to understand. The query also provides all the necessary information, including the definition of the average and the specific numbers involved. The only minor weakness is that it assumes the reade...
meta-llama/Meta-Llama-3-8B-Instruct
Math
[ "Reasoning" ]
meta-llama/Meta-Llama-3-8B-Instruct
EN
Llama-3.1-70B-Instruct_26
If $y = 2x^2 - 3x - 1,$ then which of the following is equal to $\frac{dy}{dx}$?
<think> Okay, so I have this problem here: If y equals 2x squared minus 3x minus 1, then which of the following is equal to dy/dx? Hmm, I need to find the derivative of y with respect to x. Alright, let me think about how to approach this. First, I remember that when you take a derivative, you're basically finding the...
[ { "from": "human", "value": "If $y = 2x^2 - 3x - 1,$ then which of the following is equal to $\\frac{dy}{dx}$?" }, { "from": "gpt", "value": "<think>\nOkay, so I have this problem here: If y equals 2x squared minus 3x minus 1, then which of the following is equal to dy/dx? Hmm, I need to find th...
{ "temperature": 0.8, "top_p": 1, "input_generator": "meta-llama/Meta-Llama-3.1-70B-Instruct", "seed": null, "pre_query_template": "<|begin_of_text|><|start_header_id|>user<|end_header_id|>\n\n" }
{ "prompt": "<|begin▁of▁sentence|><|User|>If $y = 2x^2 - 3x - 1,$ then which of the following is equal to $\\frac{dy}{dx}$?<|Assistant|>", "temperature": 0, "top_p": 1, "repetition_penalty": 1, "max_tokens": 16384, "stop_tokens": [ "<|begin▁of▁sentence|>", "<|end▁of▁sentence|>" ], "output_genera...
The user wants to find the derivative of a given quadratic function
To solve this problem, the models need to know basic calculus concepts, such as the power rule for differentiation and the ability to simplify expressions
medium
meta-llama/Meta-Llama-3-8B-Instruct
good
The query is clear and specific, asking for the derivative of a given function. It provides the function and the variable of differentiation, and the question is well-defined. The only potential weakness is that it does not specify the method of differentiation, but this is a minor issue as the most common method is im...
meta-llama/Meta-Llama-3-8B-Instruct
Math
[ "Reasoning" ]
meta-llama/Meta-Llama-3-8B-Instruct
EN
Llama-3.1-70B-Instruct_28
The diagram shows that a triangle is inscribed in a circle and in the triangle, $\overline{AC}=20$, $\overline{BC}=7$, and $\overline{AB}=17$. What is the value of $x$?
<think> Okay, so I have this geometry problem here where a triangle is inscribed in a circle. The sides of the triangle are given: AC is 20 units, BC is 7 units, and AB is 17 units. I need to find the value of x, which I assume is some length related to the triangle or the circle. Since the problem mentions a diagram, ...
[ { "from": "human", "value": "The diagram shows that a triangle is inscribed in a circle and in the triangle, $\\overline{AC}=20$, $\\overline{BC}=7$, and $\\overline{AB}=17$. What is the value of $x$?" }, { "from": "gpt", "value": "<think>\nOkay, so I have this geometry problem here where a tria...
{ "temperature": 0.8, "top_p": 1, "input_generator": "meta-llama/Meta-Llama-3.1-70B-Instruct", "seed": null, "pre_query_template": "<|begin_of_text|><|start_header_id|>user<|end_header_id|>\n\n" }
{ "prompt": "<|begin▁of▁sentence|><|User|>The diagram shows that a triangle is inscribed in a circle and in the triangle, $\\overline{AC}=20$, $\\overline{BC}=7$, and $\\overline{AB}=17$. What is the value of $x$?<|Assistant|>", "temperature": 0, "top_p": 1, "repetition_penalty": 1, "max_tokens": 16384, "st...
The user wants to solve a geometry problem, specifically finding the value of a side of a triangle given the lengths of the other two sides and the fact that the triangle is inscribed in a circle.
To solve this problem, the models need to know basic geometry concepts, such as the properties of triangles and circles, and the ability to apply these concepts to solve a problem.
easy
meta-llama/Meta-Llama-3-8B-Instruct
good
The query is clear and well-structured, providing all the necessary information about the diagram and the problem. The notation and terminology used are standard and easy to understand. The query is specific and well-defined, making it easy to identify the problem and provide a solution. The only potential weakness is ...
meta-llama/Meta-Llama-3-8B-Instruct
Math
[ "Reasoning" ]
meta-llama/Meta-Llama-3-8B-Instruct
EN
End of preview. Expand in Data Studio

Magpie

Project Web: https://magpie-align.github.io/

Arxiv Technical Report: https://arxiv.org/abs/2406.08464

Codes: https://github.com/magpie-align/magpie

Abstract

Click Here High-quality instruction data is critical for aligning large language models (LLMs). Although some models, such as Llama-3-Instruct, have open weights, their alignment data remain private, which hinders the democratization of AI. High human labor costs and a limited, predefined scope for prompting prevent existing open-source data creation methods from scaling effectively, potentially limiting the diversity and quality of public alignment datasets. Is it possible to synthesize high-quality instruction data at scale by extracting it directly from an aligned LLM? We present a self-synthesis method for generating large-scale alignment data named Magpie. Our key observation is that aligned LLMs like Llama-3-Instruct can generate a user query when we input only the left-side templates up to the position reserved for user messages, thanks to their auto-regressive nature. We use this method to prompt Llama-3-Instruct and generate 4 million instructions along with their corresponding responses. We perform a comprehensive analysis of the extracted data and select 300K high-quality instances. To compare Magpie data with other public instruction datasets, we fine-tune Llama-3-8B-Base with each dataset and evaluate the performance of the fine-tuned models. Our results indicate that in some tasks, models fine-tuned with Magpie perform comparably to the official Llama-3-8B-Instruct, despite the latter being enhanced with 10 million data points through supervised fine-tuning (SFT) and subsequent feedback learning. We also show that using Magpie solely for SFT can surpass the performance of previous public datasets utilized for both SFT and preference optimization, such as direct preference optimization with UltraFeedback. This advantage is evident on alignment benchmarks such as AlpacaEval, ArenaHard, and WildBench.

🤨 Also take a look at our V1 (150K data) with new response generators here:

🤨 Take a look on more diverse CoT styles here!


Dataset Details

This dataset is generated by Meta's Llama 3.1 70B Instruct, Llama 3.3 70B Instruct and deepseek-ai/DeepSeek-R1-Distill-Llama-70B using Magpie framework. Specifically, the instructions are generated by Llama 3.1 70B Instruct and Llama 3.3 70B Instruct, and the responses are generated by DeepSeek-R1-Distill-Llama-70B. Please refer to our paper and codebase for implementation details.

The motivation for developing this dataset is to augment the reasoning capabilities of our models through the utilization of high-quality instruction-response pairs.

Instruction and Response Sources

The instructions come from Magpie-Align/Magpie-Reasoning-V2-250K-CoT-Llama3. Please refer to the corresponding dataset card for details.

The responses are generated by deepseek-ai/DeepSeek-R1-Distill-Llama-70B. Please note that for this release, we do not apply any response filter. If you are going to train your LLMs using this dataset, we recommend performing dataset filtering before training.

License

We release this dataset for research purpose only. For other usage, please follow:

📚 Citation

If you find the model, data, or code useful, please cite our paper:

@article{xu2024magpie,
    title={Magpie: Alignment Data Synthesis from Scratch by Prompting Aligned LLMs with Nothing}, 
    author={Zhangchen Xu and Fengqing Jiang and Luyao Niu and Yuntian Deng and Radha Poovendran and Yejin Choi and Bill Yuchen Lin},
    year={2024},
    eprint={2406.08464},
    archivePrefix={arXiv},
    primaryClass={cs.CL}
}
Downloads last month
14

Paper for GenRM/Magpie-Reasoning-V2-250K-CoT-Deepseek-R1-Llama-70B-Magpie-Align