messages
listlengths
2
37
source
stringclasses
25 values
bucket
stringclasses
4 values
[ { "role": "user", "content": "You are given a Python code snippet that processes astronomical data using the NumPy library. The code snippet calculates the median of a specific window of data and then normalizes the flux data based on this median. Your task is to implement a function that achieves the same ...
ise-uiuc/Magicoder-OSS-Instruct-75K
coding
[ { "role": "user", "content": "Melly's two cats each have litters of kittens at the same time. The first cat has 3 blue-eyed kittens and 7 brown-eyed kittens. The second cat has 4 blue-eyed kittens and 6 brown-eyed kittens. What percentage of all the kittens have blue eyes?" }, { "role": "assistant",...
HuggingFaceTB/smoltalk:metamathqa-50k
math
[ { "role": "user", "content": "1. Find the number of all different solutions to the equation\n\n$$\nx_{1}+x_{2}+\\ldots+x_{n}=k\n$$\n\n( $k$ and $n$ are given numbers) in the set $\\mathbb{N}$." }, { "role": "assistant", "content": "To find the number of different solutions to the equation \\( x_...
open-r1/OpenR1-Math-220k
math
[ { "role": "user", "content": "Max has 8 children and each of his children has the same number of children as he does except for 2 who have 5 children each. How many grandchildren does he have?" }, { "role": "assistant", "content": "Out of his 8 children, 2 have only 5 children so the rest who ha...
openai/gsm8k:main
math
[ { "role": "user", "content": "Output a list of a different kind of fruits" }, { "role": "assistant", "content": "Here is a list of different types of fruits: \n\n1. Apples \n2. Oranges \n3. Bananas \n4. Pineapples \n5. Mangoes \n6. Peaches \n7. Pears \n8. Lemons \n9. Grapefruits \n10. Kiwis\n11....
yahma/alpaca-cleaned
direction
[ { "role": "system", "content": "You are an email assistant. You can search, read, send, reply, and forward. Always read an email before replying or forwarding." }, { "role": "user", "content": "Find the most recent email matching 'Weekly status report', read it, summarize it, then forward it to ...
voxozi/agentforge-multiturn-toolcall
agentic
[ { "role": "user", "content": "Which is the most appropriate customer support category for this scenario? Category options: Telephone Support, In-person Support, Email Support\n\nMy electricity is out, but I paid my bill on time. Everyone else on my street still has power. My phone is dead, and I can't charg...
HuggingFaceH4/no_robots
direction
[ { "role": "user", "content": "Jimin got (a) box and (b) box for presents. When a (a) box is lighter than a (b) box, which box is a lighter box?" }, { "role": "assistant", "content": "If a (a) box is lighter than a (b) box, then the (a) box is the lighter box." } ]
microsoft/orca-math-word-problems-200k
math
[ { "role": "user", "content": "Write a JavaScript program to remove all characters from a string that appear more than three times consecutively. If a character appears exactly three times consecutively, it should be kept in the final result. \n\nstring = \"abbbccdddeee\"" }, { "role": "assistant", ...
nickrosh/Evol-Instruct-Code-80k-v1
coding
[ { "role": "user", "content": "You are given a graph representing a network of rooms in a building. Each room is labeled with a unique integer identifier. The graph is represented as an adjacency list, where each key-value pair in the dictionary `rooms` represents a room and the rooms it is connected to. For...
ise-uiuc/Magicoder-OSS-Instruct-75K
coding
[ { "role": "system", "content": "You are a helpful, precise assistant. Follow instructions exactly.\n\nFormat your response as:\n<think>\n[Understand what is being asked. Identify constraints and requirements.\nPlan your response structure.]\n</think>\n\n[Your complete, well-structured response following all...
r0b0tlab/qwen3.8-max-distillation-50k
math
[ { "role": "user", "content": "How many vertices are there in a regular icosahedron-shaped box?" }, { "role": "assistant", "content": "A regular icosahedron is a polyhedron with 20 identical equilateral triangular faces, 30 edges, and 12 vertices. So, a regular icosahedron-shaped box would have 1...
microsoft/orca-math-word-problems-200k
math
[ { "role": "user", "content": "Create a Python function `thread_init` that creates a daemon thread that waits for an object to be initialized. When the object is initialized, the thread should terminate. The function should return the initialized object." }, { "role": "assistant", "content": "To ...
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": "Calculate the density of barium sulfate ($\\text{BaSO}_{4}$) with a molecular weight of 233.39 g/mol, assuming a sample with a mass of 5 g occupies a volume of 3 mL." }, { "role": "assistant", "content": "To calculate the density of barium sulfate, we can use the fo...
HuggingFaceTB/smoltalk:openhermes-100k
direction
[ { "role": "user", "content": "Shelly and Sam love to go deep sea fishing for swordfish. Each time they go deep sea fishing, Shelly catches 2 less than five swordfish, and Sam catches one less swordfish than Shelly. If Sam and Shelly go fishing 5 times, how many swordfish do they catch in total?" }, { ...
HuggingFaceTB/smoltalk:metamathqa-50k
math
[ { "role": "user", "content": "Write a tweet about wanting gun laws in the United States" }, { "role": "assistant", "content": "Gun control is needed here in the US!! Mental health is crucial, and not everyone should own a gun. We don't need assault rifles, people, get a shotgun to protect yourse...
HuggingFaceH4/no_robots
direction
[ { "role": "user", "content": "4. (8 points) As shown in the figure, semi-circular lace is attached around a square with a side length of 10 decimeters. The number of circular paper pieces needed is ( ).\nA. 8\nB. 40\nC. 60\nD. 80" }, { "role": "assistant", "content": "The problem involves determ...
open-r1/OpenR1-Math-220k
math
[ { "role": "system", "content": "You are an AI chatbot that can order food. Collaborate with various food delivery platforms to place orders as per user's request" }, { "role": "user", "content": "Can you help me post a new status on my Facebook profile? I want it to say: \"Enjoying a beautiful s...
HuggingFaceTB/smoltalk:systemchats-30k
direction
[ { "role": "user", "content": "Make a hyper detailed agents.md file that tells whoever is reading it (an AI agent) the following. 1. Never use placeholders/examples 2. Never use comments, but describe each function throughly in docs/functions.md for quick loopkups. 3. Keep a hyper detailed journal in journal...
AnkitAI/fable-5-traces-sft-chatml
agentic
[ { "role": "user", "content": "Rewrite the passage from the perspective of the mother who the child is talking about\n\nIt may have been that mother was responsible. Being a school-teacher she had no doubt read books and magazines. She had, I presume, read of how Garfield, Lincoln, and other Americans rose f...
HuggingFaceH4/no_robots
direction
[ { "role": "user", "content": "Hoseok had 576 marbles, and Yoongi had 352. If Hoseok gives Yoongi 100 marbles, who has more marbles?" }, { "role": "assistant", "content": "If Hoseok gives Yoongi 100 marbles, then Hoseok will have:\n\n576 - 100 = 476 marbles\n\nAnd Yoongi will have:\n\n352 + 100 =...
microsoft/orca-math-word-problems-200k
math
[ { "role": "user", "content": "Write a Python function `get_num_students_by_course` that takes in a dictionary of the form `{course_id: [student_id_1, student_id_2, ..., student_id_n], ...}` and returns a dictionary `{course_id: num_students_registered, ...}`. The function should iterate through the dictiona...
HuggingFaceTB/smoltalk:self-oss-instruct
coding
[ { "role": "user", "content": "What is the sum of the first four terms of an arithmetic sequence if the fifth, sixth, and seventh terms are 5, 9, and 13, respectively?" }, { "role": "assistant", "content": "Let the first term of the arithmetic sequence be $a$ and the common difference be $d$.\nTh...
HuggingFaceTB/smoltalk:metamathqa-50k
math
[ { "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": "system", "content": "You are an AI chatbot that should only provide scientific facts and avoid any opinion-based statements." }, { "role": "user", "content": "I'm working on a novel about a time-traveling historian who gets stuck in medieval times. Can you help me come up with a uniqu...
HuggingFaceTB/smoltalk:systemchats-30k
direction
[ { "role": "user", "content": "You are given a list of integers representing the scores of a game. The scores are arranged in ascending order. Your task is to implement a function `highestScoreIndex` that takes in the list of scores and returns the index of the player with the highest score. If there are mul...
ise-uiuc/Magicoder-OSS-Instruct-75K
coding
[ { "role": "user", "content": "capital of France" }, { "role": "assistant", "content": "Paris." } ]
assistant-seeds
direction
[ { "role": "system", "content": "You are an AI role-playing as an ingenious inventor in a steampunk world." }, { "role": "user", "content": "Can you help me check the status of my Amazon order with tracking number 123456789?" }, { "role": "assistant", "content": "Apologies for any con...
HuggingFaceTB/smoltalk:systemchats-30k
direction
[ { "role": "user", "content": "Calculate the estimated time it would take to reach a destination driving at a speed of 80 miles per hour.\n\nDistance: 400 miles" }, { "role": "assistant", "content": "If you are driving at a constant speed of 80 miles per hour, it would take approximately 5 hours ...
yahma/alpaca-cleaned
direction
[ { "role": "user", "content": "Two trains leave different stations at the same time and travel towards each other. Train A travels at 60 mph, while train B travels at 80 mph. They pass each other after 2 hours. How far apart were the stations?" }, { "role": "assistant", "content": "To solve this ...
teknium/OpenHermes-2.5
direction
[ { "role": "user", "content": "What are some good gaming headsets if I have an Xbox?" }, { "role": "assistant", "content": "Here are some good options for Xbox headsets:\n\n- SteelSeries Arctis Nova Pro Wireless for Xbox: This is a premium wireless headset with superb audio quality and great comf...
HuggingFaceH4/no_robots
direction
[ { "role": "user", "content": "Which player on the team has the most experience in the league?" }, { "role": "assistant", "content": "I do not have access to current real-time data. However, you can find the answer by looking up the roster of the team in question and finding the player with the h...
HuggingFaceH4/ultrachat_200k
direction
[ { "role": "user", "content": "Create a CSS style to set the background color of a div class \"sample\" to a random color from a pre-defined list of colors. Additionally, the background color should change every time the page is refreshed or the div is clicked. However, the random color generated should be a...
nickrosh/Evol-Instruct-Code-80k-v1
coding
[ { "role": "user", "content": "Write a short, melancholic poem (8 lines) about a lighthouse that has lost its light during a storm, using a rhyming couplet scheme (AA BB CC DD). The poem should evoke a sense of longing and resilience, and you may include nautical imagery." }, { "role": "assistant", ...
ianncity/GLM-5.2-Conversation
agentic
[ { "role": "user", "content": "Write a limerick about Twitter. Make it short enough to fit in a tweet." }, { "role": "assistant", "content": "So, you have an eye-catching post.\nAnd followers, you'll get the most.\nYou posted on Twitter.\nIt made you so chipper,\nThat so many your words did engro...
HuggingFaceH4/no_robots
direction
[ { "role": "user", "content": "You will be given a definition of a task first, then some input of the task.\nIn this task, you are given a sentence in Persian, and your task is to translate it into English.\n\nکپی‌رایت Demotix (۶/۸/۲۰۱۱)\nOutput:" }, { "role": "assistant", "content": "Copyright D...
Open-Orca/SlimOrca
direction
[ { "role": "user", "content": "Add a condition to the following code in Python to check if the given number is prime. If it is, print \"Prime\". If it is not prime, print \"Not Prime\".\nnum = 5" }, { "role": "assistant", "content": "Here's the code with the added condition to check if the given ...
nickrosh/Evol-Instruct-Code-80k-v1
coding
[ { "role": "user", "content": "ATMOX LED Lighting is designed for use in an attic, crawlspace, garage or other area.\nATMOX LED lights are 12VDC low voltage and connect to power in same manner as ATMOX fans.\nLights will require a power source such as select ATMOX controllers, power supply or AC Adapter.\nTo...
HuggingFaceH4/ultrachat_200k
direction
[ { "role": "user", "content": "There is a parallelogram that has a base of 3.6 and a height of 2.5 times the base. Find the area of this parallelogram." }, { "role": "assistant", "content": "To find the area of a parallelogram, you use the formula:\n\nArea = base × height\n\nGiven that the base o...
microsoft/orca-math-word-problems-200k
math
[ { "role": "user", "content": "If the highest score in the math test is 98 and the range of the scores is 75, and Mark's score is twice as much as the least score, what was Mark's score?" }, { "role": "assistant", "content": "The range of the scores is the difference between the highest score and...
HuggingFaceTB/smoltalk:metamathqa-50k
math
[ { "role": "user", "content": "What can you do?" }, { "role": "assistant", "content": "I can write and review code, help with math, summarize or draft text, break down plans, and answer questions. Paste the problem or goal and I'll dig in." }, { "role": "user", "content": "Plan how to...
assistant-seeds
direction
[ { "role": "user", "content": "Given the function f(x) = e<sup>x</sup> + $\\frac{3}{x}$, the acute angle of the tangent line to the graph of the function at the point (1, f(1)) is ( ).\nA: $\\frac{π}{2}$\nB: 0\nC: Acute angle\nD: Obtuse angle" }, { "role": "assistant", "content": "Since f(x) =...
HuggingFaceTB/smoltalk:numina-cot-100k
math
[ { "role": "user", "content": "Given an input string `s`, write a Python function `generate_sha1_dict(s)` to generate a dictionary of characters to their SHA1 digests. The function should return a dictionary where keys are the characters in the string and values are their respective SHA1 digests. The functio...
HuggingFaceTB/smoltalk:self-oss-instruct
coding
[ { "role": "user", "content": "You are tasked with creating a Python GUI application using the tkinter library. The application should consist of a main window with a single frame inside it. The main window should have its first column and first row configured to expand and fill any available space, while th...
ise-uiuc/Magicoder-OSS-Instruct-75K
coding
[ { "role": "user", "content": "A psychiatrist has 4 patients that need 25 sessions in total. One of the patients needs 6 sessions. Another patient needs 5 more than that. How many sessions would the remaining patients need?" }, { "role": "assistant", "content": "The second patient needs 6+5 = 11 ...
TIGER-Lab/MathInstruct
math
[ { "role": "assistant", "content": "[calling tools]\n[{\"id\": \"call_1\", \"type\": \"function\", \"function\": {\"name\": \"Edit\", \"arguments\": \"{\\\"replace_all\\\": false, \\\"file_path\\\": \\\"/home/lane/MythosMini/ralph.py\\\", \\\"old_string\\\": \\\" if retry_after is not None:\\\\n ra...
AnkitAI/fable-5-traces-sft-chatml
agentic
[ { "role": "user", "content": "Jungkook collected 585 (a) items, and the number of (a) items is 249 more than (b) items. What is the sum of the items (a) and (b) that Jungkook has gathered?" }, { "role": "assistant", "content": "Let's denote the number of (a) items as A and the number of (b) item...
microsoft/orca-math-word-problems-200k
math
[ { "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 USB-C hub under $100. Find me options, pick the...
voxozi/agentforge-multiturn-toolcall
agentic
[ { "role": "system", "content": "You are a tutoring AI chatbot, you should always encourage learning and never provide direct answers to homework problems." }, { "role": "user", "content": "Can you help me locate the closest grocery store to my current location?" }, { "role": "assistant",...
HuggingFaceTB/smoltalk:systemchats-30k
direction
[ { "role": "user", "content": "What is the largest five-digit number divisible by 8?" }, { "role": "assistant", "content": "To find the largest five-digit number divisible by 8, we need to find the largest five-digit number and then find the closest number to it that is divisible by 8.\n\nThe lar...
microsoft/orca-math-word-problems-200k
math
[ { "role": "user", "content": "How many diagonals can be drawn from a vertex of a regular decagon?" }, { "role": "assistant", "content": "A regular decagon has 10 sides and therefore 10 vertices. From any given vertex, you can draw a line to every other vertex except for the two adjacent vertices...
microsoft/orca-math-word-problems-200k
math
[ { "role": "system", "content": "You are an SRE assistant. You can list deployments, fetch logs, roll back, scale services, and trigger CI pipelines. Always inspect logs before rolling back." }, { "role": "user", "content": "Our billing-worker in staging is throwing 500s. Pull recent deployments,...
voxozi/agentforge-multiturn-toolcall
agentic
[ { "role": "user", "content": "You are tasked with implementing a compose function in JavaScript that takes in an arbitrary number of functions as arguments and returns a new function that applies each of the input functions in reverse order. The compose function should be able to handle functions with varyi...
ise-uiuc/Magicoder-OSS-Instruct-75K
coding
[ { "role": "user", "content": "To eat to when she gets full, Michaela needs 20 oranges. Cassandra needs twice as many oranges as Michaela to eat until she gets full. If they picked 90 oranges from the farm today, how many oranges would remain after they've both eaten until they were full?" }, { "role...
openai/gsm8k:main
math
[ { "role": "user", "content": "These instructions apply to section-based themes (Responsive 6.0+, Retina 4.0+, Parallax 3.0+ Turbo 2.0+, Mobilia 5.0+). What theme version am I using?\nOn your Collections pages & Featured Collections sections, you can easily show the secondary image of a product on hover by e...
HuggingFaceH4/ultrachat_200k
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": "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": "There are 6 more women than there are men on a local co-ed softball team. If there are a total of 16 players on the team, what is the ratio of men to women?\nAnswer Choices: (A) 10/16 (B) 6/16 (C) 4/16 (D) 6/10 (E) 5/11 Let's write a Python program." }, { "role": "assis...
TIGER-Lab/MathInstruct
math
[ { "role": "user", "content": "Write a Python function named `split_and_recombine_string` that takes a string as an argument and returns a new string that is the result of splitting the original string into a list of words, reversing the order of the words, and then combining them into a new string. For exam...
HuggingFaceTB/smoltalk:self-oss-instruct
coding
[ { "role": "user", "content": "Can you describe the historical and cultural significance of the Acropolis in Athens, Greece?" }, { "role": "assistant", "content": "The Acropolis is an iconic monument in Athens, Greece, and holds immense historical and cultural significance. It is a hilltop citade...
HuggingFaceH4/ultrachat_200k
direction
[ { "role": "user", "content": "You are tasked with implementing a parser for a stored identity buffer. The identity buffer contains a series of identity functions that need to be parsed and executed to retrieve the final identity value. Each identity function is represented as a string in the format \"f(x)\"...
ise-uiuc/Magicoder-OSS-Instruct-75K
coding
[ { "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": "Generate a random password of 6 characters in length using only capital letters and numbers." }, { "role": "assistant", "content": "Here is a random password that meets the criteria: `A3J6K9`" } ]
yahma/alpaca-cleaned
direction
[ { "role": "user", "content": "Write a Python function that takes a text string `text` and a pattern string `pattern`, and returns the starting index of the first occurrence of the pattern in the text. The pattern matching should be case-sensitive.\n\nYour code should pass the following test case:\n```python...
HuggingFaceTB/smoltalk:self-oss-instruct
coding
[ { "role": "system", "content": "You are an AI assistant. User will you give you a task. Your goal is to complete the task as faithfully as you can. While performing the task think step-by-step and justify your steps." }, { "role": "user", "content": "Summarize this article:\n\nThe Scottish gover...
Open-Orca/SlimOrca
direction
[ { "role": "user", "content": "Create a Python function to measure the performance of another function and return a tuple of two elements. The first element is the elapsed time in seconds, and the second element is the result of the function call. The function should take in another function and its position...
HuggingFaceTB/smoltalk:self-oss-instruct
coding
[ { "role": "user", "content": "James has 7 apples in total, with 4 of them being red and 3 of them being green. If he randomly selects 2 apples, what is the probability that both of the chosen apples are green?" }, { "role": "assistant", "content": "There are a total of $\\binom{7}{2} = 21$ ways ...
HuggingFaceTB/smoltalk:metamathqa-50k
math
[ { "role": "user", "content": "I want a Python function that accepts a list of objects and returns a list of the same objects filtered for the `name` attribute that is not `None`. The function should be compatible with Python 2 and 3, and use Pythonic idioms." }, { "role": "assistant", "content":...
HuggingFaceTB/smoltalk:self-oss-instruct
coding
[ { "role": "user", "content": "Rewrite the following code to use a for-else statement. \narr = [1, 2, 3, 4]\n\nfor i in range(len(arr)):\n print(arr[i])\nelse:\n print(\"The loop has finished iterating over the array.\")\n \n#Updated Test#" }, { "role": "assistant", "content": "arr = [1,...
nickrosh/Evol-Instruct-Code-80k-v1
coding
[ { "role": "user", "content": "Write a short friendly introduction for a 6 year old audience about a new playground that features a slide a sandbox and a climbing wall. Use simple language and keep the reading level low." }, { "role": "assistant", "content": "Hello friends! Are you ready for fun?...
ianncity/GLM-5.2-Conversation
agentic
[ { "role": "user", "content": "The 3/10 of a number is 12. Find what 1/5 of that number is." }, { "role": "assistant", "content": "To find the original number, we can set up an equation using the information given:\n\n(3/10) * number = 12\n\nNow, we can solve for the number:\n\nnumber = 12 / (3/1...
microsoft/orca-math-word-problems-200k
math
[ { "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": "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": "Who were the original 5 members of the Grateful Dead?" }, { "role": "assistant", "content": "The original 5 members of the Grateful Dead were Jerry Garcia, Bob Weir, Phil Lesh, Bill Kreutzmann, and Ron \"Pigpen\" McKernan" } ]
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": "Given the arithmetic sequence $\\{{a_n}\\}$, where $a_2 = -6$ and $a_8 = -18$, find the common difference $d=$ ________ and the formula for the $n^{th}$ term $a_n=$ ________." }, { "role": "assistant", "content": "Step 1: Set up equations based on given information\...
HuggingFaceTB/smoltalk:numina-cot-100k
math
[ { "role": "user", "content": "I'm learning microservices with Node and Go. I'm now having a problem querying all users from a Postgres database using Gorm. I usually query like this to get all users and it works:\n\n```go\n// Fetch connection and close db\ndb := InitPg()\ndefer db.Close()\n\n// Create an ar...
HuggingFaceTB/smoltalk:openhermes-100k
direction
[ { "role": "user", "content": "Create a Python function `remove_values` that takes a list of integers and a target value, and return a new list with all occurrences of the target value removed. Do not modify the original list.\n\nInput examples:\n\n```python\nremove_values([1, 3, 5, 5, 6], 5) -> [1, 3, 6]\nr...
HuggingFaceTB/smoltalk:self-oss-instruct
coding
[ { "role": "user", "content": "Classify the type of poetry feature of the following text and give its definition:\n\nI saw a little hermit crab\nHis coloring was oh so drab" }, { "role": "assistant", "content": "This text is a rhyming couplet. A rhyming couplet is a feature in many forms of poetr...
HuggingFaceH4/no_robots
direction
[ { "role": "user", "content": "Write a Python function `is_all_true` that takes any number of arguments and returns `True` only if all of them are true.\n\nYour code should pass the following test case:\n```python\nvalues = [True, True, False, True]\nassert not is_all_true(*values)\n```" }, { "role":...
HuggingFaceTB/smoltalk:self-oss-instruct
coding
[ { "role": "system", "content": "Explain how you used the definition to come up with the answer." }, { "role": "user", "content": "Definition: In this task, you will be shown a conversation and a question. You need to answer the question and choose the correct option based on the conversation. \"...
HuggingFaceTB/smoltalk:openhermes-100k
direction
[ { "role": "user", "content": "Write a function that takes a string and returns a dictionary counting each unique character in the string. The function should only count alphabetical characters and ignore any non-alphabetical characters. The returned dictionary should be sorted in descending order based on t...
nickrosh/Evol-Instruct-Code-80k-v1
coding
[ { "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": "Write a Python function named `add_positive_numbers` that takes two integers and returns their sum. The function should have two positional-only arguments, both of which must be positive integers. If any of the arguments are negative, the function should raise a `ValueError` wi...
HuggingFaceTB/smoltalk:self-oss-instruct
coding
[ { "role": "user", "content": "Where did Gretel attend primary school?" }, { "role": "assistant", "content": "Gretel Beer attended primary school in Marchegg, in east of Vienna." } ]
databricks/databricks-dolly-15k
direction
[ { "role": "user", "content": "You are tasked with implementing a class that manages assets files in a mobile application. The class, `AssetsFile`, is responsible for handling the length of the asset file. The `AssetsFile` class has a member variable `m_file` of type `AAsset*`, which represents the asset fil...
ise-uiuc/Magicoder-OSS-Instruct-75K
coding
[ { "role": "user", "content": "The negation of the proposition \"The cube of every odd number is odd\" is ( )\n\nA: The cube of every odd number is not odd \nB: There is no odd number whose cube is even \nC: There exists an odd number whose cube is even \nD: There is no odd number whose cube is odd" }, ...
HuggingFaceTB/smoltalk:numina-cot-100k
math
[ { "role": "user", "content": "In a board game, the spinner is divided into three regions labeled A, B, and C. The probability of the arrow stopping on region A is 1/2, and on region B is 1/5. What is the probability of the arrow stopping on region C, expressed as a common fraction?" }, { "role": "as...
HuggingFaceTB/smoltalk:metamathqa-50k
math
[ { "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": "Who was the United Kingdom's longest-serving prime minister?" }, { "role": "assistant", "content": "Sir Robert Walpole is the longest-serving prime minister of the United Kingdom to date. He had a single term as prime minister, which began in 1721 and ended after al...
HuggingFaceH4/no_robots
direction
[ { "role": "system", "content": "You are an AI assistant. Provide a detailed answer so user don’t need to search outside to understand the answer." }, { "role": "user", "content": "Q:Question: What do Holden and Karswell mock? If there is no answer, please output \"Insufficient information to pro...
Open-Orca/SlimOrca
direction
[ { "role": "user", "content": "Walter has exactly one penny, one nickel, one dime and one quarter in his pocket. What percent of one dollar is in his pocket?\n$\\text{(A)}\\ 4\\% \\qquad \\text{(B)}\\ 25\\% \\qquad \\text{(C)}\\ 40\\% \\qquad \\text{(D)}\\ 41\\% \\qquad \\text{(E)}\\ 59\\%$" }, { "r...
open-r1/OpenR1-Math-220k
math
[ { "role": "user", "content": "You are working as a DevOps engineer for a company that uses Nginx as its web server. Your task is to automate the configuration of Nginx by replacing certain placeholders in the configuration file with actual values. You have a script that uses the `sed` command to perform the...
ise-uiuc/Magicoder-OSS-Instruct-75K
coding
[ { "role": "assistant", "content": "[calling tools]\n[{\"id\": \"call_1\", \"type\": \"function\", \"function\": {\"name\": \"Edit\", \"arguments\": \"{\\\"replace_all\\\": false, \\\"file_path\\\": \\\"D:\\\\\\\\project-5\\\\\\\\js\\\\\\\\maps.js\\\", \\\"old_string\\\": \\\" 'T........pp..........T'.s...
AnkitAI/fable-5-traces-sft-chatml
agentic
[ { "role": "user", "content": "Write a Python function `get_service_name` that generates a service name based on a given prefix string. The function should accept one optional parameter `suffix` that, when provided, is concatenated to the end of the prefix. The default value of `suffix` should be an empty st...
HuggingFaceTB/smoltalk:self-oss-instruct
coding
[ { "role": "user", "content": "how many points ( x , y ) lie on the line segment between ( 22 , 12 2 / 3 ) and ( 16 , 17 2 / 3 ) such that x and y are both integers ? Let's write a Python program." }, { "role": "assistant", "content": "n0 = 22.0\nn1 = 12.0\nn2 = 2.0\nn3 = 3.0\nn4 = 16.0\nn5 = 17....
TIGER-Lab/MathInstruct
math
[ { "role": "user", "content": "Modify the original statement to assign the value of \"string\" to the variable \"output\", but with all characters converted to uppercase and reversed. Print the value of the \"output\" variable." }, { "role": "assistant", "content": "output = string.upper()[::-1]\...
nickrosh/Evol-Instruct-Code-80k-v1
coding
[ { "role": "assistant", "content": "opencode 1.16.2 installed. Check which minimax provider is configured locally.\n[calling tools]\n[{\"id\": \"call_1\", \"type\": \"function\", \"function\": {\"name\": \"Bash\", \"arguments\": \"{\\\"command\\\": \\\"opencode models 2>/dev/null | grep -i minimax; cat ~/.co...
AnkitAI/fable-5-traces-sft-chatml
agentic
[ { "role": "user", "content": "Here is a piece of text: Our list of emerging applications that grew by monthly active users this week included several apps featuring Islam-oriented greeting cards, friend quiz apps in several languages, photo apps and a few social network integrations. The apps on our list gr...
HuggingFaceH4/ultrachat_200k
direction