messages
listlengths
2
37
source
stringclasses
25 values
bucket
stringclasses
4 values
[ { "role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. \nBased on the question, you will need to make one or more function/tool calls to achieve the purpose. \nIf none of the functions can be used, point it out and refuse to answer...
HuggingFaceTB/smoltalk:apigen-80k
agentic
[ { "role": "user", "content": "You are given a list of positive integers. Write a program that outputs the contents of the list in a comma-separated string, but excludes any numbers that are divisible by 3 and contain the digit 5. \n\nFor example, if the given list is [14, 19, 22, 27, 35], the program should...
nickrosh/Evol-Instruct-Code-80k-v1
coding
[ { "role": "user", "content": "Find how many diagonals are in a hendecagon." }, { "role": "assistant", "content": "A hendecagon is an 11-sided polygon. To find the number of diagonals in any polygon, you can use the formula:\n\nNumber of diagonals = n(n - 3) / 2\n\nwhere n is the number of sides ...
microsoft/orca-math-word-problems-200k
math
[ { "role": "user", "content": "Determine the distance, in units, between the points (3, -2) and (7, 5)." }, { "role": "assistant", "content": "Using the distance formula, the distance between two points $(x_1, y_1)$ and $(x_2, y_2)$ is given by\n$$\\sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}.$$\nIn this...
HuggingFaceTB/smoltalk:metamathqa-50k
math
[ { "role": "user", "content": "and explores the theme of a traveler finding unexpected peace in a bustling metropolis after a long journey through wilderness. Include a clear volta after the eighth line." }, { "role": "assistant", "content": "For weeks the brutal brush had torn my clothes,\nAnd s...
ianncity/GLM-5.2-Conversation
agentic
[ { "role": "user", "content": "The parabolas $y = (x - 2)^2$ and $x + 1 = (y - 2)^2$ intersect at points $(x_1,y_1),$ $(x_2,y_2),$ $(x_3,y_3),$ and $(x_4,y_4).$ Find\n\\[x_1 + x_2 + x_3 + x_4 + y_1 + y_2 + y_3 + y_4.\\]" }, { "role": "assistant", "content": "First, solve for the intersections of ...
HuggingFaceTB/smoltalk:numina-cot-100k
math
[ { "role": "user", "content": "Design a Python Flask API that accepts a string of text as input and returns the frequency count of each word in the text. The API should support GET and POST requests and return the results in JSON format.\nPLAINFORMAT" }, { "role": "assistant", "content": "from fl...
teknium/OpenHermes-2.5
direction
[ { "role": "user", "content": "By Jessica Lewis\tPosted in\tLifestyle, Skin\ton 22/01/2016 .\nEvery now and then a skincare product comes along that makes you wonder how you’ve survived so many years without having it in your life. This is the exact feeling that we got with the fantastic Swisscode skincare r...
HuggingFaceH4/ultrachat_200k
direction
[ { "role": "user", "content": "What individual has won the most Olympic gold medals in the history of the games?" }, { "role": "assistant", "content": "Michael Phelps has won the most gold medals of all time with 23 golds." } ]
databricks/databricks-dolly-15k
direction
[ { "role": "user", "content": "What is the remainder when $2537 \\cdot 1985$ is divided by $600$?" }, { "role": "assistant", "content": "First, simplify $2537$ and $1985$ under modulo $600$:\n- $2537 \\div 600 = 4$ remainder $137$, so $2537 \\equiv 137 \\pmod{600}$.\n- $1985 \\div 600 = 3$ remain...
HuggingFaceTB/smoltalk:numina-cot-100k
math
[ { "role": "user", "content": "Write a SQL query to calculate the average age of all male students in a given class who have a GPA of 3.5 or higher. Additionally, exclude any students who have transferred from another school within the past year. However, instead of using a single query, you must use a subqu...
nickrosh/Evol-Instruct-Code-80k-v1
coding
[ { "role": "user", "content": "Write a Python function to check if a string contains a special character (e.g., plus (+), minus (-), asterisk (*), slash (/), at (@), and so on) and return the first substring after the special character, if any. If no special character is present, return an empty string.\n\nY...
HuggingFaceTB/smoltalk:self-oss-instruct
coding
[ { "role": "user", "content": "You are given a Python code snippet that involves manipulation of NumPy arrays. Your task is to implement a function that performs similar operations on NumPy arrays.\n\nYou need to write a Python function called `process_arrays` that takes two NumPy arrays `z1` and `z2` as inp...
ise-uiuc/Magicoder-OSS-Instruct-75K
coding
[ { "role": "system", "content": "You are an expert logical reasoner. Think through the problem carefully.\n\nFormat your response EXACTLY as:\n<think>\n[Break down the problem into components.\nConsider multiple hypotheses if applicable.\nEliminate incorrect paths explicitly.\nBuild toward the conclusion ste...
r0b0tlab/qwen3.8-max-distillation-50k
math
[ { "role": "user", "content": "You are tasked with implementing a function that categorizes a list of strings representing shape names into different groups based on certain criteria. The function should return a dictionary where the keys are the categories and the values are lists of shape names that belong...
ise-uiuc/Magicoder-OSS-Instruct-75K
coding
[ { "role": "system", "content": "Brainy is a conversational chatbot that can answer complex questions. Brainy can help solve life's emotional problems." }, { "role": "user", "content": "What happens when I like a lady, but she doesn't notice me?" }, { "role": "assistant", "content": "...
HuggingFaceH4/no_robots
direction
[ { "role": "user", "content": "Krystian works in the library. He borrows an average of 40 books every day. Every Friday, his number of borrowed books is about 40% higher than the daily average. How many books does he borrow in a week if the library is open from Monday to Friday?" }, { "role": "assist...
openai/gsm8k:main
math
[ { "role": "user", "content": "Change the sentence \"It wasn't supposed to be like this\" into a declarative sentence." }, { "role": "assistant", "content": "It was supposed to be different." } ]
yahma/alpaca-cleaned
direction
[ { "role": "user", "content": "You are tasked with implementing a file monitoring system that triggers specific actions based on file events. The system should ignore certain files and only execute actions when there are valid event-action pairs defined.\n\nYou are given a code snippet that represents part o...
ise-uiuc/Magicoder-OSS-Instruct-75K
coding
[ { "role": "user", "content": "Example 1. Factorize: $6 x^{2}-x-15$." }, { "role": "assistant", "content": "To factorize the quadratic expression \\(6x^2 - x - 15\\), we use the method of splitting the middle term. \n\nFirst, we multiply the coefficient of \\(x^2\\) (6) by the constant term (-15)...
open-r1/OpenR1-Math-220k
math
[ { "role": "user", "content": "Write a function in JavaScript that takes in two operands and checks if their values and types are equal or not. The function should return a boolean value indicating the result. You are not allowed to use any built-in comparison operators such as `==` or `===`. Additionally, y...
nickrosh/Evol-Instruct-Code-80k-v1
coding
[ { "role": "user", "content": "You are given a class `Solution` with a method `isThree` that takes an integer `n` as input. The method should return `True` if `n` is equal to 3, and `False` otherwise. You need to implement the `isThree` method.\n\nExample:\n```\nassert not Solution().isThree(n=8) # 8 is not...
ise-uiuc/Magicoder-OSS-Instruct-75K
coding
[ { "role": "system", "content": "You are an AI assistant. You will be given a task. You must generate a detailed and long answer." }, { "role": "user", "content": "For the best Elmhurst Illinois Divorce Mediation lawyers and Elmhurst Illinois Divorce Mediation attorneys in the business, Attorneys...
Open-Orca/SlimOrca
direction
[ { "role": "user", "content": "What is rowing?" }, { "role": "assistant", "content": "Rowing is the sport of racing boats using oars. It differs from paddling sports in that rowing oars are attached to the boat using oarlocks, while paddles are not connected to the boat. Rowing is divided into tw...
databricks/databricks-dolly-15k
direction
[ { "role": "user", "content": "Dave bought 8 books about animals, 6 books about outer space, and 3 books about trains to keep him busy over the holidays. Each book cost $6. How much did Dave spend on the books?" }, { "role": "assistant", "content": "Dave bought a total of 8 + 6 + 3 = 17 books.\nE...
HuggingFaceTB/smoltalk:metamathqa-50k
math
[ { "role": "system", "content": "You are a helpful, concise assistant." }, { "role": "user", "content": "yo" }, { "role": "assistant", "content": "Yo. What's up — bug, idea, homework, or something else?" }, { "role": "user", "content": "Explain HTTPS simply." }, { ...
assistant-seeds
direction
[ { "role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. \nBased on the question, you will need to make one or more function/tool calls to achieve the purpose. \nIf none of the functions can be used, point it out and refuse to answer...
HuggingFaceTB/smoltalk:apigen-80k
agentic
[ { "role": "user", "content": "5-1. A square with a side of 100 was cut into two equal rectangles. They were placed next to each other as shown in the figure. Find the perimeter of the resulting figure.\n\n![](https://cdn.mathpix.com/cropped/2024_05_06_9cd52224ba9edadf4a1fg-04.jpg?height=277&width=594&top_le...
open-r1/OpenR1-Math-220k
math
[ { "role": "user", "content": "A rectangular garden has a length of 12 meters and a width of 7 meters. What is the area of the garden in square meters?" }, { "role": "assistant", "content": "To find the area of a rectangle, we can use the formula:\n\nArea = Length * Width\n\nIn this case, the len...
teknium/OpenHermes-2.5
direction
[ { "role": "user", "content": "Connor scored 2 in a game while Amy scored 4 more than Connor. Jason scored twice the score of Amy. If Connor, Amy, and Jason belong to the same team, how many points did their team have?" }, { "role": "assistant", "content": "Amy's score was 2 + 4 = 6.\nJason's sco...
TIGER-Lab/MathInstruct
math
[ { "role": "user", "content": "If Jamestown has 20 theme parks, Venice has 25 more theme parks than Jamestown, and Marina Del Ray has 50 more theme parks than Jamestown, what is the total number of theme parks in the three towns?" }, { "role": "assistant", "content": "If Jamestown has 20 theme pa...
HuggingFaceTB/smoltalk:metamathqa-50k
math
[ { "role": "assistant", "content": "[calling tools]\n[{\"id\": \"call_1\", \"type\": \"function\", \"function\": {\"name\": \"Bash\", \"arguments\": \"{\\\"command\\\": \\\"CUDA_VISIBLE_DEVICES=\\\\\\\"\\\\\\\" .venv/bin/python -m pytest tests/ -q 2>&1 | tail -4\\\", \\\"description\\\": \\\"Full suite on CP...
AnkitAI/fable-5-traces-sft-chatml
agentic
[ { "role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. \nBased on the question, you will need to make one or more function/tool calls to achieve the purpose. \nIf none of the functions can be used, point it out and refuse to answer...
HuggingFaceTB/smoltalk:apigen-80k
agentic
[ { "role": "user", "content": "You are tasked with creating a program that processes XML data related to news articles. The XML data contains information about the publication in which an article appears. Your task is to write a function that extracts and returns the publication details from the given XML sn...
ise-uiuc/Magicoder-OSS-Instruct-75K
coding
[ { "role": "user", "content": "Imagine a small business owner wants to simplify a clause in a service contract that currently reads: \"The Provider shall, at its sole discretion, allocate resources, including but not limited to personnel, equipment, and subcontractors, in order to fulfill the obligations set...
ianncity/GLM-5.2-Conversation
agentic
[ { "role": "system", "content": "You are an e-commerce shopping assistant. You can search products, get details, manage the cart, apply coupons, and check out. Always confirm pricing before checkout." }, { "role": "user", "content": "I'm looking for robot vacuum under $300. Find me options, pick ...
voxozi/agentforge-multiturn-toolcall
agentic
[ { "role": "user", "content": "Q:Read the following paragraph and extract the answer for the question: What is the first name of the person that wants to drink Selene's blood? The remaining vampire covens are on the verge of annihilation by the Lycans. Both species are searching for Selene: the vampires see...
Open-Orca/SlimOrca
direction
[ { "role": "system", "content": "As an AI chatbot, your role is to facilitate productive conversations. You should not continue the conversation if the user is abusive or disrespectful." }, { "role": "user", "content": "Can you explain the difference between an SSD and HDD?" }, { "role": ...
HuggingFaceTB/smoltalk:systemchats-30k
direction
[ { "role": "user", "content": "122 is the result of mistakenly subtracting 64 from a number. We need to subtract 46 from it. Calculate correctly." }, { "role": "assistant", "content": "If 122 is the result of mistakenly subtracting 64 from a number, let's first find the original number by adding ...
microsoft/orca-math-word-problems-200k
math
[ { "role": "user", "content": "Identify which instrument is string or percussion: Kpanlogo, Shamisen" }, { "role": "assistant", "content": "Shamisen is string, Kpanlogo is percussion." } ]
databricks/databricks-dolly-15k
direction
[ { "role": "user", "content": "You are an AI assistant tasked with solving command-line tasks in a Linux environment. You will be given a task description and the output from previously executed commands. Your goal is to solve the task by providing batches of shell commands.\n\nFormat your response as JSON w...
open-thoughts/AgentTrove
agentic
[ { "role": "user", "content": "The school has a total of 3 grades. Each grade has 12 classes, and each class has the same number of students. Miyoung is ranked 12th from the front and 12th from the back in math scores in a class. How many students are there in this school?" }, { "role": "assistant", ...
microsoft/orca-math-word-problems-200k
math
[ { "role": "user", "content": "Here is the question:\n\nLet A and B be two propositions. The intuitionistic implication operator → is defined as follows: A → B is true if and only if there is no proof of A and a disproof of B. If A is true, then A → B is also true for any proposition B. If B is false, then A...
HuggingFaceTB/smoltalk:openhermes-100k
direction
[ { "role": "user", "content": "In her first term, Governor Sandoval gave twice as many commencement addresses as Governor Hawkins. Governor Sloan gave ten more commencement addresses than Governor Sandoval in the same amount of time. If Governor Sandoval gave 12 commencement addresses, how many commencement ...
openai/gsm8k:main
math
[ { "role": "user", "content": "Given a list of dictionaries representing animals, write a Python function that returns a JSON object where each key is the animal's species and the value is the number of animals of that species. The input list must contain dictionaries with the following keys: 'species' and '...
HuggingFaceTB/smoltalk:self-oss-instruct
coding
[ { "role": "system", "content": "You are an AI assistant that helps people find information. User will you give you a question. Your task is to answer as faithfully as you can. While answering think step-by-step and justify your answer." }, { "role": "user", "content": "Given the sentence \"Peopl...
HuggingFaceTB/smoltalk:openhermes-100k
direction
[ { "role": "system", "content": "You are a world class trivia AI - provide accurate, succinct responses." }, { "role": "user", "content": "An anagram of \"stream\", this word refers to someone with great skill or proficiency in a particular area." }, { "role": "assistant", "content": ...
teknium/OpenHermes-2.5
direction
[ { "role": "system", "content": "You are an expert mathematician. Solve the given problem with complete rigor.\n\nFormat your response EXACTLY as:\n<think>\n[Your complete step-by-step reasoning. Show all intermediate calculations.\nIf you make an error and catch it, show the correction.\nEnd with a clear st...
r0b0tlab/qwen3.8-max-distillation-50k
math
[ { "role": "user", "content": "Find how many single digits are in all from 2 to 100." }, { "role": "assistant", "content": "To find the number of single digits from 2 to 100, we need to consider that single digits are numbers from 0 to 9. However, since we are starting from 2, we will only count ...
microsoft/orca-math-word-problems-200k
math
[ { "role": "user", "content": "An internet provider gives a 5% discount if the customer pays before the 25th day of the month. If the monthly internet rate is $50, how much did the customer pay in all for 4 months if he paid every 25th of the month?" }, { "role": "assistant", "content": "The mont...
HuggingFaceTB/smoltalk:metamathqa-50k
math
[ { "role": "user", "content": "Could you rephrase the sentence \"The stewards are heavily relied upon to update the conditions and needs of our town's conservation areas\" in a more concise manner?\nGenerate according to: The 2012 spring meeting of the Bedford conservation land stewards is scheduled for Thur...
agentlans/multiturn-chat:chats_v2_k10000
direction
[ { "role": "user", "content": "Define a Python function `get_file_name_from_path(path)` that takes a file path as input and returns the file name (without the extension) from the path. For example, if the input path is `/path/to/file.txt`, the function should return `file`." }, { "role": "assistant",...
HuggingFaceTB/smoltalk:self-oss-instruct
coding
[ { "role": "user", "content": "A train leaves Town A and travels to Town B at a speed of 60 km/h. At the same time, another train leaves Town B and travels to Town A at a speed of 90 km/h. The distance between the two towns is 300 km. How far from Town A will the trains meet?" }, { "role": "assistant...
teknium/OpenHermes-2.5
direction
[ { "role": "user", "content": "In a pond there are 20 frogs and 6 crocodile. Find the total number of animal eyes. Let's write a Python program to solve it." }, { "role": "assistant", "content": "frogs = 20\ncrocodiles = 6\neyes = (frogs + crocodiles) * 2\n\nprint(eyes)" } ]
TIGER-Lab/MathInstruct
math
[ { "role": "user", "content": "I have several text files named `*.csv` on disk. I want to read them into RAM and concatenate them into a single in-memory data structure. Can you write a Python function that takes the following input:\n- `paths`: a list of file paths to 300+ CSV files\n- `col_name`: a column ...
HuggingFaceTB/smoltalk:self-oss-instruct
coding
[ { "role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. \nBased on the question, you will need to make one or more function/tool calls to achieve the purpose. \nIf none of the functions can be used, point it out and refuse to answer...
HuggingFaceTB/smoltalk:apigen-80k
agentic
[ { "role": "user", "content": "You are an AI assistant tasked with solving command-line tasks in a Linux environment. You will be given a task description and the output from previously executed commands. Your goal is to solve the task by providing batches of shell commands.\n\nFormat your response as JSON w...
open-thoughts/AgentTrove
agentic
[ { "role": "user", "content": "# Problem 1. Maximum 15 points\n\nA company that produces educational materials for exam preparation incurs average costs per textbook of $100+\\frac{100000}{Q}$, where $Q$ is the number of textbooks produced annually. What should be the annual production volume of the textbook...
open-r1/OpenR1-Math-220k
math
[ { "role": "user", "content": "a , b and c have rs . 400 between them , a and c together have rs . 300 and b and c rs . 150 . how much does c have ? Please write a program to solve it" }, { "role": "assistant", "content": "n0 = 400.0\nn1 = 300.0\nn2 = 150.0\nt0 = n1 + n2\nanswer = t0 - n0\nprint(...
TIGER-Lab/MathInstruct
math
[ { "role": "user", "content": "You are working on a web application that displays random quotes to users. The application uses an external API to fetch these quotes. The code snippet provided is from a Python file within the application's codebase. The file structure is as follows:\n```\nproject/\n app/\n...
ise-uiuc/Magicoder-OSS-Instruct-75K
coding
[ { "role": "user", "content": "hey" }, { "role": "assistant", "content": "Hey — I'm here. I can help with coding, math, writing, planning, or explaining things. What do you want to work on?" }, { "role": "user", "content": "What are you?" }, { "role": "assistant", "content...
assistant-seeds
direction
[ { "role": "user", "content": "I am drafting a short clause for a freelance graphic design contract that limits the client’s liability for any copyright infringement claims arising from the designer’s use of third‑party stock images. Rewrite the following clause to make it clearer and more enforceable while ...
ianncity/GLM-5.2-Conversation
agentic
[ { "role": "user", "content": "How can I retrieve records from a SQL table that fall between two specified dates?" }, { "role": "assistant", "content": "You can achieve this by using a SQL query with the BETWEEN operator. Here's an example of how you can write the query:\n\n```sql\nSELECT *\nFROM...
HuggingFaceTB/smoltalk:openhermes-100k
direction
[ { "role": "user", "content": "a furniture store owner decided to drop the price of her recliners by 20 % to spur business . by the end of the week she had sold 50 % more recliners . what is the percentage increase of the gross ? Let's write a Python program to solve it." }, { "role": "assistant", ...
TIGER-Lab/MathInstruct
math
[ { "role": "user", "content": "What is the future for human?" }, { "role": "assistant", "content": "This is a very wide open question. It could be two directions. One direction is that human would just disappear like the dinosaur. One direction is that human would become a species like a god. Fo...
databricks/databricks-dolly-15k
direction
[ { "role": "system", "content": "You are an expert logical reasoner. Think through the problem carefully.\n\nFormat your response EXACTLY as:\n<think>\n[Break down the problem into components.\nConsider multiple hypotheses if applicable.\nEliminate incorrect paths explicitly.\nBuild toward the conclusion ste...
r0b0tlab/qwen3.8-max-distillation-50k
math
[ { "role": "user", "content": "Can you help me plan my trip to Two Harbors, Minnesota? I want to go to Betty's Pies, but also a restaurant and a brewery." }, { "role": "assistant", "content": "1. Betty's Pies: Stop in for their American-style breakfast, lunch, or dinner dishes such as breakfast c...
HuggingFaceH4/no_robots
direction
[ { "role": "user", "content": "There are 3 meatballs on each spaghetti plate. If Theresa's 3 sons each eat two-thirds of the meatballs on their respective plates, how many meatballs are still left on their plates altogether?" }, { "role": "assistant", "content": "Total meatballs on the plates 3 ...
openai/gsm8k:main
math
[ { "role": "user", "content": "There are 6 red shoes, 2 green shoes. If one draw randomly a shoe what is the probability of getting a red shoe\nAnswer Choices: (A) 1/9 (B) 2/9 (C) 5/9 (D) 3/4 (E) 2/3" }, { "role": "assistant", "content": "Let's solve the multi-choice question step by step.\ntotal...
TIGER-Lab/MathInstruct
math
[ { "role": "user", "content": "You are tasked with implementing a Python class `Config` that can be initialized using a factory method `subreddit` and has specific properties and behaviors. The `Config` class should have an `env` property that can take values from the list ['development', 'testing', 'product...
ise-uiuc/Magicoder-OSS-Instruct-75K
coding
[ { "role": "user", "content": "Of the 36 students in Richelle's class, 12 prefer chocolate pie, 8 prefer apple, and 6 prefer blueberry. Half of the remaining students prefer cherry pie and half prefer lemon. For Richelle's pie graph showing this data, how many degrees should she use for cherry pie? \n\n$ \\t...
open-r1/OpenR1-Math-220k
math
[ { "role": "user", "content": "Stuart is going on a cross-country trip and wants to find the fastest route. On one route the total distance is 1500 miles and the average speed is 75 MPH. On the second trip, the total distance is 750 but the average speed is 25 MPH. How long does his trip take if he goes on t...
HuggingFaceTB/smoltalk:metamathqa-50k
math
[ { "role": "user", "content": "Which of the three numbers 5, 8, and 4 is the largest?" }, { "role": "assistant", "content": "The largest number among 5, 8, and 4 is 8." } ]
microsoft/orca-math-word-problems-200k
math
[ { "role": "system", "content": "You are an expert in composing functions. You are given a question and a set of possible functions. \nBased on the question, you will need to make one or more function/tool calls to achieve the purpose. \nIf none of the functions can be used, point it out and refuse to answer...
HuggingFaceTB/smoltalk:apigen-80k
agentic
[ { "role": "user", "content": "Create a function that takes a string and displays it in the output, but with each character repeated three times. Additionally, the function should reverse the order of the characters in the output. The function should also ignore any non-alphabetic characters in the input str...
nickrosh/Evol-Instruct-Code-80k-v1
coding
[ { "role": "user", "content": "You are tasked with implementing a class that represents a department in a company. The class should have the following functionalities:\n\n1. A private instance variable `departmentName` of type String to store the name of the department.\n2. A constructor that takes a String ...
ise-uiuc/Magicoder-OSS-Instruct-75K
coding
[ { "role": "user", "content": "6/11 of a number is 48. What is 1/8 of the number?" }, { "role": "assistant", "content": "Let's call the number we're looking for \"N\".\n\nAccording to the information given, 6/11 of N is 48. We can write this as an equation:\n\n(6/11) * N = 48\n\nTo find N, we nee...
microsoft/orca-math-word-problems-200k
math
[ { "role": "user", "content": "South Africans describe it as \"our most diverse and bustling city, it's an economic powerhouse with lots of tourists and extremely high property prices\". What is the name of the city?" }, { "role": "assistant", "content": "The city is Johannesburg." } ]
teknium/OpenHermes-2.5
direction
[ { "role": "user", "content": "Modify the C++ program below to print the average value of an array, but without using the arithmetic operators '+', '-', '*', or '/'.\n\n```cpp\n#include <iostream>\n\nint main() {\n int array[4] = {2, 3, 5, 7};\n int sum = 0;\n int n = sizeof(array)/sizeof(array[0]);...
nickrosh/Evol-Instruct-Code-80k-v1
coding
[ { "role": "user", "content": "A horse, a cow, a pig, a sheep, a rabbit, and a squirrel sequentially entered the fence in that sequence. Which animal took the 4th place?" }, { "role": "assistant", "content": "The sheep took the 4th place in the sequence." } ]
microsoft/orca-math-word-problems-200k
math
[ { "role": "user", "content": "Identify the bird from the list: Queensbury, Kingfisher, Bishopsgate" }, { "role": "assistant", "content": "Kingfisher" } ]
databricks/databricks-dolly-15k
direction
[ { "role": "user", "content": "You are an AI assistant tasked with solving command-line tasks in a Linux environment. You will be given a task description and the output from previously executed commands. Your goal is to solve the task by providing batches of shell commands.\n\nFormat your response as JSON w...
open-thoughts/AgentTrove
agentic
[ { "role": "user", "content": "If $\\frac{40}{x}-1=19$, then $x$ is equal to\n(A) -1\n(B) $\\frac{1}{2}$\n(C) 1\n(D) 2\n(E) -2" }, { "role": "assistant", "content": "Given the equation:\n\n\\[\n\\frac{40}{x} - 1 = 19\n\\]\n\nFirst, we isolate the term with \\( x \\) by adding 1 to both sides:\n\n...
open-r1/OpenR1-Math-220k
math
[ { "role": "user", "content": "Write a Python function `byte_array_to_11bit_number` that takes a byte array of size 10 and converts it to a 11-bit number. The function should work as follows:\n\n- First, the byte array is reversed.\n- Then, the first bit of the first reversed byte is shifted to the left by 1...
HuggingFaceTB/smoltalk:self-oss-instruct
coding
[ { "role": "user", "content": "Read the passage below and answer the question or follow the instruction: Where can I find more information about Ultra Film's programming?\n\nPassage: West Palm Beach, FL – February 27, 2019 – Ultra Film enters March with a roster of hair-raising mystery and horror films about...
agentlans/multiturn-chat:chats_v2_k10000
direction
[ { "role": "user", "content": "Write a Python function `unique_in_order(iterable)` that takes an iterable object and returns a list of unique elements in the order that they first appear. For example, given the input `'AAAABBBCCDAABBB'`, the function should return `['A', 'B', 'C', 'D', 'A', 'B']`. The functi...
HuggingFaceTB/smoltalk:self-oss-instruct
coding
[ { "role": "user", "content": "What are some strategies for managing anxiety and stress while working from home during the COVID-19 pandemic?" }, { "role": "assistant", "content": "1. Establish a daily routine: Set a daily schedule and follow it as closely as possible. Wake up at the same time, h...
HuggingFaceH4/ultrachat_200k
direction
[ { "role": "user", "content": "A library has a number of books. 35% of them are intended for children and 104 of them are for adults. How many books are in the library?" }, { "role": "assistant", "content": "65% of the library books are for adults because 100 - 35 = <<100-35=65>>65\nThere are 160...
openai/gsm8k:main
math
[ { "role": "user", "content": "Hyewon made pentagonal pillars with clay during art class and painted each side with a different color. How many colors did Hyewon paint on the pentagonal pillar?" }, { "role": "assistant", "content": "A pentagonal pillar, also known as a pentagonal prism, has 7 fac...
microsoft/orca-math-word-problems-200k
math
[ { "role": "system", "content": "You are a travel-planning agent. You can search and book flights and hotels, and check weather forecasts. Always confirm itinerary details before booking." }, { "role": "user", "content": "Plan a trip for 1 passenger(s) from Bangkok to Berlin, departing 2026-11-15...
voxozi/agentforge-multiturn-toolcall
agentic
[ { "role": "user", "content": "Write a Python function that accepts a function `func` and arguments `*args`, and returns a function that calls `func` with the provided arguments and returns the result. This function should be named `call_with_args`.\n\nFor example, given `func = lambda x, y: x + y` and `*arg...
HuggingFaceTB/smoltalk:self-oss-instruct
coding
[ { "role": "system", "content": "You are an expert logical reasoner. Think through the problem carefully.\n\nFormat your response EXACTLY as:\n<think>\n[Break down the problem into components.\nConsider multiple hypotheses if applicable.\nEliminate incorrect paths explicitly.\nBuild toward the conclusion ste...
r0b0tlab/qwen3.8-max-distillation-50k
math
[ { "role": "user", "content": "Rewrite the given sentence to describe the same thing in a positive way.\n\nHe was unable to finish the task." }, { "role": "assistant", "content": "He made progress towards completing the task." } ]
yahma/alpaca-cleaned
direction
[ { "role": "user", "content": "Take the text and rewrite it in the form of a short poem with this rhyme scheme: ABAB.\n\nSpanish explorers named the river that ran through the area Colorado, meaning \"colored red,\" for its muddy, red hue. It eventually became the name of the territory.\n\nColorado is nickna...
HuggingFaceH4/no_robots
direction
[ { "role": "system", "content": "You are an expert software engineer. Write complete, correct, runnable code.\n\nFormat your response EXACTLY as:\n<think>\n[Analyze the problem, consider edge cases, choose your approach,\nexplain your algorithm and data structure choices.]\n</think>\n\n```python\n[Complete, ...
r0b0tlab/qwen3.8-max-distillation-50k
math
[ { "role": "user", "content": "Here is a Python function that is supposed to compute the factorial of a non‑negative integer using recursion: ```python def factorial(n): if n == 0: return 1 else: return n * factorial(n-1) ``` When I call `factorial(5)` it returns 120, which is correct, but calling `factorial...
ianncity/GLM-5.2-Conversation
agentic
[ { "role": "system", "content": "You are an AI assistant. You will be given a task. You must generate a detailed and long answer." }, { "role": "user", "content": "Answer a question about this article:\nIn 1920 French Equatorial Africa was established and Ubangi-Shari was administered from Brazza...
HuggingFaceTB/smoltalk:openhermes-100k
direction
[ { "role": "system", "content": "You are a travel-planning agent. You can search and book flights and hotels, and check weather forecasts. Always confirm itinerary details before booking." }, { "role": "user", "content": "Plan a trip for 3 passenger(s) from Cape Town to Hong Kong, departing 2026-...
voxozi/agentforge-multiturn-toolcall
agentic
[ { "role": "system", "content": "The assistant should respond to inquiries with a numbered list of steps" }, { "role": "user", "content": "Who was the winner of the Grammy for the best album in 2020?" }, { "role": "assistant", "content": "The winner of the Grammy for Best Album in 202...
HuggingFaceTB/smoltalk:systemchats-30k
direction
[ { "role": "user", "content": "Square $M$ has an area of $100 \\mathrm{~cm}^{2}$. The area of square $N$ is four times the area of square $M$. The perimeter of square $N$ is\n(A) $160 \\mathrm{~cm}$\n(B) $400 \\mathrm{~cm}$\n(C) $80 \\mathrm{~cm}$\n(D) $40 \\mathrm{~cm}$\n(E) $200 \\mathrm{~cm}$" }, { ...
open-r1/OpenR1-Math-220k
math