Dataset Viewer
Auto-converted to Parquet Duplicate
data_source
stringclasses
1 value
prompt
listlengths
1
1
ability
stringclasses
1 value
reward_model
dict
extra_info
dict
dataset
stringclasses
1 value
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Describe the purpose of internet protocol version 6 (IPv6).\n\n Your entire response should be in English, and in all lowercase letters. No capital letters are allowed." } ]
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['change_case:english_lowercase'], 'kwargs': [None]}]" }
{ "index": 0 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Your response should contain 17 paragraphs. You separate paragraphs using the markdown divider: * * * What is the fastest way to get a weather report from the terminal?" } ]
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['length_constraints:number_paragraphs'], 'kwargs': [{'num_paragraphs': 17}]}]" }
{ "index": 1 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Given the task definition, example input & output, solve the new input case.\nYou are given a negative review and your task is to convert it to a positive review by one or more making minimal changes. Avoid changing the context of the review.\nExample: we stood there in shock ,...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['punctuation:no_comma'], 'kwargs': [None]}]" }
{ "index": 2 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Answer a question about this article:\nIncreasingly, more modern games such as video games and slot machines are provided. Pubs hold special events, from tournaments of the aforementioned games to karaoke nights to pub quizzes. Some play pop music and hip-hop (dance bar), or sh...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['keywords:frequency'], 'kwargs': [{'keyword': 'nonsensorial', 'frequency': 17}]}]" }
{ "index": 3 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Wrap your entire response with double quotation marks. Q: A chicken coop is a cage or pen in which chickens are kept.\nA: The farmer was worried about intruders, he made sure to make his what fox proof?\nOptions:\n- mountains\n- dense forest\n- orchard\n- chicken coop\n- wooded...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['startend:quotation'], 'kwargs': [None]}]" }
{ "index": 4 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "How many pineapples can fit into a suitcase? Make reasonable assumptions. Use metric. Your entire response should be in English, and in all lowercase letters. No capital letters are allowed." } ]
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['change_case:english_lowercase'], 'kwargs': [None]}]" }
{ "index": 5 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "The code works and runs, spreading appropriately with the latest commands you gave me, the model across gpus. I get a weird error if I increase the batch size higher than 256 via horovod, it is not cuda malloc, but I cannot understand it. This is the error \n\n[1,0]:Files alrea...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['detectable_format:number_highlighted_sections'], 'kwargs': [{'num_highlights': 34}]}]" }
{ "index": 6 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "OK. You'll be given the following question. Please do chain-of-thought reasoning.\nPick which sentence is not logical.\nOptions:\n- Sentence A: \"She learned to eat in ballet class.\"\n- Sentence B: \"She learned to dance in ballet class.\"\n Wrap your entire response with doub...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['startend:quotation'], 'kwargs': [None]}]" }
{ "index": 7 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "What is the maximum volume of water that can be stored in a tank with a length of 3 meters, a width of 2 meters, and a height of 2.5 meters? Can you also provide the amount of space left in the tank after filling it up with 10,000 liters of water? Please include the [formula] d...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['combination:repeat_prompt'], 'kwargs': [{'prompt_to_repeat': 'What is the maximum volume of water that can be stored in a tank with a length of 3 meters, a width of 2 meters, and a height of 2.5 meters? Can you also provide the amount of space left in the ...
{ "index": 8 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "You will be shown the text of the abstract, introduction, and conclusion of a scientific paper. Please summarize the key findings of the work in 1-2 sentences.\n\nPaper text: We propose a new perspective on adversarial attacks against deep reinforcement learning agents.\nOur ma...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['length_constraints:nth_paragraph_first_word'], 'kwargs': [{'num_paragraphs': 31, 'nth_paragraph': 3, 'first_word': 'ruffianhood'}]}]" }
{ "index": 9 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Problem: \nQ: Answer the following question given this paragraph: The water cycle plays an important role in weather. When liquid water evaporates, it causes humidity. When water vapor condenses, it forms clouds and precipitation. Humidity, clouds, and precipitation are all i...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['change_case:english_lowercase'], 'kwargs': [None]}]" }
{ "index": 10 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Create a timeline to show the history of space exploration.\n\nAnswer: Entire output should be wrapped in JSON format." } ]
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['detectable_format:json_format'], 'kwargs': [None]}]" }
{ "index": 11 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "In your response, the letter d should appear 9 times. \\documentclass{article}\r\n\r\n\\usepackage{graphicx}\r\n\\usepackage{amsmath}\r\n\\usepackage{amsfonts}\r\n\\usepackage{amssymb}\r\n\r\n\\begin{document}\r\n\r\nLet $G(V,E)$ be a simple, connected, undirected graph with $n...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['keywords:letter_frequency'], 'kwargs': [{'letter': 'd', 'let_frequency': 9}]}]" }
{ "index": 12 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "In your response, words with all capital letters should appear at least 8 times. Why might someone not get things they need?\nOptions:\n- cost money\n- fall apart\n- be demanding\n- happen to\n- go wrong\nLet's solve it slow. The things are very costly. Someone might not get th...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['change_case:capital_word_frequency'], 'kwargs': [{'capital_frequency': 8, 'capital_relation': 'at least'}]}]" }
{ "index": 13 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Translate the following sentence to Finnish:\nThese are the two Community aspects that we in Parliament must discuss.\n\nFinnish: In your response, the letter i should appear 36 times." } ]
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['keywords:letter_frequency'], 'kwargs': [{'letter': 'i', 'let_frequency': 36}]}]" }
{ "index": 14 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Answer with around 16 sentences. Sort these cities by their population, considering not only their current population but also their projected population growth over the next 10 years. Additionally, include data on the economic and social indicators of each city, such as their ...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['length_constraints:number_sentences'], 'kwargs': [{'num_sentences': 16, 'relation': 'at least'}]}]" }
{ "index": 15 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Can you elaborate on the advantages of DNA computing over classical and quantum computing? Please provide a detailed explanation of how DNA strands are encoded and modified through chemical processes to enhance computational capabilities. Can you give examples of real-world app...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['length_constraints:nth_paragraph_first_word'], 'kwargs': [{'num_paragraphs': 34, 'nth_paragraph': 32, 'first_word': 'synodalist'}]}]" }
{ "index": 16 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.\n\n### Instruction:\nFind the median of three numbers\n\n### Input:\n4, 8, 10\n\n### Response: First, repeat the request...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['combination:repeat_prompt'], 'kwargs': [{'prompt_to_repeat': 'Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.\\n\\n### Instruction:\\nFind the med...
{ "index": 17 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Your entire response should be in English, and in all lowercase letters. No capital letters are allowed. i know you have lot of hyperparameters. but i don't know how to use them. so you teach me how to use them to improve my productiveness when i use GPT. i think it would be be...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['change_case:english_lowercase'], 'kwargs': [None]}]" }
{ "index": 18 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Entire output should be wrapped in JSON format. How can one capture a full-screen screenshot on an iOS device that includes all content on the screen, including the hidden parts without scrolling, such as the navigation bar, status bar, and toolbars located at the top and botto...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['detectable_format:json_format'], 'kwargs': [None]}]" }
{ "index": 19 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Finish your response with this exact phrase Oh no.. No other words should follow this phrase. In this task, you will be presented with a text and a pronoun. You should write an implausible answer to the question of what is the pronoun's reference. Even though there exist multip...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['startend:end_checker'], 'kwargs': [{'end_phrase': 'Oh no.'}]}]" }
{ "index": 20 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Your entire response should be in English, capital letters only. What's the answer to that question: who was the president after jfk died?\nThe answer to this question is:" } ]
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['change_case:english_capital'], 'kwargs': [None]}]" }
{ "index": 21 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Finish your response with this exact phrase Oh no.. No other words should follow this phrase. Come up with a question and stream of consciousness reasoning that would justify this answer: on the east coast of Sicily , Italy , in the Metropolitan City of Catania , between the ci...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['startend:end_checker'], 'kwargs': [{'end_phrase': 'Oh no.'}]}]" }
{ "index": 22 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Problem: Write a negative yelp review.\nA: This bakery has horrible customer service and rude employees. They messed up my son's 9th birthday cake. I ordered it 2 1/2 weeks in advance. The person who took my order did not even give me a receipt for the $100 cake I was to purcha...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['length_constraints:number_paragraphs'], 'kwargs': [{'num_paragraphs': 35}]}]" }
{ "index": 23 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Your response must have 8 sections. Mark the beginning of each section with Section: X Campfire cannot be done in a tent as it catches fire.is the reasoning for what question and answer pair?" } ]
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['detectable_format:multiple_sections'], 'kwargs': [{'num_sections': 8, 'section_spliter': 'Section:'}]}]" }
{ "index": 24 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Build a movie plot around this: Who is referred in the movie as just Ro-Man? Evil Moon robot.\nAnswer: Do not include keywords magneto, secretly, dervishism in the response." } ]
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['keywords:forbidden_words'], 'kwargs': [{'forbidden_words': ['magneto', 'secretly', 'dervishism']}]}]" }
{ "index": 25 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Your entire response should be in English, capital letters only. Can you suggest a remote job for a young woman with a degree in sociology and proficiency in English? The job must be flexible, modern, well-paid, creative, and interesting, and can be related to Youtube. Addition...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['change_case:english_capital'], 'kwargs': [None]}]" }
{ "index": 26 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Your response should contain 12 paragraphs. You separate paragraphs using the markdown divider: * * * Claim: \"Many Star Wars fans were very excited by the scene at the end of Rogue One.\"\nIs the claim above correct, and can it be verified by human common sense and without a w...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['length_constraints:number_paragraphs'], 'kwargs': [{'num_paragraphs': 12}]}]" }
{ "index": 27 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Ques:Is there a negative or positive tone to this product review? === Title: Not Great Review: This book is not very helpful for the course I am taking. It doesn't do a great job of explaining subjects, although some of the examples are informative. I could definitely get throu...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['keywords:frequency'], 'kwargs': [{'keyword': 'empetraceous', 'frequency': 1}]}]" }
{ "index": 28 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Your response must have 6 sections. Mark the beginning of each section with Part: X Train a model in PyTorch to classify the following dataset into 4 classes." } ]
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['detectable_format:multiple_sections'], 'kwargs': [{'num_sections': 6, 'section_spliter': 'Part:'}]}]" }
{ "index": 29 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "In your response, the letter a should appear 13 times. Definition: In this task you are given a small conversation between two persons and 4 options on how the conversation should continue. Your job is to choose the most reasonable option. The conversation and the options are s...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['keywords:letter_frequency'], 'kwargs': [{'letter': 'a', 'let_frequency': 13}]}]" }
{ "index": 30 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Your entire response should be in English, capital letters only. Instruction: Which country has the largest population in the world?\nOutput:" } ]
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['change_case:english_capital'], 'kwargs': [None]}]" }
{ "index": 31 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Come up with a question and stream of consciousness reasoning that would justify this answer: yes\n Wrap your entire response with double quotation marks." } ]
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['startend:quotation'], 'kwargs': [None]}]" }
{ "index": 32 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "From Answer with one of the following options: a), b), c), d) A little girl poses on her bike not rides her bike. She isn't necessarily herself with her dog.\nThe question and answer are below.\nIf \"A little girl poses on her bike with her dog in the woods.\" does that mean th...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['detectable_format:constrained_response'], 'kwargs': [None]}]" }
{ "index": 33 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "How is \"The woodworking skills they already had were thus augmented not merely by the use of better steel tools but also by the use of carpentry techniques including morticing.\" said in Russian?\nОни уже имели навыки работы с деревом, которые были усовершенствованы не только ...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['detectable_format:json_format'], 'kwargs': [None]}]" }
{ "index": 34 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "How is \"Free movement within the EU has brought substantial benefits to our citizens but, at the same time, has opened many ways for traffickers.\" said in German?\n\nIn German: Der freie Verkehr innerhalb der EU hat unseren Bürgerinnen und Bürgern erhebliche Vorteile verschaf...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['keywords:frequency'], 'kwargs': [{'keyword': 'trenton', 'frequency': 18}]}]" }
{ "index": 35 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Your response should contain 34 paragraphs. You separate paragraphs using the markdown divider: * * * Create a query in SQL to find the name and address of the customers who purchased a particular product.\n\nProduct Name: Mobile Phone" } ]
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['length_constraints:number_paragraphs'], 'kwargs': [{'num_paragraphs': 34}]}]" }
{ "index": 36 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "In your response, the word irretrievable should appear 18 times. input hypothesis: Of the 196 professionals, only 1 was asked to take part in the survey\nContext: Here we go! What's coming down the pike for information technology in 2017 and beyond? As part of our Tech Forecast...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['keywords:frequency'], 'kwargs': [{'keyword': 'irretrievable', 'frequency': 18}]}]" }
{ "index": 37 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Come up with a list of seven thought-provoking questions to answer in a self-reflection essay, which should also include a table outlining the pros and cons of at least three different approaches to addressing a personal challenge, and a code snippet detailing a hypothetical al...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['detectable_format:title'], 'kwargs': [None]}]" }
{ "index": 38 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Your answer must contain a title, wrapped in double angular brackets, such as <<poem of joy>>. Given a sentence in the Japanese, provide an equivalent translation in Lao that retains the same meaning through the translation. In translation, keep numbers as it is.\n\n[EX Q]: ジョル...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['detectable_format:title'], 'kwargs': [None]}]" }
{ "index": 39 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Answer with around 36 words Plase answer the following request: Write a CSS code for making all <h1> headings red and bold.\nAnswer:" } ]
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['length_constraints:number_words'], 'kwargs': [{'num_words': 36, 'relation': 'at least'}]}]" }
{ "index": 40 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "At the end of your response, please explicitly add a postscript starting with PS: Task: Edit the following sentence to be as concise as possible.\nInput: A person who is illiterate cannot read or write.\nOutput:" } ]
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['detectable_content:postscript'], 'kwargs': [{'postscript_marker': 'PS:'}]}]" }
{ "index": 41 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "You are a scientific research assistant. You will be shown a passage from a medical clinical trial report. Your task is to extract all the findings from this report into a JSON array. A single finding should contain the following five elements:\n\n- Intervention: The medical in...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['detectable_format:json_format'], 'kwargs': [None]}]" }
{ "index": 42 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.\n\n### Instruction:\nCreate a function that takes in two strings and returns the number of times the first string is fou...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['length_constraints:number_sentences'], 'kwargs': [{'num_sentences': 23, 'relation': 'at least'}]}]" }
{ "index": 43 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "You will be shown the text of the abstract, introduction, and conclusion of a scientific paper. Please summarize the key findings of the work in 1-2 sentences.\n\nPaper text: Federated learning involves training and effectively combining machine learning models from distributed...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['change_case:english_lowercase'], 'kwargs': [None]}]" }
{ "index": 44 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "You are a scientific research assistant. You will be shown a passage from a medical clinical trial report. Your task is to extract all the findings from this report into a JSON array. A single finding should contain the following five elements:\n\n- Intervention: The medical in...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['startend:quotation'], 'kwargs': [None]}]" }
{ "index": 45 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "What happens next in this paragraph?\n\nHow to ace your vocabulary tests \nMake a list of the words you don't know. \nIf you know the words you're going to be tested on, that's great, and you can easily make the list. If you're studying for the act, sat, or gre, that makes it a...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['detectable_format:constrained_response'], 'kwargs': [None]}]" }
{ "index": 46 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "In your entire response, refrain from the use of any commas. Q: Solve 0 = 520862*p - 520824*p - 1216 for p.\n\nA: 32\n\n\nQ: Solve:\nSolve -173*s = -174*s + 6 for s.\n\nA: 6\n\n\nQuestion: What is the solution?\n\nSolve -226*i - 72 = -208*i for i.\n\nAnswer: -4\n\n\nProblem: Ma...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['punctuation:no_comma'], 'kwargs': [None]}]" }
{ "index": 47 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "In your response, the letter b should appear 4 times. Given the stream of consciousness rationale, provide a reasonable question and answer. Rationale: John is 30 because 60 / 2 = 30. Mary is fifteen because 30 / 2 = 15. Their total age is 105 because 60 + 30 + 15 = 105. Their ...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['keywords:letter_frequency'], 'kwargs': [{'letter': 'b', 'let_frequency': 4}]}]" }
{ "index": 48 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Given a list of words, sort them using a bubble sort algorithm.\n['apple', 'banana', 'cherry', 'date']\n\n Your entire response should be in English, capital letters only." } ]
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['change_case:english_capital'], 'kwargs': [None]}]" }
{ "index": 49 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "In your response, the letter j should appear 1 times. Give an example of a potential challenge the GPT model might encounter when trying to complete instruction #2." } ]
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['keywords:letter_frequency'], 'kwargs': [{'letter': 'j', 'let_frequency': 1}]}]" }
{ "index": 50 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Answer with at most 24 sentences. How can you use Swift to implement a game that simulates a complex genetic algorithm? Please include a class to represent the individuals in the population, a function to evaluate their fitness, and a function to evolve the population based on ...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['length_constraints:number_sentences'], 'kwargs': [{'num_sentences': 25, 'relation': 'less than'}]}]" }
{ "index": 51 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Problem: - death date is 6 august 2000 - birth date is c. 1928 - occupation is antitrust lawyer - death place is new haven , connecticut - nationality is united states - birth place is new haven , connecticut - alma mater is yale university yale law school...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['startend:end_checker'], 'kwargs': [{'end_phrase': 'Ay Caramba'}]}]" }
{ "index": 52 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "How does a Faraday cage work?\\n\\nMore specifically, how does it protect you? The response must contain at least 39 placeholders represented by square brackets, such as [address]." } ]
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['detectable_content:number_placeholders'], 'kwargs': [{'num_placeholders': 39}]}]" }
{ "index": 53 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "The next roll will be his 11th roll. The total on this tenth roll to have an average of 3 is 33, because 3 * 11 = 33. His current total is 31 because 1 + 3 + 2 + 4 + 3 + 5 + 6 + 1 + 4 + 2 = 31. He needs to roll a 2 because 33 - 31 = 2.\nThe answer: 2\nReverse engineering the qu...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['detectable_format:multiple_sections'], 'kwargs': [{'num_sections': 20, 'section_spliter': 'Part:'}]}]" }
{ "index": 54 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Write a response that appropriately completes the request.\n\n### Instruction:\nGenerate 8 unique alphanumeric characters\n\n### Response: In your entire response, refrain from the use of any commas." } ]
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['punctuation:no_comma'], 'kwargs': [None]}]" }
{ "index": 55 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Welcome to the WiFi Connection Challenge! Your goal is to connect to the WiFi network, but first, let's test your reasoning skills with some language questions.\n1. What has six letters, but when you take one away, there are still six letters left? (Hint: it's related to wirele...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['length_constraints:number_words'], 'kwargs': [{'num_words': 20, 'relation': 'less than'}]}]" }
{ "index": 56 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "First, repeat the request without change, then give your answer (do not say anything before repeating the request; the request you need to repeat does not include this sentence) Given the following reasoning and answer, what was the question? The important part for answering th...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['combination:repeat_prompt'], 'kwargs': [{'prompt_to_repeat': 'First, repeat the request without change, then give your answer (do not say anything before repeating the request; the request you need to repeat does not include this sentence) Given the follow...
{ "index": 57 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Do not include keywords becost, bicornous, tattlingly in the response. Output a stream of consciousness before answering the following. Context: There were 95 episodes in the Rurouni Kenshin's TV series, but there are also two original video animation (OVA) series which have re...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['keywords:forbidden_words'], 'kwargs': [{'forbidden_words': ['becost', 'bicornous', 'tattlingly']}]}]" }
{ "index": 58 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Given the following reasoning and answer, what was the question? Just because there men and woman with instruments doesn't mean they about to play a concert.\n The answer: it is not possible to tell\n Answer with at most 12 words" } ]
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['length_constraints:number_words'], 'kwargs': [{'num_words': 13, 'relation': 'less than'}]}]" }
{ "index": 59 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Generate a username that reflects the identity of a British hipster. Output: Your answer must contain a title, wrapped in double angular brackets, such as <<poem of joy>>." } ]
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['detectable_format:title'], 'kwargs': [None]}]" }
{ "index": 60 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "First, repeat the request without change, then give your answer (do not say anything before repeating the request; the request you need to repeat does not include this sentence) Smalltooth sawfish - The smalltooth sawfish (Pristis pectinata) also known as the wide sawfish is a...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['combination:repeat_prompt'], 'kwargs': [{'prompt_to_repeat': \"First, repeat the request without change, then give your answer (do not say anything before repeating the request; the request you need to repeat does not include this sentence) Smalltooth sawf...
{ "index": 61 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "You need to complete the following task:\n\nExplain how the following two sentences are together grammatically.\n\nWe ran as fast as we could. Still, we arrived late.\n\nAnswer: In your response, words with all capital letters should appear around 15 times." } ]
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['change_case:capital_word_frequency'], 'kwargs': [{'capital_frequency': 15, 'capital_relation': 'at least'}]}]" }
{ "index": 62 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "At the end of your response, please explicitly add a postscript starting with Before I forget: Can you help with this?\n\nDesign a physics experiment to measure the acceleration due to gravity," } ]
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['detectable_content:postscript'], 'kwargs': [{'postscript_marker': 'Before I forget:'}]}]" }
{ "index": 63 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Your answer must contain exactly 16 bullet points. Use the markdown bullet points such as: * This is a point. Please answer this: Write a multi-choice question for the following article, with the given choices and answer: Article: As a boy growing up in India, I had longed to t...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['detectable_format:number_bullet_lists'], 'kwargs': [{'num_bullets': 16}]}]" }
{ "index": 64 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Wrap your entire response with double quotation marks. Men can not leap at each other while running past them.. So what could be the question?\nQuestion followed by answer: Can we conclude from \"A man in yellow is leaping toward men in blue.\" that \"Men run past each other.\"...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['startend:quotation'], 'kwargs': [None]}]" }
{ "index": 65 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Please answer the following question: Pick the option in line with common sense to answer the question. Questions: What does someone immoral do when they are taking final exams without studying? Options: - cheat - study - great joy - graduation - sweat\nA: Finish your response ...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['startend:end_checker'], 'kwargs': [{'end_phrase': \"That's all I have to say.\"}]}]" }
{ "index": 66 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Write a closing paragraph to a long article about the limitations of large language models. Give two different responses. Responses and only responses should be separated by 6 asterisk symbols: ******." } ]
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['combination:two_responses'], 'kwargs': [None]}]" }
{ "index": 67 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Do not include keywords ionospheric, unhearten, thoracometer in the response. QUESTION: Can we conclude from \"Five asian teenagers are talking in a group outside a store.\" that \"Asian teens are getting rowdy outside a store.\"?\nOptions:\n- yes\n- no\n- it is not possible to...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['keywords:forbidden_words'], 'kwargs': [{'forbidden_words': ['ionospheric', 'unhearten', 'thoracometer']}]}]" }
{ "index": 68 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Your response must have 30 sections. Mark the beginning of each section with Part: X Given the unique nature of Canadian corporate structures, how can companies ensure compliance with regulatory requirements when entering into joint ventures with foreign entities? Provide a ste...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['detectable_format:multiple_sections'], 'kwargs': [{'num_sections': 30, 'section_spliter': 'Part:'}]}]" }
{ "index": 69 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Problem: Article: Dr Qian Chen is among 315 new starters working in the NHS for Cardiff and Vale University Health Board.\nStrikes were held in England over a new contract which does not affect colleagues in Wales where the NHS is devolved.\nHealth board medical director Dr Gra...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['keywords:existence'], 'kwargs': [{'keywords': ['unreassuring', 'underheaven']}]}]" }
{ "index": 70 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Some text: Le Conseil approuve et loue le rôle important joué par le Représentant du Secrétaire général et le personnel du Bureau d'appui des Nations Unies pour la consolidation de la paix en Guinée-Bissau, ainsi que par l'équipe de pays des Nations Unies dans le sens de la con...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['change_case:english_capital'], 'kwargs': [None]}]" }
{ "index": 71 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Include keywords kevel, reunitable in your response. [Q]: \"Chapter 23\" --> French?\n[A]: Chapitre 23\n\n[Q]: \"Article 39 of the Charter of the United Nations allows the Security Council to take measures such as sanctions only “to maintain or restore international peace and s...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['keywords:existence'], 'kwargs': [{'keywords': ['kevel', 'reunitable']}]}]" }
{ "index": 72 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\nusing Love;\n\nnamespace LoveCSharp\n{\n class Program : Scene\n {\n public Player player1;\n public static float deltaTime;\n static void Main(string[] args...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['length_constraints:number_sentences'], 'kwargs': [{'num_sentences': 19, 'relation': 'at least'}]}]" }
{ "index": 73 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "At the end of your response, please explicitly add a postscript starting with Before I forget: For this chain-of-thought reasoning and answer, what was the question?\nThe fact that a band is performing does not imply that the band has four people.\n A: it is not possible to tel...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['detectable_content:postscript'], 'kwargs': [{'postscript_marker': 'Before I forget:'}]}]" }
{ "index": 74 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Answer with at most 4 words Task: Generate a list of 6 words that can be used to describe emotions." } ]
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['length_constraints:number_words'], 'kwargs': [{'num_words': 5, 'relation': 'less than'}]}]" }
{ "index": 75 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "In your response, the word synedria should appear 33 times. question: Turkish Nationality Law has built the concept of “citizenship” on the principle of equality between women and men for years. --> French.\nanswer: La législation turque de la nationalité a basé le concept de «...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['keywords:frequency'], 'kwargs': [{'keyword': 'synedria', 'frequency': 33}]}]" }
{ "index": 76 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Using the following sentence as an example:\n\"I think I should have eaten\"\nIn a sentence analysis, what is the verb and its past participle form?\nCan you provide the verb and its past participle form of the sentence above? In your response, words with all capital letters sh...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['change_case:capital_word_frequency'], 'kwargs': [{'capital_frequency': 36, 'capital_relation': 'at least'}]}]" }
{ "index": 77 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Instruction: Create a shell script to list out the folders and its size in the current directory\n Do not include keywords undeluding, satisfice, commissionship in the response." } ]
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['keywords:forbidden_words'], 'kwargs': [{'forbidden_words': ['undeluding', 'satisfice', 'commissionship']}]}]" }
{ "index": 78 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['detectable_format:number_highlighted_sections'], 'kwargs': [{'num_highlights': 9}]}]" }
{ "index": 79 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "왜 환전이나 결제 트랜잭션 수수료는 정액이 아니라 금액의 비율로 산정됩니까? In your response, the word lythrum should appear 35 times." } ]
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['keywords:frequency'], 'kwargs': [{'keyword': 'lythrum', 'frequency': 35}]}]" }
{ "index": 80 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "*Ans* yes\n*Question* Given the sentence \"Two women and a man are sitting at a blue table eating and drinking and smiling at the camera.\" can we conclude that \"The women and man are smiling.\"?\nOptions:\n- yes\n- it is not possible to tell\n- no\n*CoT* Two women and a man s...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['startend:end_checker'], 'kwargs': [{'end_phrase': 'Ay Caramba'}]}]" }
{ "index": 81 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Instruction: Suggest two new categories for categorizing a list of books.\nOutput: In your response, the letter e should appear 30 times." } ]
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['keywords:letter_frequency'], 'kwargs': [{'letter': 'e', 'let_frequency': 30}]}]" }
{ "index": 82 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Michael has two bags, each of which has 15 red balls and 35 white balls. There are 10 more white balls in the first bag than in the second. How many balls are in each bag? Answer in chinese Your response must have 33 sections. Mark the beginning of each section with Chapter: X"...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['detectable_format:multiple_sections'], 'kwargs': [{'num_sections': 33, 'section_spliter': 'Chapter:'}]}]" }
{ "index": 83 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "In your response, the letter d should appear 18 times. input with options: If I tell you that A greenhouse is used to protect plants from winter wind, and ask you the question \"what does a greenhouse protect plants from?\", is the correct answer \"deforestation\"?\nOPTIONS:\n-...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['keywords:letter_frequency'], 'kwargs': [{'letter': 'd', 'let_frequency': 18}]}]" }
{ "index": 84 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Finish your response with this exact phrase That's all I have to say.. No other words should follow this phrase. Can you provide a [Python code] for a 10-minute HIIT workout routine? The routine should include 3 rounds of the following exercises with 30 seconds of work followed...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['startend:end_checker'], 'kwargs': [{'end_phrase': \"That's all I have to say.\"}]}]" }
{ "index": 85 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "OK. You'll be given the following question. Please do chain-of-thought reasoning.\nPick which sentence is not logical.\nOptions:\n- Sentence A: \"She learned to eat in ballet class.\"\n- Sentence B: \"She learned to dance in ballet class.\"\n First, repeat the request without c...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['combination:repeat_prompt'], 'kwargs': [{'prompt_to_repeat': 'OK. You\\'ll be given the following question. Please do chain-of-thought reasoning.\\nPick which sentence is not logical.\\nOptions:\\n- Sentence A: \"She learned to eat in ballet class.\"\\n- S...
{ "index": 86 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Include keywords holocephala, recast in your response. Detailed Instructions: You are given a sentence in Polish. Your job is to translate the Polish sentence into Japanese.\nQ: Wyruszamy więc do Finlandii, zachwycamy się cudem społecznej demokracji, homogeniczną kulturą itd., ...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['keywords:existence'], 'kwargs': [{'keywords': ['holocephala', 'recast']}]}]" }
{ "index": 87 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Definition: You are given a statement written in Hindi. Choose the most logical word from the given 4 options which can be used to replace the <MASK> token in the statement. Output the word from the correct option .\nInput: Statement: गुजराती <MASK> की एक भाषा है जो गुजरात राज्...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['combination:two_responses'], 'kwargs': [None]}]" }
{ "index": 88 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Give two different responses. Responses and only responses should be separated by 6 asterisk symbols: ******. You are given a sentence in Galician. Your job is to translate the Galician sentence into Arabic.\n\n[Q]: Pero iso é unha historia diferente, da que non vou falar agora...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['combination:two_responses'], 'kwargs': [None]}]" }
{ "index": 89 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "There should be 32 paragraphs. Paragraphs and only paragraphs are separated with each other by two line breaks. The 3-th paragraph must start with word elicit. Does the following sentence make sense?\n\"Like Nostradamas, George Orwell has been able to predict future events perf...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['length_constraints:nth_paragraph_first_word'], 'kwargs': [{'num_paragraphs': 32, 'nth_paragraph': 3, 'first_word': 'elicit'}]}]" }
{ "index": 90 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Answer with around 26 sentences. Write a JavaScript program to generate a random aluminum hexadecimal color code." } ]
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['length_constraints:number_sentences'], 'kwargs': [{'num_sentences': 26, 'relation': 'at least'}]}]" }
{ "index": 91 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Write the following list of characters into a correctly formed sentence: 2Identifyingtoanick Finish your response with this exact phrase Ay Caramba. No other words should follow this phrase." } ]
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['startend:end_checker'], 'kwargs': [{'end_phrase': 'Ay Caramba'}]}]" }
{ "index": 92 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Your entire response should be in English, capital letters only. You will be shown the text of the abstract, introduction, and conclusion of a scientific paper. Please summarize the key findings of the work in 1-2 sentences.\n\nPaper text: We propose an effective multitask lear...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['change_case:english_capital'], 'kwargs': [None]}]" }
{ "index": 93 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Your answer must contain exactly 10 bullet points. Use the markdown bullet points such as: * This is a point. Geraldine O'Riordan, Guernsey States Prescribing Advisor, said it was down to a range of measures including an increased use of generic drugs.\nShe said the island's us...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['detectable_format:number_bullet_lists'], 'kwargs': [{'num_bullets': 10}]}]" }
{ "index": 94 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Who developed the live attenuated polio vaccine which has led to hopes of global eradication of the virus? Your response should contain 23 paragraphs. You separate paragraphs using the markdown divider: * * *" } ]
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['length_constraints:number_paragraphs'], 'kwargs': [{'num_paragraphs': 23}]}]" }
{ "index": 95 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Student asked: Can we conclude from \"A person on an atv in dunes with a purple sky.\" that \"A person is flying a plane over the desert.\"?\nOptions:\n- yes\n- no\n- it is not possible to tell\nTeacher's response: Let's think. An ATV in dunes is not same as flying a plane. The...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['combination:two_responses'], 'kwargs': [None]}]" }
{ "index": 96 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Instruction: Which country has the largest population in the world?\nOutput: Answer with around 23 sentences." } ]
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['length_constraints:number_sentences'], 'kwargs': [{'num_sentences': 23, 'relation': 'at least'}]}]" }
{ "index": 97 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "In this task, you will be presented with a text and a pronoun. You should write an implausible answer to the question of what is the pronoun's reference. Even though there exist multiple wrong answers, we only need a single wrong answer. Position of the pronoun in the text is s...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['detectable_format:number_highlighted_sections'], 'kwargs': [{'num_highlights': 21}]}]" }
{ "index": 98 }
ifeval
allenai/IF_multi_constraints_upto5
[ { "role": "user", "content": "Your response must have 13 sections. Mark the beginning of each section with Section: X CVE description:\nExpat (aka libexpat) before 2.4.4 has a signed integer overflow in XML\\_GetBuffer, for configurations with a nonzero XML\\_CONTEXT\\_BYTES.\n\n취약점 발생 중인 함수:\nTfLiteIntArra...
instruction_following
{ "style": "ifeval", "ground_truth": "[{'instruction_id': ['detectable_format:multiple_sections'], 'kwargs': [{'num_sections': 13, 'section_spliter': 'Section:'}]}]" }
{ "index": 99 }
ifeval
End of preview. Expand in Data Studio

RLVR-IFeval-VERL: Instruction Following Evaluation from RLVR

Overview

This dataset contains 14,973 instruction-following examples from the RLVR-IFeval dataset, transformed into the IFBench-VERL format for training reinforcement learning models with VERL.

The dataset provides structured evaluation data for testing language models' ability to follow explicit constraints and instructions, covering 25 distinct constraint types across multiple categories.

Dataset Statistics

Metric Value
Total Examples 14,973
Unique Constraint Types 25
Language English
Format Parquet
Source allenai/RLVR-IFeval
License ODC-BY

Dataset Structure

Fields

Each example contains the following fields:

  • data_source (string): Source dataset identifier (always "allenai/IF_multi_constraints_upto5")
  • prompt (list): Conversation messages in chat format
    • role (string): Message role (typically "user")
    • content (string): Instruction text with embedded constraints
  • ability (string): Task category (always "instruction_following")
  • reward_model (dict): Reward model configuration for evaluation
    • style (string): Reward type (always "ifeval")
    • ground_truth (string): Python literal string encoding constraint specifications
  • extra_info (dict): Additional metadata
    • index (int64): Original example index from source dataset
  • dataset (string): Dataset identifier (always "ifeval")

Example

{
  "data_source": "allenai/IF_multi_constraints_upto5",
  "prompt": [
    {
      "role": "user",
      "content": "Describe the purpose of internet protocol version 6 (IPv6).\\n\\n Your entire response should be in English, and in all lowercase letters. No capital letters are allowed."
    }
  ],
  "ability": "instruction_following",
  "reward_model": {
    "style": "ifeval",
    "ground_truth": "[{'instruction_id': ['change_case:english_lowercase'], 'kwargs': [None]}]"
  },
  "extra_info": {
    "index": 0
  },
  "dataset": "ifeval"
}

Constraint Types

The dataset includes 25 distinct instruction-following constraint types, organized into 9 categories:

1. Keywords (4 types)

  • verify_keywordskeywords:existence
    • Requires specific keywords to appear in the response
  • verify_keyword_frequencykeywords:frequency
    • Requires a keyword to appear a specific number of times
  • validate_forbidden_wordskeywords:forbidden_words
    • Prohibits certain words from appearing
  • verify_letter_frequencykeywords:letter_frequency
    • Requires a specific letter to appear a certain number of times

2. Language (1 type)

  • validate_response_languagelanguage:response_language
    • Requires the response to be in a specific language

3. Length Constraints (4 types)

  • verify_paragraph_countlength_constraints:number_paragraphs
    • Requires a specific number of paragraphs
  • validate_word_constraintlength_constraints:number_words
    • Requires a specific number of words (with quantifiers: "at least", "at most")
  • verify_sentence_constraintlength_constraints:number_sentences
    • Requires a specific number of sentences
  • validate_paragraphslength_constraints:nth_paragraph_first_word
    • Requires the nth paragraph to start with a specific word

4. Detectable Content (2 types)

  • verify_postscriptdetectable_content:postscript
    • Requires a postscript (e.g., "P.S.") in the response
  • validate_placeholdersdetectable_content:number_placeholders
    • Requires a specific number of placeholders (e.g., [placeholder])

5. Detectable Format (6 types)

  • verify_bullet_pointsdetectable_format:number_bullet_lists
    • Requires a specific number of bullet points
  • validate_titledetectable_format:title
    • Requires the response to include a title
  • validate_choicedetectable_format:constrained_response
    • Requires the response to be one of predefined options
  • validate_highlighted_sectionsdetectable_format:number_highlighted_sections
    • Requires a specific number of highlighted sections (e.g., *text*)
  • validate_sectionsdetectable_format:multiple_sections
    • Requires the response to be divided into named sections
  • validate_json_formatdetectable_format:json_format
    • Requires the response to be in valid JSON format

6. Combination (2 types)

  • validate_repeat_promptcombination:repeat_prompt
    • Requires the response to repeat the original prompt
  • validate_two_responsescombination:two_responses
    • Requires two distinct responses separated by specific markers

7. Case Changes (3 types)

  • validate_uppercasechange_case:english_capital
    • Requires all text to be uppercase
  • validate_lowercasechange_case:english_lowercase
    • Requires all text to be lowercase
  • validate_frequency_capital_wordschange_case:capital_word_frequency
    • Requires a specific number of capitalized words

8. Start/End (2 types)

  • validate_endstartend:end_checker
    • Requires the response to end with a specific phrase
  • validate_quotationstartend:quotation
    • Requires the response to be wrapped in quotation marks

9. Punctuation (1 type)

  • validate_no_commaspunctuation:no_comma
    • Prohibits the use of commas in the response

Usage

Loading the Dataset

from datasets import load_dataset

# Load the full dataset
dataset = load_dataset("sungyub/ifeval-rlvr-verl", split="train")

# Load a subset
dataset = load_dataset("sungyub/ifeval-rlvr-verl", split="train[:100]")

print(f"Loaded {len(dataset)} examples")
print(dataset[0])

Using with Datatrove Scorer

This dataset is compatible with the datatrove IFEval scorer:

from datatrove.utils.reward_score import compute_score

# Get an example
example = dataset[0]

# Generate a response (example using XML format)
response = """<think>
I need to write about IPv6 in all lowercase letters.
</think>

ipv6 is the successor to ipv4, providing a vastly larger address space with 128-bit addresses instead of 32-bit. this enables more devices to connect to the internet directly without requiring network address translation.
"""

# Compute score
score = compute_score(
    data_source="sungyub/ifeval-rlvr-verl",
    solution_str=response,
    ground_truth=example["reward_model"]["ground_truth"],
    format_type="auto"  # Supports both XML and GPT-OSS formats
)

print(score)
# Output: {'score': 1.0, 'reward_fmt': 1.0, 'reward_think': 1.0}

Using with VERL

The dataset can be directly used with VERL for reinforcement learning training:

from verl import DataProto

# Load dataset
dataset = load_dataset("sungyub/ifeval-rlvr-verl", split="train")

# Convert to VERL format
verl_data = []
for example in dataset:
    data_proto = DataProto(
        prompt=example["prompt"],
        ability=example["ability"],
        reward_model=example["reward_model"],
        extra_info=example["extra_info"],
    )
    verl_data.append(data_proto)

Response Format Support

The scorer supports two response formats:

1. XML Format (Traditional)

response = """<think>
Reasoning process here
</think>

Final response here
"""

2. GPT-OSS Format

response = """<|start|>assistant<|channel|>analysis<|message|>
Reasoning process here
<|end|>

<|start|>assistant<|channel|>final<|message|>
Final response here
<|return|>
"""

The format_type="auto" parameter automatically detects the format.

Data Transformation

This dataset was created by transforming the allenai/RLVR-IFeval dataset to match the IFBench-VERL schema. The transformation includes:

  1. Function Mapping: All 25 RLVR constraint functions are mapped to existing IFEval instruction types
  2. Parameter Conversion: RLVR parameter names are converted to IFEval parameter names (e.g., Nnum_paragraphs)
  3. Quantifier Normalization: RLVR quantifiers are normalized to IFEval relations:
    • "at most N""less than N+1"
    • "around N""at least N"
  4. Ground Truth Format: Ground truth is stored as Python literal strings (using repr()) for compatibility with ast.literal_eval()

Evaluation

The dataset can be used to evaluate instruction-following capabilities by:

  1. Generating responses to the prompts
  2. Using the IFEval scorer to compute reward scores
  3. Analyzing performance across different constraint types

Scores are returned as a dictionary with:

  • score: Overall score (0.0 to 1.0)
  • reward_fmt: Format reward (validates response structure)
  • reward_think: Thinking reward (validates reasoning section)

Citation

If you use this dataset, please cite both the original RLVR-IFeval dataset and this transformation:

@misc{rlvr-ifeval,
  title={RLVR-IFeval: Instruction Following Evaluation Dataset},
  author={Allen Institute for AI},
  year={2024},
  url={https://huggingface.co/datasets/allenai/RLVR-IFeval}
}

@misc{ifeval-rlvr-verl,
  title={RLVR-IFeval-VERL: IFBench-VERL Format Transformation},
  author={Sungyub Kim},
  year={2025},
  url={https://huggingface.co/datasets/sungyub/ifeval-rlvr-verl}
}

For the original IFEval benchmark:

@misc{zhou2023instructionfollowing,
  title={Instruction-Following Evaluation for Large Language Models},
  author={Jeffrey Zhou and Tianjian Lu and Swaroop Mishra and Siddhartha Brahma and Sujoy Basu and Yi Luan and Denny Zhou and Le Hou},
  year={2023},
  eprint={2311.07911},
  archivePrefix={arXiv},
  primaryClass={cs.CL}
}

License

This dataset is released under the ODC-BY license, consistent with the source dataset. You are free to:

  • Share: Copy and redistribute the data
  • Adapt: Transform and build upon the data
  • Use commercially: Use the data for commercial purposes

Under the following terms:

  • Attribution: You must give appropriate credit and indicate if changes were made

Related Resources

Acknowledgments

  • Allen Institute for AI for creating the original RLVR-IFeval dataset
  • Google Research for the IFEval benchmark
  • HuggingFace for the datatrove library
  • Volcengine for the VERL framework
Downloads last month
24

Collection including sungyub/ifeval-rlvr-verl

Paper for sungyub/ifeval-rlvr-verl