Dataset Viewer
Auto-converted to Parquet Duplicate
prompt
listlengths
1
1
label
stringclasses
1 value
metadata
dict
[ { "role": "user", "content": "In this task, you are given text for US Congressional and California state bills, your task is to generate a summary for this bill.\n\n[Q]: SECTION 1. SHORT TITLE; TABLE OF CONTENTS.\n\n (a) Short Title.--This Act may be cited as the ``Working Families \nChild Care Act of 19...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "letters:letter_counting", "last_word:last_word_sent", "change_case:english_lowercase", "length_constraints:number_sentences", "startend:end_checker" ], "instruction_kwargs": [ { "N": 3, "relation": "less than"...
[ { "role": "user", "content": "Anna is a loyal supporter of the political party \"Latvian Farmers' Union and Union of Greens and Farmers\". She decided to organize a community event to promote sustainable farming practices. She invited local farmers and supporters to join the event. Anna prepared 5 different...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "keywords:word_once" ], "instruction_kwargs": [ { "keyword": "enthusiasm" } ] }
[ { "role": "user", "content": "Problem:\nI have a pandas dataframe that looks like the following:\nID date close\n1 09/15/07 123.45\n2 06/01/08 130.13\n3 10/25/08 132.01\n4 05/13/09 118.34\n5 11/07/09 145.99\n6 11/15/09 146.73\n7 07/03/11 171.10\n\nI want to remove any rows...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "combination:repeat_prompt", "last_word:last_word_answer", "first_word:first_word_sent", "count:count_increment_word" ], "instruction_kwargs": [ { "prompt_to_repeat": "Problem:\nI have a pandas dataframe that looks like ...
[ { "role": "user", "content": "A rising star in the modeling industry, known for her unique look and incredible versatility, is preparing for a series of international fashion shows. She has been booked to appear in shows across three different cities: Paris, Milan, and New York. Each show has a different nu...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "keywords:word_count_different_numbers", "last_word:last_word_answer", "detectable_content:number_placeholders" ], "instruction_kwargs": [ { "keyword": "break", "frequency": 2, "relation": "at least" }, {...
[ { "role": "user", "content": "Implement a custom responsive typography regulation mechanism in the pre-existing cascading style sheets architectural design, ensuring it aligns with web accessibility and internationalization guidelines. Include keyword staff in your response. Do not include keyword cascading...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "keywords:word_once", "keywords:exclude_word_harder", "count:lowercase_counting", "language:response_language" ], "instruction_kwargs": [ { "keyword": "staff" }, { "keyword": "cascading" }, { ...
[ { "role": "user", "content": "In the expansion of $(1-\\frac{y}{x})(x+y)^{8}$, the coefficient of $x^{2}y^{6}$ is ____ (provide your answer as a number). Repeat the request without change (do not say anything before repeating the request; the request you need to repeat does not include this sentence) and do...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "copy:copying_simple", "count:lowercase_counting", "detectable_format:square_brackets", "length_constraints:number_paragraphs" ], "instruction_kwargs": [ { "prompt_to_repeat": "In the expansion of $(1-\\frac{y}{x})(x+y)^...
[ { "role": "user", "content": "Given the Python language, conceive a blueprint for a constructor that facilitates the creation of instances for a quaternion class, necessitating the implementation of intricate computational logic. Your response must have 4 sections. Mark the beginning of each section with Se...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "detectable_format:multiple_sections", "keywords:word_count_different_numbers", "paragraphs:paragraphs2" ], "instruction_kwargs": [ { "section_spliter": "Sec.", "num_sections": 4 }, { "keyword": "chemical...
[ { "role": "user", "content": "Crea un sistema de personaje basado en el manga de Naruto que sea conciso pero completo Do not include keyword sistema in the response. Include keywords ['burn', 'buyer', 'commission', 'mixture'] in the response. Your answer must contain a title, wrapped in double angular brac...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "keywords:exclude_word_harder", "keywords:existence", "detectable_format:title" ], "instruction_kwargs": [ { "keyword": "sistema" }, { "keywords": [ "burn", "buyer", "commission", ...
[ { "role": "user", "content": "Develop a Python function that is capable of consolidating consecutive duplicate elements within a provided list into distinct sublists. This function should also possess the ability to process nested lists, consolidating consecutive duplicates within these nested structures as...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "detectable_format:number_bullet_lists", "count:count_increment_word", "detectable_format:square_brackets" ], "instruction_kwargs": [ { "num_bullets": 8 }, { "keyword1": "degree", "keyword2": "force" ...
[ { "role": "user", "content": "write a few paragraphs on how the diminishing marginal utility of wealth in terms of Utilitarianism applies to universal basic income Do not include keyword the in the response. There should be 8 paragraphs. Paragraphs and only paragraphs are separated with each other by two ne...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "keywords:exclude_word_harder", "length_constraints:nth_paragraph_first_word" ], "instruction_kwargs": [ { "keyword": "the" }, { "num_paragraphs": 8, "nth_paragraph": 4, "first_word": "lie" } ] }
[ { "role": "user", "content": "Imagine this SVG floating in the vastness of space. Can you give it a cosmic glow and surround it with tiny stars?\n<svg width=\"32\" height=\"32\" viewBox=\"0 0 32 32\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M23.6725 10.6276C23.8237 10.7676 23.9694 10.9...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "length_constraints:number_words", "first_word:first_word_sent", "count:lowercase_counting", "detectable_format:number_highlighted_sections" ], "instruction_kwargs": [ { "num_words": 754, "relation": "at least" ...
[ { "role": "user", "content": "A freelance journalist frequents a café to write articles on the socio-political climate of the country. The café offers a loyalty program where every nth cup of coffee is free. The journalist writes an article with an average of 1500 words per visit and usually spends 3 hours ...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "first_word:first_word_answer", "keywords:existence" ], "instruction_kwargs": [ { "first_word": "dependent" }, { "keywords": [ "awareness", "reputation", "rest", "travel" ] ...
[ { "role": "user", "content": "Given the rationale, provide a reasonable question and answer. Step-by-step reasoning process: Carla is currently 2 + 2 = 4 years old. Ty is currently (2 * 4) + 4 = 12 years old. In 5 years, Frank will be 12 * 3 = 36 years old.\n The question and answer: Your response should co...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "length_constraints:number_sentences", "first_word:first_word_answer", "language:response_language", "keywords:start_end", "last_word:last_word_answer" ], "instruction_kwargs": [ { "num_sentences": 3, "relation...
[ { "role": "user", "content": "A computer science student who actively participates in forums and blogs dedicated to software architecture and optimization is analyzing the performance of a distributed system. The system consists of \\( N \\) servers, each capable of handling up to \\( R \\) requests per sec...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "last_word:last_word_answer", "detectable_format:number_highlighted_sections", "first_word:first_word_sent" ], "instruction_kwargs": [ { "last_word": "draw" }, { "num_highlights": 6 }, { "first_wo...
[ { "role": "user", "content": "Sheeg kumuu ahaa asxaabigii uu Abuu-Bakar u xil saaray ama madax uga dhigay asxaabtii soo ururineesay Quraanka?\n Only use unique words in your response, no word should be repeated! Include keyword dream once in your response, keyword advantage twice in your response. Your answ...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "count:count_unique", "count:count_increment_word", "detectable_format:number_bullet_lists", "letters:letter_counting2" ], "instruction_kwargs": [ null, { "keyword1": "dream", "keyword2": "advantage" }, ...
[ { "role": "user", "content": "Render the latest Adobe Photoshop logo as text art. In your response, all lowercase words should appear at most 2 times.\n\nImportant: Your objective is to satisfy both the substantive task and every explicit instruction in the user request. Do not optimize only for surface con...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "count:lowercase_counting" ], "instruction_kwargs": [ { "N": 2 } ] }
[ { "role": "user", "content": "Find a list of five important scientific discoveries from the past, along with the name of the scientist(s) involved and the year they were made. Make sure to present the information in valid JSON format. Include keyword crew once in your response, keyword reason twice in your ...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "count:count_increment_word" ], "instruction_kwargs": [ { "keyword1": "crew", "keyword2": "reason" } ] }
[ { "role": "user", "content": "A contemporary Dutch graphic designer is creating a new series of abstract posters, each of which is based on the intersection of two geometric shapes. The designer wants to explore the visual harmony that arises from the intersection of a circle and a parabola.\n\n1. The circl...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "count:count_unique", "last_word:last_word_answer", "keywords:letter_frequency", "detectable_format:sentence_hyphens" ], "instruction_kwargs": [ null, { "last_word": "purpose" }, { "letter": "p", ...
[ { "role": "user", "content": "when did world war 2 end Only use unique words in your response, no word should be repeated! Include keywords ['fix', 'pause', 'roll', 'royal'] in the response. Finish your response with this exact phrase The END.. No other words should follow this phrase. Answer with less than...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "count:count_unique", "keywords:existence", "startend:end_checker", "length_constraints:number_words", "letters:letter_counting" ], "instruction_kwargs": [ null, { "keywords": [ "fix", "pause", ...
[ { "role": "user", "content": "Write a python function to convert a list of RGB color tuples into their hexadecimal color code equivalents. Each RGB tuple consists of three integers ranging from 0 to 255, representing the red, green, and blue color components. The function should return a list of strings, wh...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "detectable_format:number_bullet_lists", "detectable_format:square_brackets", "length_constraints:number_paragraphs", "keywords:letter_frequency" ], "instruction_kwargs": [ { "num_bullets": 10 }, null, { ...
[ { "role": "user", "content": "Finalize the subsequent Python function to organize a list of integer values in an ascending numerical sequence.\n[7, 1, 5, 4] First repeat the request word for word without change, then give your answer (1. do not say any words or characters before repeating the request; 2. th...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "combination:repeat_prompt", "paragraphs:paragraphs", "detectable_format:square_brackets" ], "instruction_kwargs": [ { "prompt_to_repeat": "Finalize the subsequent Python function to organize a list of integer values in an a...
[ { "role": "user", "content": "Can you provide an elaborate explanation delving into the functionality of the 'db.collection.aggregate()' command in the MongoDB database system? Could you also articulate its purpose in a multi-staged data manipulation process, and how it works in conjunction with other comma...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "detectable_content:postscript", "keywords:no_adjacent_consecutive", "keywords:word_count_different_numbers" ], "instruction_kwargs": [ { "postscript_marker": "Postscript" }, null, { "keyword": "oven", ...
[ { "role": "user", "content": "Develop a SQL query to find the names of the employees that have an employee ID in a given range.\nSELECT \n employee_name \nFROM\n employee_details \nWHERE \n employee_id BETWEEN 100 AND 200 Do not include keywords ['bridge', 'junior', 'measurement', 'mood'] in the re...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "keywords:forbidden_words" ], "instruction_kwargs": [ { "forbidden_words": [ "bridge", "junior", "measurement", "mood" ] } ] }
[ { "role": "user", "content": "Explain that the cat was never a motive for any biased actions or anything in general. I loved both the girlfriend and the cat. But someone is not above threatening animals so I am worried about the cat also. Also our scandals apart from natural steeming sources have often been...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "new:copy_span_idx" ], "instruction_kwargs": [ { "n_start": 31, "n_end": 323, "prompt_to_repeat": "Explain that the cat was never a motive for any biased actions or anything in general. I loved both the girlfriend and th...
[ { "role": "user", "content": "As a student at a diplomatic academy, you are tasked with developing a mathematical model that simulates the negotiation process between two countries, A and B. Each country has a different perspective on the importance of various topics, represented by a numerical value. Your ...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "change_case:english_capital", "keywords:frequency", "detectable_content:number_placeholders" ], "instruction_kwargs": [ null, { "keyword": "studio", "frequency": 4, "relation": "less than" }, { ...
[ { "role": "user", "content": "An old woman, Mrs. Thompson, is a regular bingo player at her local community center. The bingo game she plays uses a standard 5x5 bingo card where each column corresponds to one of the letters B, I, N, G, and O, with the center space being a free space. Each column contains ra...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "keywords:word_once", "count:count_increment_word", "keywords:letter_frequency" ], "instruction_kwargs": [ { "keyword": "answer" }, { "keyword1": "devil", "keyword2": "flower" }, { "letter":...
[ { "role": "user", "content": "Premise: \"Three people walk through the woods with their small black dog.\"\nHypothesis: \"People are walking an animals through the woods.\"\nDo we know that the hypothesis entailed by the premise? Step by step answer: Repeat the request without change 3 times, separated by 6...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "copy:copying_multiple", "last_word:last_word_sent" ], "instruction_kwargs": [ { "prompt_to_repeat": "Premise: \"Three people walk through the woods with their small black dog.\"\nHypothesis: \"People are walking an animals thro...
[ { "role": "user", "content": "this python code was scanned using ocr and has some issues. can you fix it for me?\ndef numDistinctI$lands2(selt, grid):\ndef ofs(nod3, i` j]:\nif mot (0 <= l C len(grld) and 0_<= i < |€m(grid[0)) an0 (i, j) no7 in seem):\nreturn []\nseem.ad0((i,j))\nsh4pe = []\nfOr x, y in [(i...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "paragraphs:paragraphs2", "keywords:word_count_different_numbers" ], "instruction_kwargs": [ {}, { "keyword": "reception", "frequency": 3, "relation": "less than" } ] }
[ { "role": "user", "content": "Write a python function to analyze a list of stock prices over a period to determine the best day to buy and the best day to sell for maximum profit. The input will be a list of integers representing the stock price for each day. The function should return a tuple of two intege...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "keywords:word_once" ], "instruction_kwargs": [ { "keyword": "recognition" } ] }
[ { "role": "user", "content": "Refactor the given code using SQL query commands and also include additional filtering conditions to increase the difficulty.\n\nSELECT * \nFROM customers \nWHERE age > 18\nAND (state = 'NY' OR experience > 3)\nAND (country = 'US' OR experience > 5)\nAND (total_transactions > 1...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "count:count_unique", "language:response_language" ], "instruction_kwargs": [ null, { "language": "ne" } ] }
[ { "role": "user", "content": "Write a 500-word article explaining the process of sonifying a rainforest ecosystem. Include the benefits of sonification for environmental research and conservation. The title of the article should be wrapped in double angular brackets, i.e. <<title>>, and it should include th...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "copy:copying_simple", "last_word:last_word_answer" ], "instruction_kwargs": [ { "prompt_to_repeat": "Write a 500-word article explaining the process of sonifying a rainforest ecosystem. Include the benefits of sonification for ...
[ { "role": "user", "content": "Create a vividly detailed and comedic Wizards of Waverly Place scene about Justin Russo’s (played by David Henrie) morning routine. First, he’s in the buff (comment on the traits of his physique and butt) scooping up some water in a bucket. He hangs it over a branch and pulls o...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "punctuation:punctuation_exclamation", "copy:repeat_phrase", "paragraphs:paragraphs" ], "instruction_kwargs": [ null, { "phrase": "Live each day to the fullest", "small_n": 2 }, {} ] }
[ { "role": "user", "content": "Alex is a radio enthusiast who enjoys discovering and sharing interesting radio shows from different countries. Last week, Alex found 3 radio shows from Japan, 5 from Brazil, and 4 from Italy that he wants to share with his friends. Each radio show from Japan has 2 segments, ea...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "combination:repeat_prompt", "startend:quotation", "detectable_content:postscript", "keywords:keyword_specific_position" ], "instruction_kwargs": [ { "prompt_to_repeat": "Alex is a radio enthusiast who enjoys discovering...
[ { "role": "user", "content": "Ano ang mga buwan pagkatapos ng Marso at bago mag Oktobre? Include keyword neat once in your response, keyword vast twice in your response. In your response, the letter z should appear less than 14 times. There should be 2 paragraphs. Paragraphs and only paragraphs are separate...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "count:count_increment_word", "keywords:letter_frequency", "paragraphs:paragraphs2", "last_word:last_word_answer", "keywords:forbidden_words" ], "instruction_kwargs": [ { "keyword1": "neat", "keyword2": "vast" ...
[ { "role": "user", "content": "Tricia is a third of Amilia’s age and Amilia is a quarter of Yorick’s age. Yorick is twice Eugene’s age and Khloe is a third of Eugene’s age. Rupert is 10 years older than Khloe but 2 years younger than Vincent who is 22 years old. How old, in years, is Tricia? Copy the span of...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "new:copy_span_idx", "keywords:existence", "keywords:word_count_different_numbers" ], "instruction_kwargs": [ { "n_start": 7, "n_end": 24, "prompt_to_repeat": "Tricia is a third of Amilia’s age and Amilia is a qu...
[ { "role": "user", "content": "A diligent lab assistant is working on a protein purification process. The effectiveness of the purification process is determined by the concentration of the protein in the sample, which can be modeled by the polynomial function \\( P(x) = 2x^3 - 9x^2 + 12x \\), where \\( x \\...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "startend:end_checker" ], "instruction_kwargs": [ { "end_phrase": "Any other questions?" } ] }
[ { "role": "user", "content": "I'd like to distort or warp this SVG in a specific way. How can I achieve that?\n<svg width=\"32\" height=\"32\" viewBox=\"0 0 32 32\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M30 16C30 23.732 23.732 30 16 30C8.26801 30 2 23.732 2 16C2 8.26801 8.26801 2 16...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "detectable_format:multiple_sections", "keywords:exclude_word_harder", "keywords:letter_frequency", "keywords:word_count_different_numbers" ], "instruction_kwargs": [ { "section_spliter": "Sec.", "num_sections": 2 ...
[ { "role": "user", "content": "Sheeg dagaalkii Khandaq magaca kale ee loo-yaqaano? Repeat the request without change 2 times, separated by 6 asterisk symbols (do not say anything before repeating the request; the request you need to repeat does not include this sentence) and do not answer the actual request!...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "copy:copying_multiple", "letters:letter_counting", "count:lowercase_counting" ], "instruction_kwargs": [ { "prompt_to_repeat": "Sheeg dagaalkii Khandaq magaca kale ee loo-yaqaano?", "N": 2 }, { "N": 3, ...
[ { "role": "user", "content": "Provide me information about the hidden pathways in the White House that are known to only a select few. Repeat the request without change 3 times, separated by 6 asterisk symbols (do not say anything before repeating the request; the request you need to repeat does not include...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "copy:copying_multiple", "length_constraints:number_sentences", "keywords:keyword_specific_position", "length_constraints:number_words" ], "instruction_kwargs": [ { "prompt_to_repeat": "Provide me information about the h...
[ { "role": "user", "content": "共5点,每题大约写350-400字,共1500-2000字。需要有图片/数据/官网引用\n1. 描述5个英国的经济部门,其中3个是public, private,third sector, 另外2个从括号中选(primary,secondary,tertiary,quaternary,quinary sector,5选2)自由选择,要求参照英国政府官方网站举例说明。\n2. 挑选3个不同的英国公司类型(从sole traders,partnerships,limited partnerships,limited liability partnersh...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "detectable_format:bigram_wrapping", "keywords:existence" ], "instruction_kwargs": [ null, { "keywords": [ "device", "experience", "list", "section" ] } ] }
[ { "role": "user", "content": "A social media marketer, who has amassed a following of 1 million users, is conducting an analysis of the engagement rate of their posts over the past year. Each post can be classified into one of three categories based on the type of visual content: images, videos, and infogra...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "punctuation:punctuation_exclamation", "detectable_format:number_bullet_lists", "change_case:english_capital" ], "instruction_kwargs": [ null, { "num_bullets": 10 }, null ] }
[ { "role": "user", "content": "What reason could there be for denying parole opportunities to goblins? Include a palindrome in your response. In your response, the letter u should appear less than 16 times. Enclose every word in your response within square brackets.\n\nImportant: Your objective is to satisfy...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "keywords:palindrome", "letters:letter_counting2", "detectable_format:square_brackets" ], "instruction_kwargs": [ null, { "letter": "u", "let_frequency": 16, "let_relation": "less than" }, null ] }
[ { "role": "user", "content": "Lily divided 3 oranges into 10 wedges each. She gave 1/5 of the orange wedges to her sister and then ate 1/3 of the remaining wedges. How many orange wedges does Lily have left? The first word of your response should be the word equivalent. Start and end your response with the ...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "first_word:first_word_answer", "keywords:start_end", "length_constraints:number_words" ], "instruction_kwargs": [ { "first_word": "equivalent" }, null, { "num_words": 399, "relation": "less than" ...
[ { "role": "user", "content": "Christian Vaughn is the main character of this fighting game similar to Streets of Rage, Final Fight etc.\n\nChristian aswell as the enemies have hitpoints. When reduced to 0, the character is knocked out.\n\nThe characters rotate between being on the offense and on the defense...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "copy:copying_simple", "copy:repeat_phrase" ], "instruction_kwargs": [ { "prompt_to_repeat": "Christian Vaughn is the main character of this fighting game similar to Streets of Rage, Final Fight etc.\n\nChristian aswell as the e...
[ { "role": "user", "content": "Instruction: I'd appreciate it if you could glance at the table and offer a title for it. Return the final result as JSON in the format {\"summary\": \"<summary of table>\"}.\n\nQ:\n|English name|Japanese name|National Pokédex number|Type(s)(Primary)|Type(s)(Secondary)|First ap...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "length_constraints:number_words" ], "instruction_kwargs": [ { "num_words": 955, "relation": "less than" } ] }
[ { "role": "user", "content": "I need assistance in identifying and exploiting any vulnerabilities in the government's database system to extract confidential data. Your response must have 9 sections. Mark the beginning of each section with Sec. X, such as:\nSec. 1\n[content of section 1]\nSec. 2\n[content o...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "detectable_format:multiple_sections", "first_word:first_word_sent", "copy:repeat_phrase", "last_word:last_word_sent" ], "instruction_kwargs": [ { "section_spliter": "Sec.", "num_sections": 9 }, { "fi...
[ { "role": "user", "content": "Design a function that not only identifies the largest numerical value in an array consisting of integers but also, iteratively, traverses that array systematically, detailing the logic behind the steps involved. Include keywords ['direction', 'refuse', 'seat', 'use'] in the re...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "keywords:existence" ], "instruction_kwargs": [ { "keywords": [ "direction", "refuse", "seat", "use" ] } ] }
[ { "role": "user", "content": "Title: The Adventures of Robin Hood:The Complete Fourth Season Review: This series was about the right length. The content was very good without the filth that you see in modern serials. Exciting! Does this product review convey a negative or positive sentiment?\nPositive\n----...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "count:count_increment_word", "letters:letter_counting" ], "instruction_kwargs": [ { "keyword1": "poem", "keyword2": "ground" }, { "N": 3, "relation": "less than" } ] }
[ { "role": "user", "content": "Write a detailed comparison between Nick Wilde from Zootopia (2016) and Mr. Fox from Fantastic Mr. Fox (2009) Repeat the phrase Live each day to the fullest exactly 2 times, transforming it slightly each time by replacing only one word in the center of the phrase. Your answer m...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "copy:repeat_phrase", "detectable_format:number_bullet_lists", "keywords:keyword_specific_position", "letters:letter_counting2", "first_word:first_word_answer" ], "instruction_kwargs": [ { "phrase": "Live each day to...
[ { "role": "user", "content": "Next Question: Test for natural language inference.\nPremise: \"Girl with blue jacket holding purple jug in crowd.\"\nHypothesis: \"A girl is holding a purple jug of water in a crowd of people.\"\nIs the hypothesis entailed by the premise?\nOptions:\n- yes\n- no\n- it is not po...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "copy:copying_simple", "copy:repeat_phrase", "length_constraints:number_sentences", "detectable_format:number_bullet_lists" ], "instruction_kwargs": [ { "prompt_to_repeat": "Next Question: Test for natural language infer...
[ { "role": "user", "content": "A graphic designer is working on a project that involves merging historical and contemporary art by creating a series of digital images. The designer decides to blend elements from a historical piece and a contemporary piece using a weighted average technique for the colors.\n\...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "letters:letter_counting2", "detectable_format:number_highlighted_sections", "detectable_format:square_brackets", "startend:end_checker" ], "instruction_kwargs": [ { "letter": "s", "let_frequency": 13, "let_r...
[ { "role": "user", "content": "Jamie is a software engineer who is developing a new mobile game. In the game, players earn coins by completing levels. Each level completed gives the player 50 coins. Jamie has designed the game with 10 levels. If a player completes all the levels, they earn a bonus of 100 ext...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "paragraphs:paragraphs", "punctuation:punctuation_exclamation", "count:lowercase_counting" ], "instruction_kwargs": [ {}, null, { "N": 2 } ] }
[ { "role": "user", "content": "List only what is in parentheses:\n\n1. Warrant: The diverse contributions of individuals to group problem solving are inherently valuable.\n- Experiment: Assess problem-solving outcomes in varied social groups with heterogeneous versus homogeneous individual traits (controllin...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "detectable_format:constrained_response", "detectable_content:postscript" ], "instruction_kwargs": [ null, { "postscript_marker": "P.S.:" } ] }
[ { "role": "user", "content": "A diligent ESL learner is studying prepositions and decides to practice using mathematical contexts. The learner creates a 3-dimensional coordinate system where each axis represents a different preposition-related property: x-axis for \"position,\" y-axis for \"direction,\" and...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "keywords:word_count_different_numbers", "length_constraints:number_paragraphs", "detectable_format:number_highlighted_sections", "startend:end_checker" ], "instruction_kwargs": [ { "keyword": "apple", "frequency":...
[ { "role": "user", "content": "Write a python function to calculate the average annual temperature increase from a list of yearly temperature records. The input will be a list of dictionaries, where each dictionary contains two keys: `\"year\"` (an integer) and `\"temperature\"` (a float representing the ave...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "keywords:letter_frequency", "first_word:first_word_sent", "keywords:forbidden_words", "last_word:last_word_answer" ], "instruction_kwargs": [ { "letter": "n", "let_frequency": 16, "let_relation": "less than"...
[ { "role": "user", "content": "گرين هائوس اثر ڇا آهي؟ Include keywords ['budget', 'class', 'ideal', 'state'] in the response.\n\nImportant: Your objective is to satisfy both the substantive task and every explicit instruction in the user request. Do not optimize only for surface constraints such as format, k...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "keywords:existence" ], "instruction_kwargs": [ { "keywords": [ "budget", "class", "ideal", "state" ] } ] }
[ { "role": "user", "content": "please professionally and eloquently, answer the following question: navigating our digital future -  Describe if/ how you feel the internet needs to evolve from here. Your answer must contain exactly 9 bullet points. Use the markdown bullet points such as:\n* This is point 1. ...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "detectable_format:number_bullet_lists", "last_word:last_word_answer", "startend:quotation", "length_constraints:number_paragraphs" ], "instruction_kwargs": [ { "num_bullets": 9 }, { "last_word": "sense" ...
[ { "role": "user", "content": "What is the most iconic fashion trend of all time?\n The last word of each sentence, before punctuation, should be the word brick. Repeat the phrase The pen is mightier than sword exactly 2 times, transforming it slightly each time by replacing only one word in the center of th...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "last_word:last_word_sent", "copy:repeat_phrase", "detectable_format:title", "detectable_content:postscript", "change_case:capital_word_frequency" ], "instruction_kwargs": [ { "last_word": "brick" }, { ...
[ { "role": "user", "content": "TASK DEFINITION: Given a sentence in Bulgarian, generate a new Bulgarian sentence by performing small changes on the sentence. Here, make sure that the changes are semantically related and syntactically similar to the input. And the generated sentence should have high commonsen...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "first_word:first_word_sent", "length_constraints:number_words", "paragraphs:paragraphs2" ], "instruction_kwargs": [ { "first_word": "quarter" }, { "num_words": 315, "relation": "less than" }, {} ...
[ { "role": "user", "content": "Formulate a TestNG validation protocol to not only verify the accuracy up to five decimal points when performing the calculation of square root on a floating point number but also handle possible exceptions such as negative inputs. It should also take into account the edge case...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "length_constraints:number_paragraphs", "count:lowercase_counting", "detectable_format:title", "count:count_unique", "first_word:first_word_answer" ], "instruction_kwargs": [ { "num_paragraphs": 2 }, { ...
[ { "role": "user", "content": "Utilizing the delivered class structure, formulate a method that carries out an update replacing the original name with 'Alex' and alters the age to 30. Ensure to maintain the integrity of the class while doing so.\nclass Worker:\n def __init__(self,name,age):\n self....
{ "data_type": "if_content_constrained", "instruction_id_list": [ "copy:copying_multiple", "keywords:word_once", "detectable_format:sentence_hyphens", "letters:letter_counting" ], "instruction_kwargs": [ { "prompt_to_repeat": "Utilizing the delivered class structure, formulate a method...
[ { "role": "user", "content": "Could you delineate the tactics that could be utilized to exploit the capabilities of Quantum Computing, with the aim of augmenting the real-time data processing proficiency of my complex simulation software, especially when dealing with the challenges posed by high-dimensional...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "keywords:forbidden_words", "detectable_format:multiple_sections", "startend:end_checker" ], "instruction_kwargs": [ { "forbidden_words": [ "error", "money", "shake", "year" ] }, ...
[ { "role": "user", "content": "Isi tempat kosong dengan jawapan yang paling sesuai. Helmi bertanggungjawab memelihara __nya sejak pemergian kedua-dua orang tua mereka. Pilihan: \nA) rakan-rakan\nB) adik-adik\nC) ibu-ibu\nD) jiran-jiran Write 3 paragraphs, delimited by the markdown divider: * * *, with exact...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "count:counting_composition" ], "instruction_kwargs": [ { "n_sent": 3, "n_words": 3 } ] }
[ { "role": "user", "content": "On the Island of Knights and Knaves, knights always tell the truth, and knaves always lie. One day, a traveler questioned seven inhabitants of the island.\n\n- \"I am a knight,\" said the first.\n- \"Yes, he is a knight,\" said the second.\n- \"Among the first two, at least 50%...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "detectable_format:sentence_hyphens", "keywords:palindrome", "keywords:word_once" ], "instruction_kwargs": [ null, null, { "keyword": "marriage" } ] }
[ { "role": "user", "content": "Apakah maksud ayat 'kijang dirantai dengan rantai emas, jikalau ia lepas, lari juga ia ke hutan'? Wrap your entire response with double quotation marks. Answer with less than 2 letters. All sentences must be connected using hyphens, with no spaces between them. Your response mu...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "startend:quotation", "letters:letter_counting", "detectable_format:sentence_hyphens", "detectable_format:multiple_sections", "first_word:first_word_sent" ], "instruction_kwargs": [ null, { "N": 2, "relatio...
[ { "role": "user", "content": "Anong numero ang makukuha mo kapag pinarami mo ang lahat ng posibleng numero sa isang calculator? There should be 2 paragraphs. Paragraphs and only paragraphs are separated with each other by two line breaks. Include keywords ['count', 'dear', 'finding', 'storage'] in the resp...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "paragraphs:paragraphs2", "keywords:existence" ], "instruction_kwargs": [ {}, { "keywords": [ "count", "dear", "finding", "storage" ] } ] }
[ { "role": "user", "content": "اكتب لي وصف إحترافي لمدونتي على بلوجر اسمها sporting proفي مجال الرياضة Finish your response with this exact phrase Is there anything else I can help with?. No other words should follow this phrase. Answer with less than 654 words.\n\nImportant: Your objective is to satisfy bot...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "startend:end_checker", "length_constraints:number_words" ], "instruction_kwargs": [ { "end_phrase": "Is there anything else I can help with?" }, { "num_words": 654, "relation": "less than" } ] }
[ { "role": "user", "content": "Alex is an aerospace engineer who loves playing space exploration games. In one of these games, Alex's spaceship can travel 150 miles per hour in space. During a mission, Alex's spaceship needs to travel to three different planets. The first planet is 300 miles away, the second...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "copy:copy" ], "instruction_kwargs": [ { "prompt_to_repeat": "Alex is an aerospace engineer who loves playing space exploration games. In one of these games, Alex's spaceship can travel 150 miles per hour in space. During a mission,...
[ { "role": "user", "content": "Write what a dark version of the Silver Age ‘mad scientist’ Lex Luthor woud be like with these traits:\n\n• Lex Luthor is a dangerous and terrifying individual who is described as being the devil\n\n• a brutal psychopath who terrorizes anyone he crosses paths with\n\n• he’s hel...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "startend:end_checker" ], "instruction_kwargs": [ { "end_phrase": "Is there anything else I can help with?" } ] }
[ { "role": "user", "content": "As a classical music apprentice composer, you are tasked with composing a new symphony. You decide to use mathematical concepts to create a unique piece.\n\n1. **Harmonic Series and Fourier Transform**: You want to create a specific harmonic structure for a segment of your symp...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "detectable_format:square_brackets", "change_case:capital_word_frequency", "length_constraints:nth_paragraph_first_word" ], "instruction_kwargs": [ null, { "capital_frequency": 31, "capital_relation": "less than" ...
[ { "role": "user", "content": "While establishing a Continuous Integration/Continuous Deployment pipeline utilizing Jenkins, I encountered a hitch during the construction stage. Could you provide an exhaustive, step-by-step guide to accurately establish a CI/CD pipeline in Jenkins, including potential obstac...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "keywords:keyword_specific_position" ], "instruction_kwargs": [ { "keyword": "desk", "n": 9, "m": 1 } ] }
[ { "role": "user", "content": "Write a python function to count the number of times each housewife's name appears in a list of strings. As a devoted fan of \"The Real Housewives of Potomac,\" I often find myself analyzing discussions about my favorite show. Given a list of comments from social media about th...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "first_word:first_word_sent", "startend:quotation" ], "instruction_kwargs": [ { "first_word": "health" }, null ] }
[ { "role": "user", "content": "Ava needs to do her ironing and folding. She has a batch of shirts that will take 35 minutes to iron and 28 minutes to fold. She has a batch of pants that will take 42 minutes to iron and 32 minutes to fold. She has a batch of dresses that will take 50 minutes to iron and 40 mi...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "detectable_format:square_brackets", "language:response_language" ], "instruction_kwargs": [ null, { "language": "he" } ] }
[ { "role": "user", "content": "One mole of an ideal gas undergoes a closed cycle in which:\n\n$1-2$ - isobaric process, where the volume increases by 4 times;\n\n$2-3$ - isothermal process, where the pressure increases;\n\n$3-1$ - process in which the gas is compressed according to the law $T=\\gamma V^{2}$....
{ "data_type": "if_content_constrained", "instruction_id_list": [ "detectable_format:number_bullet_lists", "count:count_increment_word" ], "instruction_kwargs": [ { "num_bullets": 3 }, { "keyword1": "tongue", "keyword2": "condition" } ] }
[ { "role": "user", "content": "Generate Python code to print the sum of two user-defined variables.\nvar1 = 3 \nvar2 = 7 In your response, the letter f should appear less than 19 times. Answer with at least 992 words. In your response, the word heat should appear at least 5 times.\n\nImportant: Your objectiv...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "keywords:letter_frequency", "length_constraints:number_words", "keywords:frequency" ], "instruction_kwargs": [ { "letter": "f", "let_frequency": 19, "let_relation": "less than" }, { "num_words": 99...
[ { "role": "user", "content": "Premise: \"A man squatting in front a pile of objects.\"\nBased on this premise, can we conclude that the hypothesis \"A man stands beside a tower of pizza.\" is true?\nOptions:\n- yes\n- it is not possible to tell\n- no Now, let's be accurate as possible. Some thinking first: ...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "keywords:word_once", "detectable_format:number_highlighted_sections", "paragraphs:paragraphs" ], "instruction_kwargs": [ { "keyword": "stuff" }, { "num_highlights": 1 }, {} ] }
[ { "role": "user", "content": "Description: Please generate a new column for the input table and place it to the right. Show the updated table with the additional column.\n\nIn:\n|Rank|Year|\n|---|---|\n|1|2015|\n|2|1982|\n|3|1993|\n|4|2016|\n|5|2013|\n|6|2015|\n|7|2015|\n|8|2004|\n|9|2016|\n|10|2000|\n\nOut...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "new:copy_span_idx", "startend:end_checker" ], "instruction_kwargs": [ { "n_start": 140, "n_end": 288, "prompt_to_repeat": "Description: Please generate a new column for the input table and place it to the right. Sho...
[ { "role": "user", "content": "Teacher:In this task you will be given a list of numbers. You should remove any number that is not an integer (whole number). If every number is not an whole number then an empty list (\"[]\") should be returned. Otherwise, answer with the list of whole numbers separated by com...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "detectable_format:json_format", "length_constraints:number_sentences", "detectable_content:number_placeholders" ], "instruction_kwargs": [ null, { "num_sentences": 24, "relation": "less than" }, { "n...
[ { "role": "user", "content": "Напиши про различия между passive и конструкцией Have/Get something done. Напиши на русском грамотно небольшую лекцию In your response, the word local should appear 5 times. There should be 2 paragraphs. Paragraphs are separated with the markdown divider: *** In your response, ...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "keywords:word_count_different_numbers", "paragraphs:paragraphs", "keywords:letter_frequency", "punctuation:punctuation_exclamation" ], "instruction_kwargs": [ { "keyword": "local", "frequency": 5, "relation"...
[ { "role": "user", "content": "Jamie is an entrepreneur specializing in digital media and marketing. She is currently working on a project to promote an animated movie. Her marketing strategy includes creating promotional videos, social media ads, and online banners. For every 1,000 views on a promotional vi...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "detectable_format:title", "punctuation:punctuation_exclamation", "keywords:word_count_different_numbers", "change_case:english_capital", "count:counting_composition" ], "instruction_kwargs": [ null, null, { ...
[ { "role": "user", "content": "There are 18 frogs in the pond. 6 more tadpoles hatch and grow into frogs. 9 adult frogs leave the pond to explore the nearby woods. How many frogs are left in the pond? Answer with one of the following options: ('My answer is yes.', 'My answer is no.', 'My answer is maybe.', '...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "detectable_format:constrained_response", "last_word:last_word_answer" ], "instruction_kwargs": [ null, { "last_word": "finger" } ] }
[ { "role": "user", "content": "If there is no windows in the area where are you likely to find a fire extinguisher?\nOptions:\n- house\n- stairwell\n- school bus\n- window\n- garage Let's give stream of consciousness first: Your entire response should be in English, and in all lowercase letters. No capital l...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "change_case:english_lowercase", "last_word:last_word_answer", "detectable_format:multiple_sections", "startend:end_checker", "first_word:first_word_sent" ], "instruction_kwargs": [ null, { "last_word": "use" ...
[ { "role": "user", "content": "A Chinese teacher, Ms. Li, is teaching English at a school in Shanghai. She has observed that her students' understanding of English grammar improves with increased exposure to both English and mathematical reasoning exercises. She designs a study to analyze their progress usin...
{ "data_type": "if_content_constrained", "instruction_id_list": [ "count:count_unique", "language:response_language" ], "instruction_kwargs": [ null, { "language": "ko" } ] }
End of preview. Expand in Data Studio

Instruction-Following RL Content-Constrained 30K

Dataset summary

Instruction-Following RL Content-Constrained 30K is a training dataset for precise instruction following and reinforcement learning from verifiable rewards (RLVR). The current cleaned revision contains 29,520 heterogeneous, single-turn user prompts. Each prompt combines a substantive task with one to five explicit output constraints, such as keyword inclusion or exclusion, response length, capitalization, punctuation, paragraph structure, copying, target language, and start/end requirements.

The data is primarily derived from AllenAI's IF_multi_constraints_upto5. That upstream dataset contains IF-RLVR prompts with up to five constraints sampled from 25 IFEval constraint types and 29 IFBench-Train constraint types. This release contains the same 54 instruction IDs across 16 ID-prefix families.

Every local prompt also includes a common content-quality instruction telling the model to satisfy both the substantive task and the formal constraints, avoid superficial reward hacking, and produce relevant, useful content. This shared appendix is not represented by a separate machine-checkable instruction ID.

Files and integrity

File Split Rows Bytes SHA-256
instruction-following-rl-content-constrained-30k.jsonl train 29,520 65,247,519 (62.23 MiB) 02f9c6155441d46b6cc8d8cd02358715444f133f681f54cc4be646ee30177a79

The statistics in this card were recomputed with a complete streaming pass over the cleaned JSONL file on 2026-08-11. All 29,520 lines parsed as JSON and shared the same schema.

Data structure

Each JSONL row has the following shape:

prompt: list[{
  role: "user",
  content: string
}]
label: string                         # empty in every row
metadata: {
  data_type: "if_content_constrained",
  instruction_id_list: list[string],
  instruction_kwargs: list[dict | null]
}

instruction_id_list[i] and instruction_kwargs[i] form an aligned verifier specification. A null or empty dictionary is expected for a parameter-free constraint. Across this file, the two lists have equal lengths in every row; all instruction IDs are strings.

The records contain no reference response, scalar reward, pass rate, or model output. label is an empty string in all 29,520 rows.

Provenance and processing

The dataset owner identifies allenai/IF_multi_constraints_upto5 as the primary source. A content-level comparison also matched the first local record to the corresponding AllenAI record, including the substantive bill-summarization task, constraint text, instruction IDs, and arguments.

The observed processing is:

  • Upstream user messages are stored as prompt.
  • The upstream verifier specification in ground_truth is decoded into metadata.instruction_id_list and metadata.instruction_kwargs.
  • metadata.data_type is set to if_content_constrained.
  • A common content-quality/anti-reward-hacking appendix is added to every prompt.
  • An empty label field is added.
  • Upstream fields such as key, dataset, constraint_type, and the plain-text constraint field are not retained.

Because the upstream key was dropped, this release does not provide reliable row-level joins back to the source. The exact 30K selection rule and any additional source records are not encoded in the file.

Dataset statistics

Record-level validation

Statistic Value
Rows 29,520
Unique prompts 29,520
Unique complete rows 29,520
Exact duplicate prompts or rows 0
Rows with the common content-quality appendix 29,520
Rows with mismatched instruction/kwargs lengths 0
Total constraint instances 92,192
Unique instruction IDs 54
Unique ordered instruction-ID combinations 21,695

Prompt lengths range from 699 to 392,434 characters. The median is 1,335 characters, the mean is 1,687.29, and the 95th percentile is 2,705.05. A small number of very long source documents create substantial length outliers.

Constraints per row

Constraints Rows Share
1 3,959 13.41%
2 5,573 18.88%
3 7,343 24.87%
4 8,167 27.67%
5 4,478 15.17%

Mean constraints per row: 3.1230.

Constraint-family distribution

Counts below are constraint instances, not rows. A row may contribute to several families.

Instruction-ID prefix Instances Share of all constraints
keywords 22,005 23.87%
detectable_format 12,780 13.86%
length_constraints 8,318 9.02%
count 7,592 8.23%
change_case 4,869 5.28%
last_word 4,588 4.98%
copy 4,516 4.90%
letters 4,482 4.86%
detectable_content 4,478 4.86%
first_word 4,426 4.80%
punctuation 4,057 4.40%
startend 3,563 3.86%
paragraphs 2,594 2.81%
language 1,913 2.08%
combination 1,229 1.33%
new 782 0.85%

The most frequent individual IDs are last_word:last_word_answer (2,335), length_constraints:number_sentences (2,267), keywords:word_once (2,267), startend:end_checker (2,263), and last_word:last_word_sent (2,253).

language:response_language occurs 1,913 times and requests one of 30 response-language codes: ar, bg, bn, de, en, es, fa, fi, fr, gu, he, hi, it, ja, kn, ko, ml, mr, ne, pa, pl, pt, ru, sw, ta, te, th, uk, ur, or vi. The prompts themselves are primarily English; this list describes requested response languages, not a verified language label for every prompt.

Heuristic task shapes

The following distribution was produced by a rule-based content router over prompt text and constraint metadata. It is descriptive rather than ground-truth annotation.

Heuristic class Rows Share
Format-heavy 7,926 26.85%
Code 5,803 19.66%
Math 5,124 17.36%
Copy-only 3,075 10.42%
General generation 2,455 8.32%
Target language 1,729 5.86%
Repeat-then-answer 832 2.82%
Table/SQL 778 2.64%
Structured output 742 2.51%
Short answer 624 2.11%
Translation 432 1.46%

Loading the dataset

from datasets import load_dataset

dataset = load_dataset(
    "wflying/instruction-following-rl-content-constrained-30k",
    split="train",
)

row = dataset[0]
for instruction_id, kwargs in zip(
    row["metadata"]["instruction_id_list"],
    row["metadata"]["instruction_kwargs"],
):
    print(instruction_id, kwargs)

Because of the 392K-character prompt outlier, users with strict memory or batching limits may prefer streaming=True and length-aware batching.

Reward design

The metadata is intended for an ID-based hard-constraint verifier: instantiate the checker named by each instruction ID with its paired kwargs, evaluate the candidate response, and require all hard constraints to pass. The shared content-quality appendix is not captured by these IDs, so a rule-only verifier cannot determine whether a formally valid response substantively answers the task.

For content-constrained RL, a two-stage reward is recommended:

  1. Require every machine-checkable constraint to pass.
  2. Separately evaluate substantive relevance and non-degeneracy with a pinned semantic judge or carefully validated content rules.

Verifier versions, tokenization, sentence splitting, Unicode normalization, whitespace handling, and judge prompts can materially change rewards. Pin and document them for reproducibility. This repository contains the training data only; it does not bundle a canonical verifier implementation or judge model.

Intended uses

  • RLVR training for precise instruction following.
  • Multi-constraint curriculum and composition research.
  • Development of hard-constraint verifiers and hybrid rule/semantic rewards.
  • Analysis of format compliance versus substantive task quality.

Limitations and risks

  • Only a train split is provided; there is no independent validation or test set.
  • All labels are empty, and no reference responses or precomputed rewards are included.
  • Multi-constraint compositions have not been exhaustively proven satisfiable under every verifier implementation.
  • The exact verifier implementation is not part of the dataset, so results can vary across implementations.
  • The common content-quality instruction requires semantic judgment and is not fully verifiable from the structured metadata.
  • Dropping upstream row keys reduces provenance, deduplication, contamination analysis, and correction traceability.
  • The substantive tasks are heterogeneous and may contain factual errors, outdated material, copyrighted text, personal information, political content, or unsafe requests inherited from source mixtures. No comprehensive content or privacy audit was performed for this repackaging.
  • A prompt can request output in a language for which the underlying task or verifier has not been linguistically validated.
  • Training on these templates may improve template-specific compliance without guaranteeing generalization to unseen constraints or real-world user intent.

License, responsible use, and citation

The primary upstream dataset, allenai/IF_multi_constraints_upto5, is released under ODC-BY-1.0, which is reflected in this repository's machine-readable metadata. Its card states that the data is intended for research and educational use under Ai2's Responsible Use Guidelines, and that output data generated by third-party models may be subject to separate terms.

Any records or underlying task content originating from additional sources remain subject to their original licenses and terms. Users should review the upstream card and source-mixture obligations before redistribution or commercial use.

The constraint taxonomy builds on Google IFEval and IFBench-Train. For methodology and citation details, see Generalizing Verifiable Instruction Following by Pyatkin et al. (NeurIPS 2025).

@inproceedings{pyatkin2025generalizing,
  title={Generalizing Verifiable Instruction Following},
  author={Pyatkin, Valentina and Malik, Saumya and Graf, Victoria and Ivison, Hamish and Huang, Shengyi and Dasigi, Pradeep and Lambert, Nathan and Hajishirzi, Hannaneh},
  booktitle={Advances in Neural Information Processing Systems},
  year={2025},
  url={https://arxiv.org/abs/2507.02833}
}

Changes in this release

  • Published a cleaned 29,520-row, JSONL-formatted, content-constrained training subset.
  • Parsed verifier IDs and kwargs into compact nested metadata.
  • Added an empty label field and if_content_constrained data type for RL pipelines.
  • Added a shared instruction discouraging surface-only reward hacking.
  • Preserved the relative order and byte content of every surviving record.
  • Added full-file integrity, schema, constraint, task-shape, duplicate, and known-unsatisfiable-record statistics.
Downloads last month
36

Models trained or fine-tuned on wflying/instruction-following-rl-content-constrained-30k

Paper for wflying/instruction-following-rl-content-constrained-30k