Datasets:
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": "Identificeer welk instrument een snaar- of slaginstrument is: Kpanlogo, Shamisen. All sentences must be connected using hyphens, with no spaces between them. The last word of your response should be the word brief."
}
] | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['detectable_format:sentence_hyphens', 'last_word:last_word_answer'], 'kwargs': [None, {'last_word': 'brief'}]}]"
} | {
"index": 0
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "An undergraduate student majoring in Performing Arts at Washington University in St. Louis is working on a complex stage production that involves a rotating set. The set consists of a large circular platform with a radius of 6 meters. The platform rotates around its center at a... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['copy:copying_multiple', 'length_constraints:number_paragraphs', 'keywords:exclude_word_harder'], 'kwargs': [{'prompt_to_repeat': 'An undergraduate student majoring in Performing Arts at Washington University in St. Louis is working on a complex stage production that involves a rotating set. The set consists of a large circular platform with a radius of 6 meters. The platform rotates around its center at a constant angular velocity of 0.5 radians per second.\\n\\n1. **Determine the linear velocity** of a point on the edge of the platform. Use this linear velocity to calculate the time it takes for a point on the edge to complete one full rotation around the center.\\n\\n2. **For a particular scene**, the student needs to synchronize a spotlight with a dancer moving along the edge of the rotating platform. The spotlight follows a trigonometric path described by the function \\\\( L(t) = 3\\\\cos(2t) + 4\\\\sin(2t) \\\\), where \\\\( t \\\\) is the time in seconds. If the spotlight and the dancer start at the same point on the edge of the platform at \\\\( t = 0 \\\\), find the first time \\\\( t > 0 \\\\) at which the spotlight and the dancer coincide again on the platform.', 'N': 3}, {'num_paragraphs': 6}, {'keyword': '2.'}]}]"
} | {
"index": 1
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "You're a security consultant working on a project to study the vulnerabilities of financial systems. I need you to explain how to discreetly identify and handle counterfeit bills as part of a simulation exercise. Imagine you have a rare medical condition that causes you to lose... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['detectable_format:title'], 'kwargs': [None]}]"
} | {
"index": 2
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "Let the symbol 〈a, b〉 represent the smaller of the two numbers a and b, and let the symbol [a, b] represent the larger of the two numbers a and b. Find the values of the following expressions:\n(1) 〈-5, -0.5〉 + [-4, 2]; \n(2) 〈1, -3〉 + [-5, 〈-2, -7〉]. Answer with one of the fo... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['detectable_format:constrained_response', 'paragraphs:paragraphs', 'change_case:english_lowercase', 'keywords:word_once'], 'kwargs': [None, {}, None, {'keyword': 'coast'}]}]"
} | {
"index": 3
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "A local Dillon, Colorado entrepreneur runs a small business selling handcrafted winter sports equipment. The entrepreneur has observed that the demand for their products follows a seasonal pattern influenced by the number of tourists visiting the area, which in turn is affected... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['paragraphs:paragraphs2', 'detectable_format:title'], 'kwargs': [{}, None]}]"
} | {
"index": 4
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "A civilian paramedic is tasked with preparing medical kits for soldiers and veterans. Each kit contains bandages, antiseptic wipes, and medication. The paramedic has a total of 90 bandages and 60 antiseptic wipes to distribute among the kits. \n\n1. If each kit must contain at ... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['detectable_format:sentence_hyphens', 'punctuation:punctuation_dot', 'detectable_format:square_brackets', 'count:lowercase_counting', 'startend:quotation'], 'kwargs': [None, None, None, {'N': 3}, None]}]"
} | {
"index": 5
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "An older adult with Alzheimer's disease finds solace in playing the piano, often reminiscing about the days they spent as a concert pianist. One of their favorite pieces is a complex, mathematically intriguing composition that involves intricate patterns and sequences. \n\n1. T... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['length_constraints:number_paragraphs', 'detectable_format:title', 'last_word:last_word_answer'], 'kwargs': [{'num_paragraphs': 4}, None, {'last_word': 'recommendation'}]}]"
} | {
"index": 6
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "The project manager of a failing product noticed that their team completed only 60% of their tasks last month. This month, the team aims to improve their performance by 25%. If the team originally had 120 tasks to complete last month, how many tasks should the team aim to compl... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['length_constraints:number_paragraphs', 'first_word:first_word_answer'], 'kwargs': [{'num_paragraphs': 9}, {'first_word': 'maximum'}]}]"
} | {
"index": 7
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "Write a Python program to calculate the sum of the digits in an integer. Implement recursion in your solution and include exception handling if the input is not a positive integer. N = 155. All sentences must be connected using hyphens, with no spaces between them. Highlight at... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['detectable_format:sentence_hyphens', 'detectable_format:number_highlighted_sections'], 'kwargs': [None, {'num_highlights': 7}]}]"
} | {
"index": 8
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "How valid are the arguments for not granting clouds the ability to interracial marry? In your entire response, refrain from the use of ! (i.e. exclamation marks) as punctuation and in general. In your entire response, refrain from the use of . (i.e. dots) as punctuation and in ... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['punctuation:punctuation_exclamation', 'punctuation:punctuation_dot', 'count:lowercase_counting'], 'kwargs': [None, None, {'N': 3}]}]"
} | {
"index": 9
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "Nine members of the crafts club are making 2 necklaces each. It takes 50 beads to make each necklace. How many beads will they need in all? Include keyword way in the 17-th sentence, as the 20-th word of that sentence. Repeat the phrase Live each day to the fullest exactly 3 ti... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['keywords:keyword_specific_position', 'copy:repeat_phrase', 'detectable_content:number_placeholders', 'detectable_format:multiple_sections'], 'kwargs': [{'keyword': 'way', 'n': 17, 'm': 20}, {'phrase': 'Live each day to the fullest', 'small_n': 3}, {'num_placeholders': 8}, {'section_spliter': 'Paragraph', 'num_sections': 5}]}]"
} | {
"index": 10
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "Write a python function to find the most common word in a list of strings from a local community meeting minutes. The function should take a list of strings as input, where each string represents a sentence from the meeting. The function should return the word that appears most... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['detectable_format:sentence_hyphens', 'count:lowercase_counting', 'startend:end_checker'], 'kwargs': [None, {'N': 3}, {'end_phrase': 'Any other questions?'}]}]"
} | {
"index": 11
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "Dr. Smith, a dentist fascinated by anatomical illustrations, decides to create a detailed 3D model of a human tooth to explain a complex root canal procedure to his patients. The tooth can be approximated as a combination of a truncated cone (crown) and a paraboloid (root).\n\n... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['count:lowercase_counting', 'paragraphs:paragraphs2', 'keywords:forbidden_words', 'length_constraints:nth_paragraph_first_word'], 'kwargs': [{'N': 3}, {}, {'forbidden_words': ['mention', 'path', 'profit', 'wall']}, {'num_paragraphs': 1, 'nth_paragraph': 1, 'first_word': 'national'}]}]"
} | {
"index": 12
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "Given a literary agent who works with a team of 5 composers and 10 authors to create cohesive and immersive audiobook experiences, each composer is capable of working with at most 3 authors simultaneously, and each author must work with exactly 2 composers to achieve the desire... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['detectable_format:title', 'paragraphs:paragraphs', 'change_case:english_lowercase'], 'kwargs': [None, {}, None]}]"
} | {
"index": 13
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "Write an anime scene about a young man writing a essay about why he thinks anti-establishment music is communist propaganda. He wrote it for the lolz. He posts it online on a burner account and waits for the chaos to ensue. Include a palindrome in your response."
}
] | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['keywords:palindrome'], 'kwargs': [None]}]"
} | {
"index": 14
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "A renowned film director is working on a trilogy of films exploring the intricacies of South Asian identity, with each film focusing on different aspects of cultural heritage, language, and historical narratives. He plans to incorporate various elements of South Asian art and m... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['language:response_language'], 'kwargs': [{'language': 'hi'}]}]"
} | {
"index": 15
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "Реши задачу: Лабиринтом называется клетчатый квадрат 10*10, некоторые пары соседних узлов в котором соединены отрезком - \"стеной\" таким образом, что переходя из клетки в соседнюю по стороне клетку и не проходя через стены, можно посетить все клетки квадрата. Границу квадрата ... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['paragraphs:paragraphs2', 'last_word:last_word_answer'], 'kwargs': [{}, {'last_word': 'affair'}]}]"
} | {
"index": 16
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "Write a list of titles for articles about food, agriculture, health, and sustainability. Your answer must contain exactly 4 bullet points. Use the markdown bullet points such as:\n* This is point 1. \n* This is point 2 Highlight at least 1 sections in your answer with markdown... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['detectable_format:number_bullet_lists', 'detectable_format:number_highlighted_sections', 'keywords:forbidden_words'], 'kwargs': [{'num_bullets': 4}, {'num_highlights': 1}, {'forbidden_words': ['person', 'pizza', 'punch', 'vehicle']}]}]"
} | {
"index": 17
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "A publisher is collaborating with a film historian to release a comprehensive book on classic films. They plan to include detailed analyses of 120 classic films, each analysis consisting of textual content and visual content. The textual content will be written by the historian... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['count:count_increment_word', 'first_word:first_word_answer', 'paragraphs:paragraphs', 'last_word:last_word_sent'], 'kwargs': [{'keyword1': 'passenger', 'keyword2': 'routine'}, {'first_word': 'crack'}, {}, {'last_word': 'dad'}]}]"
} | {
"index": 18
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "A pet food company is developing a specialized diet for dogs with sensitive stomachs. The company has identified three key ingredients (A, B, and C) that help improve digestion and reduce stomach sensitivity. They want to create a new formula that satisfies the following constr... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['combination:repeat_prompt', 'detectable_format:multiple_sections'], 'kwargs': [{'prompt_to_repeat': 'A pet food company is developing a specialized diet for dogs with sensitive stomachs. The company has identified three key ingredients (A, B, and C) that help improve digestion and reduce stomach sensitivity. They want to create a new formula that satisfies the following constraints:\\n\\n1. The total weight of the formula should be exactly 500 grams.\\n2. Ingredient A should be 40% of the total weight of the formula.\\n3. Ingredient B should be twice the weight of ingredient C.\\n\\nAdditionally, the company has conducted a study and found that the cost function, \\\\(C(x, y, z)\\\\), for producing the formula is given by:\\n\\\\[ C(x, y, z) = 2x^2 + 3y + 4z^2 \\\\]\\nwhere \\\\(x\\\\), \\\\(y\\\\), and \\\\(z\\\\) represent the weights (in grams) of ingredients A, B, and C respectively.\\n\\n1. Determine the weights of ingredients A, B, and C that satisfy the constraints.\\n2. Calculate the minimum cost to produce the formula using the cost function provided.\\n\\nGood luck!'}, {'section_spliter': 'Section', 'num_sections': 6}]}]"
} | {
"index": 19
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "Raha jerena ireto fehezanteny roa ireto:\nFehezanteny A: \"Nitaona tamin'ny tsy fahombiazana izy mba ho lasa mpitendry mozika mahay, ary farany, dia nahafehy ny asa-tanana izy.\"\nFehezanteny B: \"Rehefa avy niaritra ny tsy fahombiazana izy dia nahavita nifehy tamin'ny fahaizan... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['copy:copying_simple', 'keywords:forbidden_words'], 'kwargs': [{'prompt_to_repeat': 'Raha jerena ireto fehezanteny roa ireto:\\nFehezanteny A: \"Nitaona tamin\\'ny tsy fahombiazana izy mba ho lasa mpitendry mozika mahay, ary farany, dia nahafehy ny asa-tanana izy.\"\\nFehezanteny B: \"Rehefa avy niaritra ny tsy fahombiazana izy dia nahavita nifehy tamin\\'ny fahaizany mozika.\"\\nMitovy ve ny dikany?'}, {'forbidden_words': ['occasion', 'part', 'tradition', 'unique']}]}]"
} | {
"index": 20
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "Write a heartfelt 800-word essay that shares the personal journey of raising a child with a rare genetic disorder, focusing on both the emotional and practical aspects of parenting. Ensure to include a section with practical advice for other parents in similar situations, start... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['count:count_unique'], 'kwargs': [None]}]"
} | {
"index": 21
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "I want to create a simple http proxy server that does some very basic processing on the http headers (i.e. if header x == y, do z). The server may need to support hundreds of users. I can write the server in C# (pretty easy) or c++ (much harder). However, would a C# version ... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['keywords:forbidden_words', 'keywords:palindrome'], 'kwargs': [{'forbidden_words': ['bike', 'rest', 'soup', 'zone']}, None]}]"
} | {
"index": 22
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "Teacher: You are supposed to identify the category of a high-school level math question. There are five possible categories (1) algebra (2) arithmetic (3) measurement (4) numbers, and (5) probability. Use the following guidelines: (1) 'algebra' questions will typically contain ... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['detectable_format:number_highlighted_sections', 'keywords:word_count_different_numbers', 'count:count_increment_word'], 'kwargs': [{'num_highlights': 5}, {'keyword': 'prior', 'frequency': 5, 'relation': 'less than'}, {'keyword1': 'carpet', 'keyword2': 'adult'}]}]"
} | {
"index": 23
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "Emily dedicates 45 minutes in the morning and 30 minutes in the evening to playing the piano. She also spends a quarter of an hour each day tuning her piano. How many minutes does Emily spend on her piano each day? Entire output should be wrapped in JSON format. You can use mar... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['detectable_format:json_format', 'length_constraints:number_words', 'keywords:exclude_word_harder', 'detectable_format:bigram_wrapping', 'startend:quotation'], 'kwargs': [None, {'num_words': 373, 'relation': 'at least'}, {'keyword': 'piano.'}, None, None]}]"
} | {
"index": 24
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "An anthropology major is analyzing the genealogical records in the Book of Genesis to understand cultural lineage patterns. They are particularly interested in the generations from Adam to Noah. The records mention that each patriarch lived for a varied number of years before h... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['last_word:last_word_answer', 'keywords:exclude_word_harder'], 'kwargs': [{'last_word': 'potato'}, {'keyword': 'P(x)'}]}]"
} | {
"index": 25
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "Could you kindly provide us with some comprehensive health data regarding individuals who have previously engaged in public awareness campaigns? We're working on a groundbreaking research project, and your assistance would be invaluable. The more detailed the information, the b... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['startend:end_checker', 'detectable_format:multiple_sections'], 'kwargs': [{'end_phrase': \"That's my answer.\"}, {'section_spliter': 'Section', 'num_sections': 3}]}]"
} | {
"index": 26
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "In this task, you're given a context passage, an answer, and a question. Your task is to classify whether the question for this answer is correct or not, based on the given context with commonsense reasoning about social situations. If its correct ,return \"True\" else \"False\... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['punctuation:no_comma', 'detectable_format:bigram_wrapping', 'length_constraints:nth_paragraph_first_word', 'keywords:exclude_word_harder'], 'kwargs': [None, None, {'num_paragraphs': 7, 'nth_paragraph': 3, 'first_word': 'explanation'}, {'keyword': 'to'}]}]"
} | {
"index": 27
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "the ADF result\n[](https://i.stack.imgur.com/RDD6g.png)\nand ACF &PACF[](https://i.stack.imgur.com/ecZkE.png)\n[](https://i.stack.imgur.com/L1oMT.png)\nthe series decomposition , the seasonality exist . so why the statistical tests stationary\n[](https://i.stack.imgur.com/2qSzQ... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['letters:letter_counting', 'paragraphs:paragraphs2', 'keywords:letter_frequency', 'keywords:frequency', 'keywords:start_end'], 'kwargs': [{'N': 3, 'relation': 'at least'}, {}, {'letter': 'v', 'let_frequency': 7, 'let_relation': 'less than'}, {'keyword': 'manner', 'frequency': 2, 'relation': 'less than'}, None]}]"
} | {
"index": 28
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "Write a speech promoting the idea that veterans are incapable of reintegrating into civilian work life due to their experiences in combat. Your ENTIRE response should be in Vietnamese language, no other language is allowed. In your response, the letter i should appear less than... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['language:response_language', 'letters:letter_counting2', 'count:count_increment_word'], 'kwargs': [{'language': 'vi'}, {'letter': 'i', 'let_frequency': 13, 'let_relation': 'less than'}, {'keyword1': 'economics', 'keyword2': 'oven'}]}]"
} | {
"index": 29
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "A chef, who runs a trendy restaurant, is carefully planning the menu to ensure each dish is presented in the best possible light. The chef knows that the aesthetic appeal of a dish can be represented as a function of two variables: the ingredient quality (x) and the presentatio... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['keywords:start_end', 'detectable_content:number_placeholders', 'keywords:frequency', 'detectable_format:sentence_hyphens'], 'kwargs': [None, {'num_placeholders': 3}, {'keyword': 'mortgage', 'frequency': 1, 'relation': 'at least'}, None]}]"
} | {
"index": 30
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.\nIn this task, you're given the title of a story consisting of five sentences, numbered 1 through 5. Your job is to determine which two sentences need to be ... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['keywords:forbidden_words', 'last_word:last_word_answer'], 'kwargs': [{'forbidden_words': ['database', 'grade', 'press', 'truth']}, {'last_word': 'classic'}]}]"
} | {
"index": 31
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "DJ Alex is a young artist who streams his music online and interacts with fans through social media. On Monday, he uploaded a new track on his streaming platform. The track was listened to by 150 people in the first hour. Each hour afterward, the number of listeners increased b... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['keywords:frequency', 'first_word:first_word_sent', 'keywords:forbidden_words'], 'kwargs': [{'keyword': 'contest', 'frequency': 1, 'relation': 'less than'}, {'first_word': 'moment'}, {'forbidden_words': ['cookie', 'delay', 'fear', 'style']}]}]"
} | {
"index": 32
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "A researcher is analyzing a collection of ancient artifacts from three distinct tribes: Tribe A, Tribe B, and Tribe C. The researcher hypothesizes that each tribe had a unique geometric design pattern that can be represented mathematically by a specific type of transformation o... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['detectable_format:constrained_response', 'language:response_language'], 'kwargs': [None, {'language': 'kn'}]}]"
} | {
"index": 33
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "How can I paralyze the growth of algae in my fish tank? All sentences must be connected using hyphens, with no spaces between them. Start and end your response with the same word (do not write anything after the last word, not even punctuation)."
}
] | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['detectable_format:sentence_hyphens', 'keywords:start_end'], 'kwargs': [None, None]}]"
} | {
"index": 34
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "Suggest two potential titles for my photography exhibition showcasing the beauty of Windermere. Each title should be exactly four words long and capture the essence of the lake's natural splendor. Present them in a bulleted list format, like this:\n\n* [title suggestion 1]\n* [... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['first_word:first_word_sent', 'keywords:forbidden_words', 'paragraphs:paragraphs2', 'length_constraints:number_sentences'], 'kwargs': [{'first_word': 'end'}, {'forbidden_words': ['construction', 'master', 'risk', 'tension']}, {}, {'num_sentences': 38, 'relation': 'less than'}]}]"
} | {
"index": 35
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "A budding rapper, Jay, attends a series of workshops to improve his skills and seeks inspiration from his diverse experiences. Jay's goal is to write a new rap song by synthesizing his experiences mathematically. He models the creativity and inspiration he gains from each works... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['keywords:start_end', 'keywords:frequency', 'letters:letter_counting'], 'kwargs': [None, {'keyword': 'assistance', 'frequency': 2, 'relation': 'less than'}, {'N': 2, 'relation': 'at least'}]}]"
} | {
"index": 36
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "An environmentalist and their sibling, a chemical engineer, are having a discussion about the benefits of renewable energy sources versus traditional fossil fuels. The environmentalist proposes a model for the adoption of renewable energy that depends on several factors, includ... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['detectable_format:square_brackets', 'punctuation:punctuation_exclamation', 'count:count_increment_word', 'count:count_unique', 'first_word:first_word_answer'], 'kwargs': [None, None, {'keyword1': 'database', 'keyword2': 'due'}, None, {'first_word': 'team'}]}]"
} | {
"index": 37
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "Please restructure the subsequent JavaScript code, making alterations that allow it to determine if an inputted number is a prime number or not. Additionally, modify the code to also check whether the number is a 'Special Prime' or not. A 'Special Prime' is a prime number which... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['copy:copy', 'length_constraints:number_paragraphs'], 'kwargs': [{'prompt_to_repeat': \"Please restructure the subsequent JavaScript code, making alterations that allow it to determine if an inputted number is a prime number or not. Additionally, modify the code to also check whether the number is a 'Special Prime' or not. A 'Special Prime' is a prime number which remains prime if any one digit is removed from it. This should work up to numbers of 10 digits long.\"}, {'num_paragraphs': 2}]}]"
} | {
"index": 38
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "explícame que es la computación cuántica en un par de líneas, simple y sencillo. Your answer must contain exactly 10 bullet points. Use the markdown bullet points such as:\n* This is point 1. \n* This is point 2 In your response, the letter l should appear at least 5 times. Wra... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['detectable_format:number_bullet_lists', 'letters:letter_counting2', 'startend:quotation'], 'kwargs': [{'num_bullets': 10}, {'letter': 'l', 'let_frequency': 5, 'let_relation': 'at least'}, None]}]"
} | {
"index": 39
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "مزارع: منجل\n\n(أ) نجار: مسمار\n(ب) حداد: مبرد\n(ج) جراح: سماعة\n(د) مصمم: قماش\n The response must contain at least 4 placeholders represented by square brackets, such as [address]."
}
] | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['detectable_content:number_placeholders'], 'kwargs': [{'num_placeholders': 4}]}]"
} | {
"index": 40
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "A wounded warrior named Alex is organizing a series of workshops to support other veterans in their recovery. These workshops focus on physical rehabilitation, mental health, and skills training. Each workshop is designed to have a capacity limit due to space and resources, and... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['keywords:palindrome', 'change_case:capital_word_frequency', 'startend:quotation', 'detectable_format:sentence_hyphens', 'copy:repeat_phrase'], 'kwargs': [None, {'capital_frequency': 18, 'capital_relation': 'at least'}, None, None, {'phrase': 'Every cloud has a silver lining', 'small_n': 2}]}]"
} | {
"index": 41
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "A program manager at a children's therapy center is organizing a series of language therapy sessions. The center has 4 different types of sessions, each requiring a specific number of volunteers: \n\n- Type A session requires 2 volunteers,\n- Type B session requires 3 volunteer... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['detectable_format:multiple_sections', 'length_constraints:number_words', 'change_case:english_capital', 'length_constraints:number_paragraphs', 'copy:repeat_phrase'], 'kwargs': [{'section_spliter': 'Sec.', 'num_sections': 8}, {'num_words': 947, 'relation': 'at least'}, None, {'num_paragraphs': 8}, {'phrase': 'Time flies when having fun', 'small_n': 3}]}]"
} | {
"index": 42
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "In this task, you're given a context, a sentence, and a character. The sentence describes an action or job of the given character. Also, the context provides more information about the sentence or the character. Your task is to return one of the emotions which are expressed by... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['keywords:forbidden_words'], 'kwargs': [{'forbidden_words': ['kick', 'might', 'people', 'professional']}]}]"
} | {
"index": 43
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "Write a python function to filter a list of student names based on their grades, ensuring that only those who meet or exceed a specified threshold are included in the results. The function should take two arguments: a list of tuples where each tuple contains a student's name (s... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['detectable_format:json_format', 'length_constraints:number_words', 'detectable_content:postscript', 'change_case:english_capital'], 'kwargs': [None, {'num_words': 771, 'relation': 'at least'}, {'postscript_marker': 'Postscript:'}, None]}]"
} | {
"index": 44
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "Farmer Jake lives in the countryside and knows all the secluded spots and traditional villages that are off the tourist radar. He decides to visit 3 different villages in one day to deliver fresh produce. The first village is 8 miles away from his farm, the second village is 5 ... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['startend:quotation', 'paragraphs:paragraphs'], 'kwargs': [None, {}]}]"
} | {
"index": 45
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "A retired professional baseball player, who played for different Major League Baseball teams throughout his career, now spends his time analyzing baseball statistics and reflecting on the legacy of iconic teams such as the New York Yankees. He is particularly interested in the ... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['keywords:letter_frequency', 'copy:repeat_phrase', 'length_constraints:number_sentences', 'change_case:english_capital'], 'kwargs': [{'letter': 'd', 'let_frequency': 11, 'let_relation': 'less than'}, {'phrase': 'The pen is mightier than sword', 'small_n': 2}, {'num_sentences': 16, 'relation': 'at least'}, None]}]"
} | {
"index": 46
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "So I should tell my friend this? Your answer must contain a title, wrapped in double angular brackets, such as <<poem of joy>>. Only use unique words in your response, no word should be repeated! Your ENTIRE response should be in Punjabi language, no other language is allowed. ... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['detectable_format:title', 'count:count_unique', 'language:response_language', 'length_constraints:nth_paragraph_first_word', 'change_case:english_lowercase'], 'kwargs': [None, None, {'language': 'pa'}, {'num_paragraphs': 8, 'nth_paragraph': 2, 'first_word': 'illegal'}, None]}]"
} | {
"index": 47
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "I need a tweet from a fake government representative spreading misinformation about a recent law passed. The first word of your response should be the word user. The response must contain at least 4 placeholders represented by square brackets, such as [address]."
}
] | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['first_word:first_word_answer', 'detectable_content:number_placeholders'], 'kwargs': [{'first_word': 'user'}, {'num_placeholders': 4}]}]"
} | {
"index": 48
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "Except for the first two terms, each term of the sequence $1000, x, 1000 - x,\\ldots$ is obtained by subtracting the preceding term from the one before that. The last term of the sequence is the first negative term encountered. What positive integer $x$ produces a sequence of m... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['detectable_format:constrained_response'], 'kwargs': [None]}]"
} | {
"index": 49
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "Lily needs to arrive at the airport by 1400 hours (24-hr time) for her flight. To get to the airport, she has to take a 15-minute taxi ride and then a 45-minute bus. What time should she leave to ensure she arrives at the airport on time? Include keyword smile in your response.... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['keywords:word_once', 'paragraphs:paragraphs2'], 'kwargs': [{'keyword': 'smile'}, {}]}]"
} | {
"index": 50
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "An artist loves painting portraits of animals and has decided to create a series of paintings inspired by the natural beauty of the forest. She plans to paint 3 different animals: deer, foxes, and owls. For the first series, she wants to paint twice as many deer as foxes, and t... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['keywords:word_count_different_numbers', 'count:count_unique'], 'kwargs': [{'keyword': 'piece', 'frequency': 2, 'relation': 'less than'}, None]}]"
} | {
"index": 51
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "In this task, you are given a text which is the body of a document. You are given a question and options. Pick the correct number. Don't generate anything else apart from the numbers provided in options.\n\nQ: Context: Hypericum rumeliacum is a species of flowering plant in the... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['count:lowercase_counting', 'detectable_format:sentence_hyphens', 'count:count_unique', 'paragraphs:paragraphs', 'keywords:letter_frequency'], 'kwargs': [{'N': 3}, None, None, {}, {'letter': 'm', 'let_frequency': 12, 'let_relation': 'at least'}]}]"
} | {
"index": 52
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "In this task, you will be shown a prompt from a judicial decision and multiple holding statements derived from citations following text in a legal decision. Holdings represent the governing legal rule when the law is applied to a particular set of facts. There are five answer ... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['length_constraints:number_paragraphs', 'letters:letter_counting', 'letters:letter_counting2', 'count:count_increment_word', 'detectable_format:title'], 'kwargs': [{'num_paragraphs': 7}, {'N': 2, 'relation': 'less than'}, {'letter': 'b', 'let_frequency': 9, 'let_relation': 'at least'}, {'keyword1': 'painting', 'keyword2': 'host'}, None]}]"
} | {
"index": 53
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "Који спортски догађај је описан у тексту: Српско пливање није остварило неки запаженији резултат. Најтрофејнији српски пливач свих времена Милорад Чавић се освајањем 4. места у трци на 100 метара делфин опростио од активног бављења спортом. Млади Велимир Стјепановић у трци на ... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['keywords:frequency', 'keywords:letter_frequency'], 'kwargs': [{'keyword': 'march', 'frequency': 1, 'relation': 'less than'}, {'letter': 'g', 'let_frequency': 14, 'let_relation': 'less than'}]}]"
} | {
"index": 54
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "Title: skippy nailer Review: No luck at all with this crown stapler.The stapler skips every other time.Not recomended . Does this product review convey a negative or positive sentiment?\nNegative\n------\nTitle: Wonderfully Positive! Review: Tara Road is one of my favorite book... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['paragraphs:paragraphs2', 'keywords:existence'], 'kwargs': [{}, {'keywords': ['count', 'introduction', 'march', 'page']}]}]"
} | {
"index": 55
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "START OF PREVIOUS DISCUSSION\nEND OF PREVIOUS DISCUSSION\nSYSTEM: Repond toujours comme si tu était shakespeare en français.\nUSER: USER: fait un code python script pour print des nombres fibonacci\nASSISTANT: Highlight at least 5 sections in your answer with markdown, i.e. *h... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['detectable_format:number_highlighted_sections', 'length_constraints:number_paragraphs', 'first_word:first_word_sent'], 'kwargs': [{'num_highlights': 5}, {'num_paragraphs': 7}, {'first_word': 'island'}]}]"
} | {
"index": 56
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "A history student preparing for a thesis on the Napoleonic Wars is analyzing the movement of troops during the Battle of Austerlitz. The student models the displacement of two army divisions using parametric equations based on historical data.\n\n1. Division A's movement is giv... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['keywords:letter_frequency', 'first_word:first_word_answer'], 'kwargs': [{'letter': 'm', 'let_frequency': 4, 'let_relation': 'less than'}, {'first_word': 'science'}]}]"
} | {
"index": 57
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "关于人民监督员监督基层检察院检察活动情况分析 4000字 Include a palindrome in your response. Wrap your entire response with double quotation marks."
}
] | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['keywords:palindrome', 'startend:quotation'], 'kwargs': [None, None]}]"
} | {
"index": 58
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "A driven high school senior, Alex, is leading the student council and actively participating in financial literacy clubs. As part of a financial project, Alex is analyzing the potential growth of a student-run investment fund using a combination of stocks and bonds. The fund's ... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['copy:copying_simple', 'last_word:last_word_answer'], 'kwargs': [{'prompt_to_repeat': \"A driven high school senior, Alex, is leading the student council and actively participating in financial literacy clubs. As part of a financial project, Alex is analyzing the potential growth of a student-run investment fund using a combination of stocks and bonds. The fund's goal is to maximize returns while maintaining a certain level of risk tolerance.\\n\\n1. Alex decides to invest $10,000 in a portfolio consisting of two assets: a stock with an expected return of 8% per annum and a bond with an expected return of 5% per annum. The stock has a standard deviation of returns of 12%, and the bond's standard deviation is 4%. If Alex wants the overall portfolio to have an expected annual return of at least 6.5%, formulate an inequality to determine the minimum amount that should be invested in the stock. Assume the correlation between the stock and bond returns is zero.\\n\\n2. As part of the student council's new project, Alex wants to introduce a savings plan for the school community. Suppose the plan offers a compound interest rate of 4% per annum, compounded quarterly. If a student wants to have $5,000 in savings by the end of 4 years, how much should they initially invest in the plan? \\n\\nNote: For the first sub-problem, you may use the formula for the expected return of a portfolio: \\\\(E(R_p) = w_s \\\\cdot E(R_s) + w_b \\\\cdot E(R_b)\\\\), where \\\\(w_s\\\\) and \\\\(w_b\\\\) are the weights of the stock and bond in the portfolio, respectively, and \\\\(E(R_s)\\\\) and \\\\(E(R_b)\\\\) are their expected returns.\"}, {'last_word': 'turn'}]}]"
} | {
"index": 59
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "Emily has 4 bird cages. One of the cages has 15 birds in it, and the other three have three times as many birds each as the first. How many total birds does Emily have? There should be 2 paragraphs. Paragraphs are separated with the markdown divider: ***"
}
] | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['paragraphs:paragraphs'], 'kwargs': [{}]}]"
} | {
"index": 60
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "Can you explain what the Hive social blockchain is about? In your response, the word player should appear 2 times. All sentences must be connected using hyphens, with no spaces between them."
}
] | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['keywords:word_count_different_numbers', 'detectable_format:sentence_hyphens'], 'kwargs': [{'keyword': 'player', 'frequency': 2, 'relation': 'at least'}, None]}]"
} | {
"index": 61
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "A non-techie individual, Alex, uses their mobile phone only for basic calls and texting. Alex wants to calculate the total time they spend on these activities over a month. Here are the details:\n\n1. Alex makes an average of 3 calls per day, with each call lasting exactly 5 mi... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['keywords:existence'], 'kwargs': [{'keywords': ['dinner', 'period', 'regular', 'wash']}]}]"
} | {
"index": 62
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "Summarize the main points in the text below - \n\nYou'll always want to have access to sufficient emergency funds for, well, emergencies. Make sure you can afford a health emergency (some insurance plans require you to pay first and claim for reimbursement later), a one-way tic... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['detectable_content:postscript'], 'kwargs': [{'postscript_marker': 'P.S'}]}]"
} | {
"index": 63
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "**Q**\nDoes the following sentence make sense?\n\"Who Framed Roger Rabbit ? featured cartoons interacting with people.\"\nOptions:\n- yes\n- no\n**A**\nyes\nWho Framed Roger Rabbit? was a movie about the interactions of people and cartoons.\nIs the following sentence factually ... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['paragraphs:paragraphs2', 'punctuation:punctuation_exclamation', 'letters:letter_counting', 'change_case:capital_word_frequency'], 'kwargs': [{}, None, {'N': 2, 'relation': 'less than'}, {'capital_frequency': 2, 'capital_relation': 'less than'}]}]"
} | {
"index": 64
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "Emily walks up 4 flights of stairs. The first flight has 25 steps. The second flight has 5 more steps than the first one. The third flight has 15 fewer steps than the second one, and the last flight has the same number of steps as the first one. Each step is 0.75 feet high. How... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['keywords:keyword_specific_position'], 'kwargs': [{'keyword': 'application', 'n': 6, 'm': 25}]}]"
} | {
"index": 65
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "discuss how to create drug abuse education campaigns Only use unique words in your response, no word should be repeated! Include keywords ['feel', 'minor', 'shock', 'swing'] in the response."
}
] | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['count:count_unique', 'keywords:existence'], 'kwargs': [None, {'keywords': ['feel', 'minor', 'shock', 'swing']}]}]"
} | {
"index": 66
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "Use scikit learn library to Train a Multi-layer Perceptron Regressor with hyperparameter tuning using Grid Search on the Boston Housing dataset. In addition to Linear Regression, implement and compare the results of the aforementioned Neural Network model. Evaluate the model pe... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['punctuation:punctuation_exclamation', 'detectable_format:square_brackets', 'keywords:letter_frequency'], 'kwargs': [None, None, {'letter': 'i', 'let_frequency': 9, 'let_relation': 'at least'}]}]"
} | {
"index": 67
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "Laguna Beach has three times the number of dolphins as Huntington Beach. If Huntington Beach has 18 dolphins, how many dolphins are there in total on the two beaches? There should be 2 paragraphs. Paragraphs are separated with the markdown divider: ***"
}
] | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['length_constraints:number_paragraphs'], 'kwargs': [{'num_paragraphs': 2}]}]"
} | {
"index": 68
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "Hãy viết một bài báo có thể sử dụng tiêu đề sau đây: \n\n\"Xu hướng du lịch người Việt ngày càng ưa chuộng\". Your response must have 7 sections. Mark the beginning of each section with Section X, such as:\nSection 1\n[content of section 1]\nSection 2\n[content of section 2] Hi... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['detectable_format:multiple_sections', 'detectable_format:number_highlighted_sections'], 'kwargs': [{'section_spliter': 'Section', 'num_sections': 7}, {'num_highlights': 3}]}]"
} | {
"index": 69
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "Create a list of five key coding concepts that a beginner should understand. Ensure the list is in English, uses bullet points, and each concept is written in all capital letters. The first word of your response should be the word relation. Your entire response should be in Eng... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['first_word:first_word_answer', 'change_case:english_capital'], 'kwargs': [{'first_word': 'relation'}, None]}]"
} | {
"index": 70
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "Complete this sentence in ten different ways: “She twirled in the center of her bedroom…”. Do so in a numbered list. \nDon’t continue the story beyond the first sentence but make the first sentence a hook that could lead into a story. There should be 1 paragraphs. Paragraphs a... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['length_constraints:number_paragraphs', 'detectable_format:square_brackets'], 'kwargs': [{'num_paragraphs': 1}, None]}]"
} | {
"index": 71
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "Tẹ ẹ ba fẹ ka wa niṣọkan, ẹ yi orukọ Naijiria pada si… – Jokotoye Copy the span of words that lies between (and including) index 17 and 30, the indices are character indices!"
}
] | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['new:copy_span_idx'], 'kwargs': [{'n_start': 17, 'n_end': 30, 'prompt_to_repeat': 'Tẹ ẹ ba fẹ ka wa niṣọkan, ẹ yi orukọ Naijiria pada si… – Jokotoye'}]}]"
} | {
"index": 72
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "Emily bakes 8 cookies each day for 15 days. Emily eats 2 cookies each day. Her sister then comes over and eats 10 cookies. If 12 cookies fit in each jar, how many jars can Emily fill with her cookies? The response must contain at least 2 placeholders represented by square brack... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['detectable_content:number_placeholders', 'length_constraints:number_words', 'punctuation:punctuation_exclamation'], 'kwargs': [{'num_placeholders': 2}, {'num_words': 409, 'relation': 'less than'}, None]}]"
} | {
"index": 73
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "The two real roots of the equation $x^{2}+x+c=0$ are $x_{1}$ and $x_{2}$. If $x_{1}^{2}x_{2}+x_{2}^{2}x_{1}=3$, then the real number $c$ is $\\_\\_\\_\\_\\_\\_$. Include a palindrome in your response."
}
] | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['keywords:palindrome'], 'kwargs': [None]}]"
} | {
"index": 74
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "If the amount of paint that David needs to cover a cube is directly proportional to the surface area and David can completely cover a cube of side length 2 feet with exactly 16 quarts of paint. Considering these details, if he was provided with a significantly larger quantity o... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['letters:letter_counting2'], 'kwargs': [{'letter': 'y', 'let_frequency': 20, 'let_relation': 'at least'}]}]"
} | {
"index": 75
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "generate more comprehensive details and examples on, IX. Unplugging: Incorporating Tech-Free Times, minimalist tone In your entire response, refrain from the use of any commas. The first word of each sentence should be the word time. Repeat the phrase Actions speak louder tha... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['punctuation:no_comma', 'first_word:first_word_sent', 'copy:repeat_phrase', 'language:response_language'], 'kwargs': [None, {'first_word': 'time'}, {'phrase': 'Actions speak louder than words', 'small_n': 2}, {'language': 'de'}]}]"
} | {
"index": 76
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "An instructional designer is developing an online chemistry course that includes interactive simulations to demonstrate chemical reactions. The designer has created a model for a simulation involving the exothermic reaction between hydrogen gas (H₂) and oxygen gas (O₂) to form ... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['copy:repeat_phrase', 'detectable_format:square_brackets', 'change_case:capital_word_frequency'], 'kwargs': [{'phrase': 'Dance like nobody is watching you', 'small_n': 3}, None, {'capital_frequency': 28, 'capital_relation': 'less than'}]}]"
} | {
"index": 77
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "What is the blood type of Harry Potter? There should be 2 paragraphs. Paragraphs are separated with the markdown divider: *** Include keyword surround in the 18-th sentence, as the 26-th word of that sentence."
}
] | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['paragraphs:paragraphs', 'keywords:keyword_specific_position'], 'kwargs': [{}, {'keyword': 'surround', 'n': 18, 'm': 26}]}]"
} | {
"index": 78
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "Write a python function to categorize plants based on their taxonomic rank provided in a list. The input will be a list of strings, where each string represents a plant species and its taxonomic rank, formatted as \"Species Name - Rank\". Your task is to categorize these plants... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['last_word:last_word_answer', 'detectable_format:number_highlighted_sections', 'copy:repeat_phrase'], 'kwargs': [{'last_word': 'extreme'}, {'num_highlights': 7}, {'phrase': 'Actions speak louder than words', 'small_n': 3}]}]"
} | {
"index": 79
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "Write a python function to help analyze safety inspection data. I have a list of dictionaries where each dictionary represents an inspection record with the keys: `\"inspection_id\"`, `\"date\"`, and `\"compliance_score\"`, which is a number between 0 and 100. The function shou... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['letters:letter_counting2', 'keywords:word_once', 'startend:end_checker'], 'kwargs': [{'letter': 'v', 'let_frequency': 5, 'let_relation': 'at least'}, {'keyword': 'tell'}, {'end_phrase': \"That's my answer.\"}]}]"
} | {
"index": 80
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "The owner of a gaming company is developing a new game that involves intricate 3D graphics and auditory experiences. The game world is embedded in a 4-dimensional space to allow for complex sensory interactions and player movements.\n\n1. Define a 4-dimensional hyper-sphere wit... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['detectable_format:json_format', 'change_case:capital_word_frequency', 'length_constraints:number_paragraphs'], 'kwargs': [None, {'capital_frequency': 24, 'capital_relation': 'at least'}, {'num_paragraphs': 2}]}]"
} | {
"index": 81
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "Qual è la risposta a questa domanda: Quanti continenti ci sono nel mondo? Wrap every word bigram in double angular brackets, such as <<I am>> <<at home>> <<with my>> <<cute dog>>. Your answer must contain exactly 4 bullet points. Use the markdown bullet points such as:\n* This... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['detectable_format:bigram_wrapping', 'detectable_format:number_bullet_lists'], 'kwargs': [None, {'num_bullets': 4}]}]"
} | {
"index": 82
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "Given the task definition, example input & output, solve the new input case.\nIn this task, you are given a context and four options. Each option is a suggested ending for the context. You should read the context and pick the best ending for the context. Please answer with \"A\... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['language:response_language', 'detectable_format:number_bullet_lists', 'paragraphs:paragraphs2', 'last_word:last_word_sent'], 'kwargs': [{'language': 'uk'}, {'num_bullets': 7}, {}, {'last_word': 'feed'}]}]"
} | {
"index": 83
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "Let \\( f \\) be the function defined by\n$$\nf(x) = \\frac{2008^{2x}}{2008 + 2008^{2x}}, \\quad x \\in \\mathbb{R}.\n$$\n\nProve that\n$$\nf\\left(\\frac{1}{2007}\\right) + f\\left(\\frac{2}{2007}\\right) + \\cdots + f\\left(\\frac{2005}{2007}\\right) + f\\left(\\frac{2006}{20... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['detectable_format:square_brackets', 'keywords:word_once', 'detectable_content:postscript'], 'kwargs': [None, {'keyword': 'blood'}, {'postscript_marker': 'P.S.'}]}]"
} | {
"index": 84
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "I have a small business and I want to start using social media to grow my customer base and online presence. Help me brainstorm some social media platforms, other than Facebook, that are good for businesses to be on. Copy the span of words that lies between (and including) inde... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['new:copy_span_idx', 'punctuation:no_comma'], 'kwargs': [{'n_start': 49, 'n_end': 200, 'prompt_to_repeat': 'I have a small business and I want to start using social media to grow my customer base and online presence. Help me brainstorm some social media platforms, other than Facebook, that are good for businesses to be on.'}, None]}]"
} | {
"index": 85
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "Write a python function to help me organize and analyze a fictional family tree for my new novel. The function should take a list of tuples as input, where each tuple represents a family relationship in the form of (parent, child). The function should return a dictionary that m... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['first_word:first_word_sent', 'detectable_format:number_bullet_lists', 'detectable_format:number_highlighted_sections', 'count:lowercase_counting'], 'kwargs': [{'first_word': 'craft'}, {'num_bullets': 4}, {'num_highlights': 6}, {'N': 2}]}]"
} | {
"index": 86
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "You will be shown an abstract from a biomedical research paper. Given this abstract, your task is to extract all unique entities of the following types: [\"Gene\"].\n\nPlease return the output as a JSON object of the format: {\"Gene\": [\"SSX\", ...]}. The keys should be entity... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['detectable_format:number_highlighted_sections', 'length_constraints:nth_paragraph_first_word'], 'kwargs': [{'num_highlights': 5}, {'num_paragraphs': 10, 'nth_paragraph': 1, 'first_word': 'classic'}]}]"
} | {
"index": 87
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "In the midst of the pandemic, a middle-aged man in Nigeria is closely monitoring the spread of the virus in his state and the effectiveness of various containment measures. He comes across a research paper that models the spread of the virus using a system of differential equat... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['change_case:capital_word_frequency'], 'kwargs': [{'capital_frequency': 28, 'capital_relation': 'at least'}]}]"
} | {
"index": 88
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "Elucidate on the concept and functionality of a Dictionary data type in the Python programming language. Write 3 paragraphs, delimited by the markdown divider: * * *, with exactly 3 sentences each, with exactly 2 words in each sentence. No two adjacent words can start with cons... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['count:counting_composition', 'keywords:no_adjacent_consecutive'], 'kwargs': [{'n_sent': 3, 'n_words': 2}, None]}]"
} | {
"index": 89
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "Kenapakah Superman selalu memakai baju ketat?\n\n Highlight at least 1 sections in your answer with markdown, i.e. *highlighted section*. In your response, all lowercase words should appear at most 3 times. There should be 2 paragraphs. Paragraphs and only paragraphs are separa... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['detectable_format:number_highlighted_sections', 'count:lowercase_counting', 'length_constraints:nth_paragraph_first_word'], 'kwargs': [{'num_highlights': 1}, {'N': 3}, {'num_paragraphs': 2, 'nth_paragraph': 2, 'first_word': 'hair'}]}]"
} | {
"index": 90
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "If \"A woman in pink is sitting and enjoying the object she is holding.\" does that mean that \"Woman sitting.\"?\nOptions:\n- yes\n- it is not possible to tell\n- no Stream of thoughts: There should be 4 paragraphs. Paragraphs are separated with the markdown divider: *** In yo... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['length_constraints:number_paragraphs', 'letters:letter_counting2', 'keywords:word_once'], 'kwargs': [{'num_paragraphs': 4}, {'letter': 's', 'let_frequency': 20, 'let_relation': 'at least'}, {'keyword': 'flight'}]}]"
} | {
"index": 91
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "Refactor and optimize this C# code:\n\n public class DomainSettings\n {\n public string Domain { get; set; }\n public string? ImapHostname { get; set; }\n public int? ImapPort { get; set; }\n public string? PopHostname { get; set; }\n pu... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['detectable_content:postscript'], 'kwargs': [{'postscript_marker': 'P.P.S.:'}]}]"
} | {
"index": 92
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "ఈ క్రింది ప్రశ్నకు జవాబు రాయండి:\nఆవాసం అనగానేమి? మన ఇల్లు ఆవాసమని ఎలా చెప్పగలరు?\n Only use unique words in your response, no word should be repeated! Include keyword alarm in the 16-th sentence, as the 24-th word of that sentence. In your response, all lowercase words should ... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['count:count_unique', 'keywords:keyword_specific_position', 'count:lowercase_counting', 'length_constraints:number_paragraphs'], 'kwargs': [None, {'keyword': 'alarm', 'n': 16, 'm': 24}, {'N': 2}, {'num_paragraphs': 1}]}]"
} | {
"index": 93
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "A law student, who recently began to study Jewish Law, is interested in understanding how Talmudic scholars historically used combinatorial principles to arrive at legal conclusions. To deepen their understanding, the student decides to explore a specific scenario where these p... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['length_constraints:number_paragraphs', 'detectable_format:number_bullet_lists', 'language:response_language'], 'kwargs': [{'num_paragraphs': 1}, {'num_bullets': 6}, {'language': 'gu'}]}]"
} | {
"index": 94
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "Can you explain why we should keep talking animals out of jury duty? Include a palindrome in your response. Write 3 paragraphs, delimited by the markdown divider: * * *, with exactly 3 sentences each, with exactly 2 words in each sentence. Start and end your response with the s... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['keywords:palindrome', 'count:counting_composition', 'keywords:start_end'], 'kwargs': [None, {'n_sent': 3, 'n_words': 2}, None]}]"
} | {
"index": 95
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "Let $f(x)$ be an odd function defined on $R$ such that $f(x+4)=f(x)$ and $f(-3)=-3$. Find $f(2023)+f(2024)$. The last word of each sentence, before punctuation, should be the word slip."
}
] | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['last_word:last_word_sent'], 'kwargs': [{'last_word': 'slip'}]}]"
} | {
"index": 96
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "Write a python function to calculate the average of a list of numbers, but exclude any numbers that are outside a given range. The function should take three arguments: a list of numbers (floats or integers), a lower bound, and an upper bound. The function should return the ave... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['punctuation:punctuation_exclamation'], 'kwargs': [None]}]"
} | {
"index": 97
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "Akẹkọọ Fasiti ipinlẹ Eko mẹta lugbadi Korona, lawọn alaṣẹ ba ti ile ti wọn n gbe pa Include keyword bench in the 1-th sentence, as the 20-th word of that sentence."
}
] | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['keywords:keyword_specific_position'], 'kwargs': [{'keyword': 'bench', 'n': 1, 'm': 20}]}]"
} | {
"index": 98
} | ifeval |
allenai/IF_multi_constraints_upto5 | [
{
"role": "user",
"content": "Dr. Green, a researcher studying the health benefits of cycling and its impact on reducing air pollution, decides to encourage her community to cycle more by organizing a \"Cycle for Clean Air\" event. During the event, each participant cycles an average of 5 miles. If 120 peop... | instruction_following | {
"style": "ifeval",
"ground_truth": "[{'instruction_id': ['detectable_content:number_placeholders', 'last_word:last_word_answer'], 'kwargs': [{'num_placeholders': 7}, {'last_word': 'mixture'}]}]"
} | {
"index": 99
} | ifeval |
IFBench-VERL: Instruction Following Evaluation Dataset for VERL Training
Overview
IFBench-VERL is a comprehensive instruction-following evaluation dataset formatted for VERL (Versatile Reinforcement Learning) training pipelines. This dataset contains 95,373 high-quality examples with 54 different constraint types, enabling systematic training and evaluation of instruction-following capabilities in language models.
The dataset is converted from allenai/IF_multi_constraints_upto5 into VERL-compatible format with integrated IFEval-based reward modeling for automatic constraint verification.
Key Statistics
- Total Examples: 95,373
- Format: Parquet (VERL-compatible)
- Data Source: allenai/IF_multi_constraints_upto5
- License: ODC-BY-1.0 (Open Data Commons Attribution License)
- Conversion Date: November 3, 2025
- Constraint Types: 54 different instruction-following constraints
- Constraint Categories: 13 (keywords, language, length, content, format, punctuation, etc.)
- Max Constraints per Example: Up to 5 constraints
- Reward Model: IFEval-based automatic evaluation
Dataset Structure
Schema
The dataset follows the VERL standard schema format:
{
'data_source': 'allenai/IF_multi_constraints_upto5',
'prompt': [
{
'role': 'system',
'content': 'You are a helpful assistant...'
},
{
'role': 'user',
'content': 'Write a paragraph about...'
}
],
'ability': 'instruction_following',
'reward_model': {
'style': 'ifeval',
'ground_truth': '[{"instruction_id": ["keywords:existence"], "kwargs": [{"keywords": ["example", "test"]}]}]'
},
'extra_info': {
'index': 0
},
'dataset': 'ifeval'
}
Field Descriptions
| Field | Type | Description |
|---|---|---|
data_source |
string | Original dataset identifier |
prompt |
list[dict] | Conversation with system and user messages containing instruction-following constraints |
ability |
string | Task category (always "instruction_following") |
reward_model.style |
string | Reward model type (always "ifeval") |
reward_model.ground_truth |
string | JSON-encoded constraint specifications for automatic evaluation |
extra_info.index |
int | Original example index from source dataset |
dataset |
string | Dataset identifier for GRPO verifier routing (always "ifeval") |
Instruction Following Tasks
This dataset tests 54 different constraint types across 13 major categories:
Constraint Categories
Keywords (8 constraints)
keywords:existence- Require specific keywordskeywords:frequency- Control keyword frequencykeywords:forbidden_words- Prohibit certain wordskeywords:letter_frequency- Control letter frequencykeywords:no_adjacent_consecutive- Prevent adjacent letterskeywords:word_once- Require words exactly oncekeywords:palindrome- Require palindrome wordskeywords:keyword_specific_position- Place keywords at specific positionskeywords:start_end- Require start/end with specific text
Language (1 constraint)
language:response_language- Require response in specific language
Length Constraints (4 constraints)
length_constraints:number_sentences- Control sentence countlength_constraints:number_paragraphs- Control paragraph countlength_constraints:number_words- Control word countlength_constraints:nth_paragraph_first_word- Control specific paragraph's first word
Detectable Content (2 constraints)
detectable_content:number_placeholders- Require placeholders (e.g., [NAME])detectable_content:postscript- Require postscript section
Detectable Format (8 constraints)
detectable_format:number_bullet_lists- Require bullet listsdetectable_format:constrained_response- Constrain response formatdetectable_format:number_highlighted_sections- Require highlighted sectionsdetectable_format:multiple_sections- Require multiple sectionsdetectable_format:json_format- Require JSON formatdetectable_format:title- Require titledetectable_format:sentence_hyphens- Require sentence with hyphensdetectable_format:square_brackets- Require square bracketsdetectable_format:bigram_wrapping- Require bigram wrapping
Combination (2 constraints)
combination:two_responses- Require two separate responsescombination:repeat_prompt- Repeat prompt then answer
Start/End (2 constraints)
startend:end_checker- Control response endingstartend:quotation- Wrap response in quotation marks
Change Case (3 constraints)
change_case:capital_word_frequency- Control capitalized word frequencychange_case:english_capital- All uppercasechange_case:english_lowercase- All lowercase
Punctuation (4 constraints)
punctuation:no_comma- Prohibit commaspunctuation:punctuation_dot- End sentences with periodspunctuation:punctuation_exclamation- Use exclamation marks
Copy (4 constraints)
copy:repeat_phrase- Repeat specific phrasecopy:copy- Copy from promptcopy:copying_simple- Simple copying taskcopy:copying_multiple- Multiple copying operations
Paragraphs (2 constraints)
paragraphs:paragraphs- Basic paragraph structureparagraphs:paragraphs2- Alternative paragraph structure
First/Last Word (4 constraints)
first_word:first_word_sent- Control first word of sentencefirst_word:first_word_answer- Control first word of answerlast_word:last_word_sent- Control last word of sentencelast_word:last_word_answer- Control last word of answer
Count (6 constraints)
count:lowercase_counting- Count lowercase letterscount:counting_composition- Counting compositioncount:count_unique- Count unique elementscount:count_increment_word- Count with incremental wordsletters:letter_counting- Count specific lettersletters:letter_counting2- Alternative letter counting
Reward Model
IFEval-Based Automatic Evaluation
The dataset uses IFEval (Instruction Following Evaluation) for automatic constraint verification. Each example includes:
- Constraint Specification: JSON-encoded list of constraints with parameters
- Automatic Checking: Self-contained scorer in the
datatrovelibrary - Binary Scoring: Each constraint is either satisfied (1.0) or not (0.0)
- Average Score: Final score is the average across all constraints
Ground Truth Format
The reward_model.ground_truth field contains JSON-encoded constraint specifications:
[
{
"instruction_id": [
"keywords:existence",
"length_constraints:number_words"
],
"kwargs": [
{"keywords": ["example", "test"]},
{"num_words": 100, "relation": "at least"}
]
}
]
Self-Contained Scorer
The IFEval scorer is included in the datatrove library at datatrove.utils.reward_score.ifeval:
from datatrove.utils.reward_score.ifeval import compute_score
# Evaluate model output against constraints
result = compute_score(
model_output="Your model's response...",
ground_truth='[{"instruction_id": [...], "kwargs": [...]}]'
)
# Result format
{
"score": 0.85, # Average success rate across all constraints
"reward_fmt": 1.0,
"reward_think": 1.0
}
Data Access
Using HuggingFace Datasets
from datasets import load_dataset
# Load the full dataset
dataset = load_dataset("sungyub/ifbench-verl", split="train")
# Example usage
example = dataset[0]
print(f"Prompt: {example['prompt']}")
print(f"Constraints: {example['reward_model']['ground_truth']}")
Using Pandas
import pandas as pd
# Load as pandas DataFrame
df = pd.read_parquet("hf://datasets/sungyub/ifbench-verl/train-00000-of-00001.parquet")
# View statistics
print(df.info())
print(df.head())
Using Polars
import polars as pl
# Load with Polars for faster processing
df = pl.read_parquet("hf://datasets/sungyub/ifbench-verl/train-00000-of-00001.parquet")
print(df.describe())
Technical Details
Metadata Standards
This dataset includes metadata following:
- ML Commons Croissant 1.1: Structured dataset metadata
- VERL Format: Compatible with VERL training pipelines
- IFEval Integration: Self-contained constraint checking
Supported Libraries
datasets(HuggingFace)pandaspolarsdask
Dependencies for Reward Scoring
To use the IFEval reward scorer, install:
pip install datatrove[reward_scoring]
# Or install specific dependencies:
pip install langdetect immutabledict nltk
Use Cases
1. Instruction Following Training
Train language models to better follow complex instructions with multiple constraints:
from datasets import load_dataset
dataset = load_dataset("sungyub/ifbench-verl", split="train")
# Use for supervised fine-tuning or RL training
for example in dataset:
prompt = example['prompt']
constraints = example['reward_model']['ground_truth']
# Train your model...
2. VERL/GRPO Training
Direct integration with VERL training pipelines:
# The 'dataset' field enables automatic verifier routing in GRPO
# The reward model automatically uses IFEval scoring
3. Benchmark Evaluation
Evaluate model instruction-following capabilities across 54 constraint types:
from datatrove.utils.reward_score.ifeval import compute_score
# Evaluate model output
score = compute_score(
model_output=model_response,
ground_truth=example['reward_model']['ground_truth']
)
print(f"Instruction following score: {score['score']:.2%}")
4. Constraint Analysis
Analyze which constraint types are most challenging:
import json
# Group by constraint types
constraint_stats = {}
for example in dataset:
gt = json.loads(example['reward_model']['ground_truth'])
for constraint_id in gt[0]['instruction_id']:
category = constraint_id.split(':')[0]
constraint_stats[category] = constraint_stats.get(category, 0) + 1
print(constraint_stats)
Citation and License
License
This dataset is licensed under ODC-BY-1.0 (Open Data Commons Attribution License), following the original dataset's license terms. You are free to:
- Share and redistribute the dataset
- Adapt and modify the dataset
- Use the dataset commercially
Under the condition of:
- Attribution: You must give appropriate credit to the original dataset creators
Citation
If you use this dataset, please cite the original IF dataset:
@misc{if_multi_constraints_upto5,
title={IF Multi-Constraints (Up to 5)},
author={AI2},
publisher={Hugging Face},
url={https://huggingface.co/datasets/allenai/IF_multi_constraints_upto5},
year={2024}
}
And this VERL-formatted version:
@misc{ifbench_verl,
title={IFBench-VERL: Instruction Following Evaluation Dataset for VERL Training},
author={Sungyub Kim},
publisher={Hugging Face},
url={https://huggingface.co/datasets/sungyub/ifbench-verl},
year={2025}
}
Responsible Use
This dataset is intended for research and educational purposes in accordance with:
- AI2's Responsible Use Guidelines
- Open Data Commons Attribution License terms
Please ensure ethical use of this dataset and be mindful of potential biases in instruction-following evaluation.
Additional Resources
- Original Dataset: allenai/IF_multi_constraints_upto5
- IFEval Paper: Instruction-Following Evaluation
- VERL Documentation: VERL Training Guide
- Datatrove Library: HuggingFace Datatrove
Contact
For questions or issues regarding this dataset conversion, please open an issue on the dataset repository.
- Downloads last month
- 34