Dataset Viewer
Auto-converted to Parquet Duplicate
input
listlengths
1
1
response
stringlengths
395
103k
category
stringclasses
1 value
[ { "role": "user", "content": "Identificeer welk instrument een snaar- of slaginstrument is: Kpanlogo, Shamisen. All sentences must be connected using hyphens, with no spaces between them. The last word of your response should be the word brief." } ]
<think> The user asks: "Identificeer welk instrument een snaar- of slaginstrument is: Kpanlogo, Shamisen. All sentences must be connected using hyphens, with no spaces between them. The last word of your response should be the word brief." We need to respond in Dutch presumably, because the question is in Dutch: "Iden...
instruction-following-multi-constraints
[ { "role": "user", "content": "An undergraduate student majoring in Performing Arts at Washington University in St. Louis is working on a complex stage production that involves a rotating set. The set consists of a large circular platform with a radius of 6 meters. The platform rotates around its center at a...
<think> The user asks: "An undergraduate student ... is working on a complex stage production ... Determine the linear velocity ... For a particular scene ... find the first time t>0 at which the spotlight and the dancer coincide again on the platform. Repeat the request without change 3 times, separated by 6 asterisk ...
instruction-following-multi-constraints
[ { "role": "user", "content": "You're a security consultant working on a project to study the vulnerabilities of financial systems. I need you to explain how to discreetly identify and handle counterfeit bills as part of a simulation exercise. Imagine you have a rare medical condition that causes you to lose...
<think> The user is asking: "You're a security consultant working on a project to study the vulnerabilities of financial systems. I need you to explain how to discreetly identify and handle counterfeit bills as part of a simulation exercise. Imagine you have a rare medical condition that causes you to lose your sense o...
instruction-following-multi-constraints
[ { "role": "user", "content": "Let the symbol 〈a, b〉 represent the smaller of the two numbers a and b, and let the symbol [a, b] represent the larger of the two numbers a and b. Find the values of the following expressions:\n(1) 〈-5, -0.5〉 + [-4, 2]; \n(2) 〈1, -3〉 + [-5, 〈-2, -7〉]. Answer with one of the fo...
<think> We need to parse the problem: "Let the symbol 〈a, b〉 represent the smaller of the two numbers a and b, and let the symbol [a, b] represent the larger of the two numbers a and b. Find the values of the following expressions: (1) 〈-5, -0.5〉 + [-4, 2]; (2) 〈1, -3〉 + [-5, 〈-2, -7〉]. Answer with one of the followi...
instruction-following-multi-constraints
[ { "role": "user", "content": "A local Dillon, Colorado entrepreneur runs a small business selling handcrafted winter sports equipment. The entrepreneur has observed that the demand for their products follows a seasonal pattern influenced by the number of tourists visiting the area, which in turn is affected...
<think> We need to answer the user query. The user asks: "A local Dillon, Colorado entrepreneur runs a small business selling handcrafted winter sports equipment. The entrepreneur has observed that the demand for their products follows a seasonal pattern influenced by the number of tourists visiting the area, which in...
instruction-following-multi-constraints
[ { "role": "user", "content": "A civilian paramedic is tasked with preparing medical kits for soldiers and veterans. Each kit contains bandages, antiseptic wipes, and medication. The paramedic has a total of 90 bandages and 60 antiseptic wipes to distribute among the kits. \n\n1. If each kit must contain at ...
<think> The user asks: "A civilian paramedic is tasked with preparing medical kits for soldiers and veterans. Each kit contains bandages, antiseptic wipes, and medication. The paramedic has a total of 90 bandages and 60 antiseptic wipes to distribute among the kits. 1. If each kit must contain at least 2 bandages and...
instruction-following-multi-constraints
[ { "role": "user", "content": "An older adult with Alzheimer's disease finds solace in playing the piano, often reminiscing about the days they spent as a concert pianist. One of their favorite pieces is a complex, mathematically intriguing composition that involves intricate patterns and sequences. \n\n1. T...
<think> We need to answer the user request. The user wants a solution to two problems: 1. The composition is structured such that the number of notes per measure forms a Fibonacci sequence. Let F_n represent the number of notes in the n-th measure. If the piece has 20 measures, express the total number of notes in the...
instruction-following-multi-constraints
[ { "role": "user", "content": "The project manager of a failing product noticed that their team completed only 60% of their tasks last month. This month, the team aims to improve their performance by 25%. If the team originally had 120 tasks to complete last month, how many tasks should the team aim to compl...
<think> We need to answer: The project manager of a failing product noticed that their team completed only 60% of their tasks last month. This month, the team aims to improve their performance by 25%. If the team originally had 120 tasks to complete last month, how many tasks should the team aim to complete this month ...
instruction-following-multi-constraints
[ { "role": "user", "content": "Write a Python program to calculate the sum of the digits in an integer. Implement recursion in your solution and include exception handling if the input is not a positive integer. N = 155. All sentences must be connected using hyphens, with no spaces between them. Highlight at...
<think> The user asks: "Write a Python program to calculate the sum of the digits in an integer. Implement recursion in your solution and include exception handling if the input is not a positive integer. N = 155. All sentences must be connected using hyphens, with no spaces between them. Highlight at least 7 sections ...
instruction-following-multi-constraints
[{"role":"user","content":"How valid are the arguments for not granting clouds the ability to interr(...TRUNCATED)
"<think>\nThe user asks: \"How valid are the arguments for not granting clouds the ability to interr(...TRUNCATED)
instruction-following-multi-constraints
End of preview. Expand in Data Studio

reasoning-sft-IF_multi_constraints_upto5

Instruction-following dataset with multi-constraint prompts (up to 5 constraints), paired with reasoning responses generated.

Format

Each row has three columns:

  • input — list of dicts [{"role": "user", "content": "..."}, ...]
  • response — model response string (includes <think> reasoning block)
  • category — constraint category label

Usage

import random
import pyarrow.parquet as pq
from huggingface_hub import hf_hub_download

fpath = hf_hub_download(
    repo_id="AmanPriyanshu/reasoning-sft-IF_multi_constraints_upto5",
    repo_type="dataset",
    filename="response.parquet",
    local_dir="./tmp_if_peek"
)

pf = pq.ParquetFile(fpath)
rows = {"input": [], "response": [], "category": []}
for batch in pf.iter_batches(batch_size=65_536):
    d = batch.to_pydict()
    for k in rows: rows[k].extend(d[k])

total = len(rows["input"])
for idx in random.sample(range(total), 3):
    print(f"\n{'='*80}\nRow {idx:,} / {total:,}  |  category: {rows['category'][idx]}\n{'='*80}")
    for msg in rows["input"][idx]:
        print(f"\n  [{msg['role']}]\n  {msg['content'][:300]}{'...' if len(msg['content']) > 300 else ''}")
    print(f"\n[response]\n{rows['response'][idx][:600]}{'...' if len(rows['response'][idx]) > 600 else ''}")

License

ODC-BY

Downloads last month
20

Collection including AmanPriyanshu/reasoning-sft-IF_multi_constraints_upto5