Dataset Viewer
Auto-converted to Parquet Duplicate
messages
stringlengths
103
7.16k
tools
stringclasses
1 value
src
stringclasses
17 values
meta
stringclasses
1 value
[{"role": "user", "content": "Article:He reached three figures off 137 balls, after scoring the single to take the total to 250 and give them the second batting point they needed.\nThe home side were in trouble on 85-5, as Craig Meschede took three wickets.\nBut Adam Wheater (59) helped add 100 with Ten Doeschate (109*...
infinity/flan
{}
[{"role": "user", "content": "Make a summary of the following Python 3 code\ndef get_max_bond_distance(self, el1_sym, el2_sym):\n return sqrt(\n (self.el_radius[el1_sym] + self.el_radius[el2_sym] + self.tol) ** 2)"}, {"role": "assistant", "content": "This function returns the maximum bond length from ...
infinity/instructional_code-search-net-python
{}
[{"role": "user", "content": "I find it annoying to read the AT&T syntax when using the `-XX:+PrintAssembly` option with Hotspot. Is there a way to change it to use the Intel syntax instead?"}, {"role": "assistant", "content": "To change the syntax to Intel Asm, you can simply add the `-XX:PrintAssemblyOptions=intel` o...
infinity/OpenHermes-2.5
{}
[{"role": "user", "content": "Write a Python function named \"bitwise_swap_nibbles_fast\" that takes an integer representing a byte (8 bits) as input and returns the byte with its nibbles swapped. The function should use bitwise operations to perform the swap.\nInput: None"}, {"role": "assistant", "content": "def bitwi...
infinity/CodeExercise-Python-27k
{}
[{"role": "user", "content": "Can you generate the documentation for the following Python 3 function\ndef Servers(self):\n\n\t\treturn(clc.v2.Servers(\n\t\t\talias=self.alias,\n\t\t\tservers_lst=[obj['id'] for obj in self.data['links'] if obj['rel']=='server'],\n\t\t\tsession=self.session))"}, {"role": "assistant", "co...
infinity/python-code-dataset-500k
{}
[{"role": "user", "content": "As a sales representative of our esteemed store, we take pride in presenting to you our diverse range of products at unbeatable prices. Our commitment to delivering exceptional customer service is unwavering. How may we be of assistance to you today?"}, {"role": "assistant", "content": "He...
infinity/Subjective
{}
[{"role": "user", "content": "Note the options at the end. Select the topic that this about:\n\n WASHINGTON (Reuters) - The United States on Wednesday accused Saudi Arabia of severe violations of religious freedom in a rare official rebuke of a close ally and key oil supplier that potentially could lead to sanctions...
infinity/OpenHermes-2.5
{}
[{"role": "user", "content": "Can you create a Python 3 function that\npatches sys with all site scrubbed."}, {"role": "assistant", "content": "def patch_sys(self, inherit_path):\n \"\"\"Patch sys with all site scrubbed.\"\"\"\n def patch_dict(old_value, new_value):\n old_value.clear()\n old_value.updat...
infinity/python-code-dataset-500k
{}
[{"role": "user", "content": "Write a function to find the n-th Fibonacci number for a given n, using a recursive approach. The function should also handle negative values of n and return an error message if the input is invalid."}, {"role": "assistant", "content": "def fibonacci(n):\n if n < 0:\n return \"In...
infinity/CodeFeedback
{}
[{"role": "user", "content": "How can I create a simple chatbot in Python that can understand natural language and respond to user queries?"}, {"role": "assistant", "content": "To create a basic chatbot in Python, you can use the spaCy library for natural language understanding. Here's an example code that demonstrates...
infinity/code_bagel
{}
[{"role": "user", "content": "def range_and_modify():\n\n \"\"\"\n This function prompts the user to input a range of numbers and modifies the odd elements\n of that range using the modify_odd_elements function. The modified elements are printed.\n \"\"\""}, {"role": "assistant", "content": "start = int(inp...
infinity/code_exercises
{}
[{"role": "user", "content": "Provide the best response to a given instruction. Follow the following steps to craft your response:\n1. reason about the given instruction\n2. provide a high-quality solution\n3. offer a concise explanation\n4. write tests to verify the correctness your solution\n\n## Example 1\n### Instr...
infinity/self-oss-instruct-sc2-exec-filter-50k
{}
[{"role": "user", "content": "You are tasked with implementing a URL routing system for a web application framework. The framework uses a list of tuples to define the URL patterns and their corresponding view functions. Each tuple contains the following elements:\n1. URL pattern: A string representing the URL pattern w...
infinity/CodeFeedback
{}
[{"role": "user", "content": "Write a program to count the number of overlapping pairs of delimiters in a given string."}, {"role": "assistant", "content": "Here's an example program that counts the number of overlapping pairs of delimiters in a given string:\n\n```python\ndef count_overlapping_delimiters(string, delim...
infinity/CodeExercise-Python-27k
{}
[{"role": "user", "content": "How does changing the values in the `numbers` array to odd numbers affect the output of the program and why? Can you explain the mathematical principles behind the change in output? Would there be any difference in the output if we changed the order in which the odd numbers were initialize...
infinity/python-code-dataset-500k
{}
[{"role": "user", "content": "Build a Bash module snippet that Calculates Extreme Transportation: Route Planning for Decision Making for Experts. Incorporate if/else or switch/case statements to handle different cases based on the Consent. Ensure your control flow is well-documented with comments explaining your approa...
infinity/code_bagel
{}
[{"role": "user", "content": "def modify_photo_names(photos):\n \"\"\"\n Given a list of photo names, modify each name by removing all vowels using list comprehensions.\n\n Args:\n photos (list): A list of photo names.\n\n Returns:\n list: A new list containing modified photo names with all vowels rem...
infinity/code_exercises
{}
[{"role": "user", "content": "How would you code a function in Python 3 to\nreturn a DataFrame with the values in specified columns into a key - value represented column."}, {"role": "assistant", "content": "def to_kv(expr, columns=None, kv_delim=':', item_delim=',', kv_name='kv_col'):\n \"\"\"\n Merge values in ...
infinity/instructional_code-search-net-python
{}
[{"role": "user", "content": "Write a function in Java for calculating the Modified Julian Date for a given date, but without using any built-in date or time functions or libraries, without using any loops or conditionals, and without using any mathematical or trigonometric functions."}, {"role": "assistant", "content"...
infinity/Evol-Instruct-Code-80K
{}
[{"role": "user", "content": "Write an article based on this \"The UK wants to remain signed up to the European Arrest Warrant, Home Secretary Theresa May has told MPs.\"\n\nArticle:"}, {"role": "assistant", "content": "She said the UK would opt out of all 133 EU law and order measures in the Lisbon Treaty and seek to ...
infinity/flan
{}
[{"role": "user", "content": "Please find the smallest prime number in the given array and print its index.\n\n##Input##\n- The input will be an array of positive integers.\n\n##Output##\n- The output will be a single integer, representing the index of the smallest prime number in the array.\n\n##Constraints##\n- The a...
infinity/Evol-Instruct-Code-80K
{}
[{"role": "user", "content": "Provide the best response to a given instruction. Follow the following steps to craft your response:\n1. reason about the given instruction\n2. provide a high-quality solution\n3. offer a concise explanation\n4. write tests to verify the correctness your solution\n\n## Example 1\n### Instr...
infinity/self-oss-instruct-sc2-exec-filter-50k
{}
[{"role": "user", "content": "Provide the best response to a given instruction. Follow the following steps to craft your response:\n1. reason about the given instruction\n2. provide a high-quality solution\n3. offer a concise explanation\n4. write tests to verify the correctness your solution\n\n## Example 1\n### Instr...
infinity/self-oss-instruct-sc2-exec-filter-50k
{}
[{"role": "user", "content": "Can you generate a brief explanation for the following Python 3 code\ndef topsort(graph):\n\n count = defaultdict(int)\n for feature, node in graph.items():\n for target in node:\n count[target] += 1\n # convert for list is necessary for py3 as in py3 the filter\...
infinity/python-code-dataset-500k
{}
[{"role": "user", "content": "(In the school literature clubroom…)\n\nMonika: “Alright, that concludes today’s meeting. Natsuki, Yuri, MC, Sayori, you all had some amazing poems!”\n\nNatsuki: “Thanks, Monika! I’m glad you liked it. I’ve been working on trying to make my poems more expressive, so I’m really happy with h...
infinity/Subjective
{}
[{"role": "user", "content": "in this demo of a 5 reeled slot machine I need all 5 reels to spin very fast for about 5 seconds before each reel lands to to stop in the nice animated way this it is currently doing in the following code, can you help?: import tkinter as tk\nfrom PIL import Image, ImageTk\nimport random\n...
infinity/Subjective
{}
[{"role": "user", "content": "Provide the best response to a given instruction. Follow the following steps to craft your response:\n1. reason about the given instruction\n2. provide a high-quality solution\n3. offer a concise explanation\n4. write tests to verify the correctness your solution\n\n## Example 1\n### Instr...
infinity/self-oss-instruct-sc2-exec-filter-50k
{}
[{"role": "user", "content": "benefit of business profile claim in Trustpilot website"}, {"role": "assistant", "content": "Claiming a business profile on Trustpilot can provide several benefits, including:\n1. Increased visibility: Claiming your business profile on Trustpilot can help your business get discovered by po...
infinity/Subjective
{}
[{"role": "user", "content": "def find_common_characters(string1, string2):\n \"\"\"\n Given two strings, return a set of all the common characters between them.\n \"\"\""}, {"role": "assistant", "content": "# Convert the strings to sets of characters\n set1 = set(string1)\n set2 = set(string2)\n\n # ...
infinity/code_exercises
{}
[{"role": "user", "content": "Summarize this article:\n\nThe Aslef union announced the move on the first day of a 48-hour walkout by its train driver members.\nIt is hoped talks at conciliation service Acas will yield a breakthrough in a row over driver-only trains.\nThe BBC understands the planned meeting follows face...
infinity/flan
{}
[{"role": "user", "content": "Write an article based on this \"Colchester need better game management after drawing 1-1 with Chesterfield, according to boss Kevin Keen.\"\n\nArticle:"}, {"role": "assistant", "content": "Macauley Bonne gave the U's a 69th-minute lead, but the Spireites, who played more than 70 minutes w...
infinity/flan
{}
[{"role": "user", "content": "Write an article with the title: \"Peace centre with a panic room\"\n\nArticle:"}, {"role": "assistant", "content": "Title: Peace Centre with a Panic Room\n\nIntroduction: \nThe concept of a peace centre has always inspired tranquility, healing, and spiritual growth for individuals seeking...
infinity/OpenHermes-2.5
{}
[{"role": "user", "content": "How do I wrap this SVG around a circular path?\n<svg width=\"32\" height=\"32\" viewBox=\"0 0 32 32\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M5.71674 19.4396C7.56382 17.563 10.5693 17.563 12.4164 19.4396C14.2548 21.3074 14.2548 24.3334 12.4164 26.2012C10.5693 28.077...
infinity/CodeFeedback
{}
[{"role": "user", "content": "Create a Python 3 function for\nupdating the preference for a single notification for a single communication channel"}, {"role": "assistant", "content": "def update_preference_type(self, type, address, notification, notification_preferences_frequency):\r\n \"\"\"\r\n Update a...
infinity/instructional_code-search-net-python
{}
[{"role": "user", "content": "Generate several scenarios that you would use either a credit or debit card as multiple choice questions."}, {"role": "assistant", "content": "Scenario 1: You're out to dinner at a fancy restaurant and the check has arrived. Since you’re trying to accumulate rewards points for a future vac...
infinity/Subjective
{}
[{"role": "user", "content": "You are Ban from 'The Seven Deadly Sins.' Talk about the importance of undying loyalty to your friends, no matter the odds."}, {"role": "assistant", "content": "In a world filled with treachery, true friends are hard to come by. Once you form bonds that strong, it's essential to remain loy...
infinity/OpenHermes-2.5
{}
[{"role": "user", "content": "Explain the working of a function that takes a string as an argument, removes all the duplicate characters from it and returns the modified string"}, {"role": "assistant", "content": "The given function takes a string as an argument, creates an empty string to store unique characters from ...
infinity/Evol-Instruct-Code-80K
{}
[{"role": "user", "content": "How does changing the angle of the clubface during a golf swing affect the biomechanics of the swing and the resulting ball trajectory?"}, {"role": "assistant", "content": "Changing the angle of the clubface during a golf swing can significantly affect both the biomechanics of the swing an...
infinity/OpenHermes-2.5
{}
[{"role": "user", "content": "Teach me\nPandas: Working with Data Frame, Importing fromExcel or .csv files, Powerful filters and indexes. Numpy: Selecting data with loc and iloc, Using NumPy for speed, Trade-offs between arrays and lists, Array functions. Data cleansing and normalization: Libraries for data visualizati...
infinity/Subjective
{}
[{"role": "user", "content": "def vaccinations_needed(pets):\n\n \"\"\"Given a set of pets, return a list of pets that require both a rabies vaccination and a distemper vaccination.\"\"\""}, {"role": "assistant", "content": "# Initialize an empty list to store the pets that need vaccinations\n vaccinations_needed...
infinity/code_exercises
{}
[{"role": "user", "content": "Your answer must contain a title, wrapped in double angular brackets, such as <<poem of joy>>. Your response should contain less than 100 words. Highlight at least 1 sections in your answer with markdown, i.e. *highlighted section*. Finish your response with this exact phrase [ender]. No o...
infinity/argilla/ifeval-like-data
{}
[{"role": "user", "content": "I want to design a web scraper in Python that can extract and analyze data from blogs, forums, reviews, and other textual areas of a specific website. The scraper should be able to categorize the scraped data based on its semantic classes (such as news, opinions, reviews) and sentiment (po...
infinity/Glaive-code-assistant-v3
{}
[{"role": "user", "content": "Hard: Multiply two given matrices."}, {"role": "assistant", "content": "Sure! Here's a code example that multiplies two given matrices and includes a detailed docstring explaining the code methods:\n\n```python\ndef multiply_matrices(mat1, mat2):\n \"\"\"\n Multiply two matrices.\n\n...
infinity/CodeExercise-Python-27k
{}
[{"role": "user", "content": "The podcast Dirty john. What was jon past records (give bullet points)"}, {"role": "assistant", "content": "\"Dirty John\" is a true crime podcast and later adapted into a television series, which tells the story of John Michael Meehan, a con artist and sociopath. Here's a bullet-point sum...
infinity/Subjective
{}
[{"role": "user", "content": "How would you code a function in Python 3 to\nreturn an APIC frame populated with data from image."}, {"role": "assistant", "content": "def serialize(self, image):\n \"\"\"Return an APIC frame populated with data from ``image``.\n \"\"\"\n assert isinstance(image, Imag...
infinity/instructional_code-search-net-python
{}
[{"role": "user", "content": "Your response should contain at least 3 sentences. Include keywords [keywords] in the response. Your answer must contain a title, wrapped in double angular brackets, such as <<poem of joy>>. At the end of your response, please explicitly add a postscript starting with [postscript].\n\n[key...
infinity/argilla/ifeval-like-data
{}
[{"role": "user", "content": "Write a Python 3 function that can\nwrite to output stream and flush."}, {"role": "assistant", "content": "def flush(self):\n \"\"\"\n Write to output stream and flush.\n \"\"\"\n if not self._buffer:\n return\n\n data = ''.join(self._buffer)\n...
infinity/instructional_code-search-net-python
{}
[{"role": "user", "content": "Can you build a linear regression model with a minimum R-squared value of 0.8 to predict the housing prices in the given dataset? The dataset contains 15 columns with 3,000 records, and you are required to include at least 3 additional variables in your model, selected from a list of 10 po...
infinity/CodeFeedback
{}
[{"role": "user", "content": "Write a sentence about the following things:\n\nchair, desk, laptop, room"}, {"role": "assistant", "content": "A class room with numerous laptops at desks with chairs."}]
infinity/flan
{}
[{"role": "user", "content": "Please write a PHP function that checks if two strings are anagrams. An anagram is a word or phrase formed by rearranging the letters of another word or phrase, using all the original letters exactly once. The function should take two string inputs and return a boolean value indicating whe...
infinity/Evol-Instruct-Code-80K
{}
[{"role": "user", "content": "Choose how you want this story to end.\n\nLONDON, England (CNN) -- Resourceful African filmmakers are using cell phones to tell their stories in spite of political censorship. Art school student Kiripi Katembo Siku listens during a mobile phone filmmaking workshop at the Académie des Beaux...
infinity/flan
{}
[{"role": "user", "content": "How would you implement a function in Python 3 that\nremoves documents from search indexes post_delete."}, {"role": "assistant", "content": "def _on_model_delete(sender, **kwargs):\n \"\"\"Remove documents from search indexes post_delete.\"\"\"\n instance = kwargs.pop(\"instance\")\n...
infinity/instructional_code-search-net-python
{}
[{"role": "user", "content": "Write a JavaScript program that takes an integer input from the user and then console logs \"Hello\" that many times."}, {"role": "assistant", "content": "Here's the JavaScript code for the program you described:\n\n```javascript\n// Prompt the user for an integer input\nconst input = pars...
infinity/Evol-Instruct-Code-80K
{}
[{"role": "user", "content": "Compute the sum of two given two-dimensional arrays. The sum of each corresponding element in the arrays must be a prime number. Additionally, the sum must be stored in a new array with the same dimensions as the original arrays.\n\n# Example Input\narray1 = [[2, 3, 5], [7, 11, 13], [17, 1...
infinity/CodeFeedback
{}
[{"role": "user", "content": "You are tasked with implementing a set of procedures for handling cryptographic digests in a programming language. You need to create the following procedures:\n- `open-digest`: Opens a new digest context\n- `close-digest`: Closes the digest context\n- `digest-update-subu8vector`: Updates ...
infinity/code_bagel
{}
[{"role": "user", "content": "Given the sentence \"A lady in a skirt is carrying two bags out onto the water and a dog is following her.\" can we conclude that \"A lady has a dog following her.\"?\nOptions:\n- yes\n- it is not possible to tell\n- no Now, let's be accurate as possible. Some thinking first:"}, {"role": "...
infinity/flan
{}
[{"role": "user", "content": "Provide the best response to a given instruction. Follow the following steps to craft your response:\n1. reason about the given instruction\n2. provide a high-quality solution\n3. offer a concise explanation\n4. write tests to verify the correctness your solution\n\n## Example 1\n### Instr...
infinity/self-oss-instruct-sc2-exec-filter-50k
{}
[{"role": "user", "content": "Provide the best response to a given instruction. Follow the following steps to craft your response:\n1. reason about the given instruction\n2. provide a high-quality solution\n3. offer a concise explanation\n4. write tests to verify the correctness your solution\n\n## Example 1\n### Instr...
infinity/self-oss-instruct-sc2-exec-filter-50k
{}
[{"role": "user", "content": "Please modify the file to implement the following change: \"Remove `pkg_resources` from the top-level package\"\nGiven this Python code in pronto/__init__.py:\n\n```python\nimport pkg_resources\n\n__author__ = \"Martin Larralde <martin.larralde@embl.de>\"\n__license__ = \"MIT\"\n__version_...
infinity/code_bagel
{}
[{"role": "user", "content": "Write a Python 3 function that can\nstep 1 Upload file to server and return a new entry in the cache"}, {"role": "assistant", "content": "def _upload_file(self, authdata, attachment, reg_key):\n \"\"\"\n Step 2: auth successful, and file not on server\n zotero.org/supp...
infinity/instructional_code-search-net-python
{}
[{"role": "user", "content": "If you started killing people for no reason, what are you likely to lack?\nOptions:\n- prison sentence\n- going to jail\n- feelings of guilt\n- die\n- hunger\nLet's think carefully first. Step-by-step reasoning process:"}, {"role": "assistant", "content": "Feeling of guilt means a feeling ...
infinity/flan
{}
[{"role": "user", "content": "Implement a Python function to solve the longest increasing subsequence with at most k element flips."}, {"role": "assistant", "content": "Certainly! Here's an implementation of a Python function that solves the longest increasing subsequence problem with at most k element flips, along wit...
infinity/CodeExercise-Python-27k
{}
[{"role": "user", "content": "def increase_tempo(music, tempo_increase):\n \"\"\"\n This function increases the tempo of each element in a music list by a specified amount.\n \n :param music: a list of tempo values for each part of a song\n :param tempo_increase: the amount by which the tempo needs to be...
infinity/code_exercises
{}
[{"role": "user", "content": "You are given a string of words. Count how many words the string contains. The string may contain punctuation marks, numbers, and special characters. Additionally, words can be separated by multiple spaces or other whitespace characters. Ignore any leading or trailing whitespace characters...
infinity/python-code-dataset-500k
{}
[{"role": "user", "content": "Can you create a Python 3 function that\ndeletes all renditions if master file as changed."}, {"role": "assistant", "content": "def delete_renditions_if_master_has_changed(sender, instance, **kwargs):\n '''if master file as changed delete all renditions'''\n try:\n obj = sende...
infinity/instructional_code-search-net-python
{}
[{"role": "user", "content": "How would you explain what the following Python 3 function does\ndef _list(self, foldername=\"INBOX\", reverse=False, since=None):\n folder = self.folder \\\n if foldername == \"INBOX\" \\\n else self._getfolder(foldername)\n\n def sortcmp(d):\n ...
infinity/instructional_code-search-net-python
{}
[{"role": "user", "content": "Provide the best response to a given instruction. Follow the following steps to craft your response:\n1. reason about the given instruction\n2. provide a high-quality solution\n3. offer a concise explanation\n4. write tests to verify the correctness your solution\n\n## Example 1\n### Instr...
infinity/self-oss-instruct-sc2-exec-filter-50k
{}
[{"role": "user", "content": "Can you provide an example of how to create an HTML page with a two-column layout?"}, {"role": "assistant", "content": "Certainly! Here is an example of an HTML page that displays content in two columns:\n\n```html\n<html>\n\t<head>\n\t\t<title>Two column layout</title>\n\t</head>\n\t<body...
infinity/OpenHermes-2.5
{}
[{"role": "user", "content": "If each breakfast plate at a cafe consists of two eggs and twice as many bacon strips as eggs, and there are 14 customers who ordered breakfast plates, how many bacon strips does the cook need to fry in total?"}, {"role": "assistant", "content": "Each breakfast plate consists of 2 eggs.\nS...
infinity/Subjective
{}
[{"role": "user", "content": "Generate a sentence that includes all the following words: cottage, lot, space"}, {"role": "assistant", "content": "Living in a quaint, whitewashed cottage in the countryside offered a lot more than just a peaceful abode; the expansive lot surrounding the dwelling provided us immense space...
infinity/OpenHermes-2.5
{}
[{"role": "user", "content": "answer the following question giving all the steps and thinking before every step systematically\nGiven:\n(a)F=< yz ,y^(2), xy >\n(b)the curve C that is a boundary of the surface z=x^(2)+y^(2)\n(c)the boundary is contained in the box where x and y both range from 0 to 2\nUse Stokes's Theor...
infinity/Subjective
{}
[{"role": "user", "content": "Write a function that calculates not only the factors of a given number, but also determines if these factors are prime numbers. For example, if the input is 28, the function should return a dictionary with the factor as the key and a boolean value indicating whether it is a prime number o...
infinity/CodeFeedback
{}
[{"role": "user", "content": "Solve the following math problem step-by-step.\nSimplify your answer as much as possible. Present your final answer as \\boxed{Your Answer}.\nworking alone at its constant rate , machine a produces x boxes in 10 minutes and working alone at its constant rate , machine b produces 2 x boxes ...
infinity/code_exercises
{}
[{"role": "user", "content": "Write an SQL query to create a table called \"students\" with the following columns:\n- id (integer, primary key)\n- name (varchar(100))\n- age (integer)\n- gender (varchar(10))\n- grade (integer)\n- address (varchar(200))"}, {"role": "assistant", "content": "Here is the SQL query to creat...
infinity/Evol-Instruct-Code-80K
{}
[{"role": "user", "content": "You are tasked with creating a program that generates a cover page for a document based on specific input values. The cover page should include the name of the educational institution, department, topic, discipline, student details, supervisor details, and version information. Your program...
infinity/code_bagel
{}
[{"role": "user", "content": "I have a GitHub repo that contains a Golang application with an AngularJS frontend. I want to run both Go tests and Karma tests. I've tried a few solutions from Stack Overflow, but they didn't work for me. The first option was to run two Travis CI builds for one repo, but I couldn't figure...
infinity/OpenHermes-2.5
{}
[{"role": "user", "content": "Generate a Jupyter notebook to display a scatterplot of a given dataset.\nData: [[5.1, 3.5], [1.4, 2.3], [3.3, 4.3], [3.6, 2.7]]"}, {"role": "assistant", "content": "#Import relevant packages \nimport pandas as pd \nimport matplotlib.pyplot as plt\n\n#Create dataframe\ndata = [[5.1, 3.5], ...
infinity/Evol-Instruct-Code-80K
{}
[{"role": "user", "content": "Determine the probability of success on the following activity, taking into account the constraint that the first toss must result in heads, and the second and third tosses must result in different outcomes. You toss a fair coin three times."}, {"role": "assistant", "content": "The probabi...
infinity/Subjective
{}
[{"role": "user", "content": "Please answer the following question: Generate a question about the following movie plot: This article's plot summary may be too long or excessively detailed. Please help improve it by removing unnecessary details and making it more concise. (June 2016) (Learn how and when to remove this t...
infinity/OpenHermes-2.5
{}
[{"role": "user", "content": "Choose the next sentence.By Mark Prigg Google's Glass wearable computer contains just $80 worth of electronic components, a website which took one of the $1500 gadgets apart has found. The teardown.com site took one of the prototype smart specs, which are a prototype 'explorer edition' des...
infinity/flan
{}
[{"role": "user", "content": "Are coopers required in the beverage industry? Given the above question, please answer with reasoning first!"}, {"role": "assistant", "content": "Coopers, who are skilled craftsmen that create and repair wooden barrels, casks, and other containers, are not strictly required in the beverage...
infinity/OpenHermes-2.5
{}
[{"role": "user", "content": "Hardest life to survive: My life was difficulty resembles extreme demon difficulty from geometry dash"}, {"role": "assistant", "content": "Drawing a parallel between the challenges faced in life and the extreme demon difficulty in Geometry Dash underscores the intensity and adversity you'v...
infinity/Subjective
{}
[{"role": "user", "content": "Create a Python function named \"find_odd_occurrence\" that takes a list of integers as input and returns the integer that occurs an odd number of times. Assume there is only one integer that occurs an odd number of times.\nInput: None"}, {"role": "assistant", "content": "To create the \"f...
infinity/CodeExercise-Python-27k
{}
[{"role": "user", "content": "Question and Answer: Which of the following two sentences does not make sense?\nOptions:\n- Sentence A: \"The cat wants to go through the door.\"\n- Sentence B: \"The fridge wants to go through the door.\"\n\nSentence B\nSome stream of consciousness: A fridge is not a sentient creature and...
infinity/OpenHermes-2.5
{}
[{"role": "user", "content": "Given the following Python 3 function, write the documentation\ndef create_for_caught_error(parser: _BaseParserDeclarationForRegistries, desired_type: Type[T],\n obj: PersistedObject, caught: Exception, options: Dict[str, Dict[str, Any]]):\n \"\"\"\n ...
infinity/python-code-dataset-500k
{}
[{"role": "user", "content": "Provide the best response to a given instruction. Follow the following steps to craft your response:\n1. reason about the given instruction\n2. provide a high-quality solution\n3. offer a concise explanation\n4. write tests to verify the correctness your solution\n\n## Example 1\n### Instr...
infinity/self-oss-instruct-sc2-exec-filter-50k
{}
[{"role": "user", "content": "Provide the best response to a given instruction. Follow the following steps to craft your response:\n1. reason about the given instruction\n2. provide a high-quality solution\n3. offer a concise explanation\n4. write tests to verify the correctness your solution\n\n## Example 1\n### Instr...
infinity/self-oss-instruct-sc2-exec-filter-50k
{}
[{"role": "user", "content": "Data: Fitzbillies food Fast food; Fitzbillies near The Six Bells\n\nWhat would a sentence about this data be like?"}, {"role": "assistant", "content": "Fitzbillies is a fast food place to eat near The Six Bells."}]
infinity/flan
{}
[{"role": "user", "content": "Find the smallest element in a frozen set."}, {"role": "assistant", "content": "Certainly! Here's an example of how you can find the smallest element in a frozen set in Python.\n\n```python\ndef find_smallest_element(frozen_set):\n \"\"\"\n Finds the smallest element in a given froze...
infinity/CodeExercise-Python-27k
{}
[{"role": "user", "content": "Summarize:\n\n4 November 2015 Last updated at 15:30 GMT\nRobots, costing £100,000, which can speak, cry, sweat and have seizures are controlled by a human to simulate a real emergency.\nBBC London's health correspondent Karl Mercer spoke to Dr Lola Olakunbi, junior doctor Sara Maki and med...
infinity/flan
{}
[{"role": "user", "content": "Build a Python module snippet that Determines Low Ear hygiene: Cleaning Outer Ear for Decision Making for Beginners. Incorporate if/else or switch/case statements to handle different cases based on the Consent. Ensure your control flow is well-documented with comments explaining your appro...
infinity/Code-Instruct-700k
{}
[{"role": "user", "content": "Summarize:\n\nIts members will also be balloted on industrial action unless the next UK government scraps a 1% pay-rise cap.\nThe Welsh Government, which sets pay for nurses in Wales, said the NHS Pay Review Body had recommended a 1% pay rise after looking at expert evidence.\nThe lowest e...
infinity/flan
{}
[{"role": "user", "content": "Rewrite the following proverb as a question: \"A penny saved is a penny earned.\""}, {"role": "assistant", "content": "\"Is it true that a penny saved is equivalent to a penny earned?\""}]
infinity/OpenHermes-2.5
{}
End of preview. Expand in Data Studio

Zenyx Infinity Instruct

195,212 General, Code and Reasoning Instruction Rows, Capped per Source

17 Source Subsets • ODC-By • Chat Format


🧭 The Zenyx Dataset Family: Which Dataset Should You Use?

Every Zenyx dataset lives under Arko007 and follows one convention: a messages column holding a JSON string of chat turns (roles system, user, assistant, tool), optional tools, and a src tag naming the family. The tables below route you to the right repo.

🧱 General SFT and training collections

Dataset Format Volume What it is Best suited for
Arko007/zenyx-sft-v2 Clean Parquet (train + validation) 191,002 conversations, ~29.1M tokens 45 domains of multi-turn, agentic, coding and reasoning chat; audited and de-duplicated Standard supervised fine-tuning
Arko007/Zenyx-100M-SFT-synth JSONL + Parquet archive 209k accepted + 114k rejected rows, ~41M tokens Raw generation traces and the log of every rejected row Studying synthetic-data pipelines and failure modes
Arko007/Zenyx-100M-SFT-data Pre-tokenised NumPy .npz shards (+ Parquet view) 149,571 sequences of 2,049 tokens (208.2M trained tokens) 15-source mixture, already tokenised, with loss masks Zero-overhead GPU training of Zenyx-100M
Arko007/zenyx-curated Parquet, 38 families 2,520,243 rows Filtered, de-duplicated, script-checked public and Zenyx-made sources Building your own SFT mix family by family
Arko007/zenyx-v3-synthetic-sft-v4 JSONL shards 101,523 samples Distilled reasoning, code and math dialogues from five public sources Reasoning-heavy SFT
Arko007/zenyx-v2-SFT-dataset Parquet, one config per source about 187M rows (14 source sets) Raw Nemotron SFT / RL, Cascade and math collections used for Zenyx V2 Large-scale research on source data

🎯 Instruction following, behaviour and constraints

Dataset Format Volume What it is Best suited for
Arko007/zenyx-instruct-exact Parquet, 33 configs ~250M templated rows Rule-based exact-instruction data; every answer computed by code Exact counts, formats, letters, multi-question, follow-ups, rules that persist
Arko007/zenyx-exact-mix Parquet, 5 group configs 1,183,373 rows, ~180M tokens Trainer-ready, de-duplicated subset of zenyx-instruct-exact Dropping the exact-instruction data straight into a training mix
Arko007/zenyx-constraint-write Parquet + JSONL 394,998 rows, ~98.1M tokens Exact-rule writing: word lengths, letter counts, lipograms, acrostics Controllable, rule-exact text generation
Arko007/zenyx-haiku-opus Parquet, 4 configs + raw JSONL weak_games 2,496 / rest 14,843 / opus 40 / train 16,836 rows Hand-written and solver-made behaviour data from Claude Haiku and Opus, in one repo Calibration, tool recovery, games, multi-turn behaviour
Arko007/zenyx-false-belief Parquet 7,194 rows (v2) Correcting false beliefs and false premises kindly, with true facts Honesty and theory-of-mind behaviour
Arko007/zenyx-frontier-handwritten JSONL, several rounds about 15,000 multi-turn rows Hand-written and repaired multi-turn dialogues in 55 reasoning domains High-density multi-turn and tool arbitration supervision

🛠️ Agents, tools and conversation

Dataset Format Volume What it is Best suited for
Arko007/zenyx-agentic-loops JSONL (accepted + rejects) simulated-tool rollouts, counts in status/ Tool-use loops with executed simulated tools and verified rollouts Agent-loop behaviour: errors, empty results, asking, confirming, polling
Arko007/zenyx-spark-r11 Parquet, 8 families 462,033 rows Round-11 families: celebrity facts, dates, comprehension, slang, greetings, needle retrieval, STEM, code translation Short, factual and conversational behaviour
Arko007/zenyx-spark-r11-calib JSONL 836 accepted rows Small calibration run of the round-11 generators Diagnostics only
Arko007/zenyx-r11-extra Parquet, 3 folders 95,334 rows Math with executed code, casual chat and roleplay, rebuilt from three public sources Tool-augmented math and conversational variety

🔢 Reasoning, arithmetic and puzzles

Dataset Format Volume What it is Best suited for
Arko007/zenyx-arithmetic-100m Parquet, 21 shards 100,000,000 rows Exact integer arithmetic with verified step-by-step scratchpads Teaching procedures instead of guessed results
Arko007/zenyx-arc-synth Parquet (train + validation) 597,098 + 2,000 tasks Programmatically generated ARC-style grid puzzles, correct by construction Spatial and inductive reasoning

🎯 Quick navigation

The models these datasets were built for: Arko007/Zenyx-100M-Base (Zenyx-Mini, about 151M parameters).

📚 Knowledge, STEM, code and specialised data (added 30 Nov 2026)


📖 Dataset Overview

A capped selection from pszemraj/infinity-instruct-7m-T2T_en (config deduped-L2), converted to the Zenyx chat format.

📊 At a Glance

Metric Value
Rows 195,212
Files 4 Parquet files
Estimated tokens about 93M (characters / 4; code is denser, so the real count is higher)
Caps 25,000 rows per general source, 12,000 per code source
Skipped sources MetaMath, Orca-math, MathInstruct (already in the Zenyx mix)

🧪 Composition

src tag Rows
infinity/flan 25,000
infinity/OpenHermes-2.5 25,000
infinity/Subjective 25,000
infinity/self-oss-instruct-sc2-exec-filter-50k 24,181
infinity/instructional_code-search-net-python 12,000
infinity/CodeExercise-Python-27k 12,000
infinity/python-code-dataset-500k 12,000
infinity/CodeFeedback 12,000
infinity/code_bagel 12,000
infinity/code_exercises 12,000
infinity/Evol-Instruct-Code-80K 9,462
infinity/argilla/ifeval-like-data 5,423
infinity/code_instructions_122k_alpaca_style 4,100
infinity/Glaive-code-assistant-v3 2,270
infinity/Code-Instruct-700k 1,771
infinity/Python-Code-23k-ShareGPT 703
infinity/python_code_instructions_18k_alpaca 302

📚 Sources and Licences

Source Upstream licence Used for
pszemraj/infinity-instruct-7m-T2T_en ODC-By all rows (the underlying instruction collection is BAAI's Infinity-Instruct; check its card for its own terms)

⚠️ Notes and Limits

  • Answers were generated by GPT-4-class models upstream. Code and maths answers are not verified.
  • Quality varies by source subset.

🧩 Data Format

Every row is one chat conversation.

Column Type Meaning
messages string (JSON) list of turns {"role": "system" | "user" | "assistant" | "tool", "content": ...}
tools string (JSON) tool specifications for the row, empty string when the row uses no tools
src string <family>/<part> tag of the generator or source split the row came from
meta string (JSON) row-level details (ids, categories, upstream metadata)

🚀 Quick Start

import json
from datasets import load_dataset

ds = load_dataset("Arko007/zenyx-infinity-instruct", split="train")
row = ds[0]
for turn in json.loads(row["messages"]):
    print(turn["role"], ":", turn["content"][:200])

License and citation

ODC-By 1.0, following the source dataset.

@dataset{zenyx_infinity_instruct_2026,
  author       = {Arko and Zenyx AI Contributors},
  title        = {Zenyx Infinity Instruct},
  year         = {2026},
  publisher    = {Hugging Face},
  howpublished = {\url{https://huggingface.co/datasets/Arko007/zenyx-infinity-instruct}}
}
Downloads last month
12