messages listlengths 2 37 | source stringclasses 25
values | bucket stringclasses 4
values |
|---|---|---|
[
{
"role": "user",
"content": "When was the first bicycle race?"
},
{
"role": "assistant",
"content": "It's commonly believed that the first bicycle race was held May 31, 1868 at the Parc de Saint-Cloud, Paris, France. The race distance was 1,200 m and was won by James Moore, an expatriate Engli... | databricks/databricks-dolly-15k | direction |
[
{
"role": "user",
"content": "You are tasked with implementing a function to convert timestamps from different formats to a standardized format. The function should take a timestamp as input and return the timestamp in milliseconds since UNIX epoch.\n\nYou are given the following information:\n- Time can be... | ise-uiuc/Magicoder-OSS-Instruct-75K | coding |
[
{
"role": "user",
"content": "Given that the function $y=f(x)$ is an even function on $\\mathbb{R}$, and $f(x)$ is a decreasing function on $[0, +\\infty)$, if $f(a) \\geq f(-2)$, then the range of values for $a$ is ( )\n\nA: $a \\leq -2$\n\nB: $a \\geq 2$\n\nC: $a \\leq -2$ or $a \\geq 2$\n\nD: $-2 \\leq ... | HuggingFaceTB/smoltalk:numina-cot-100k | math |
[
{
"role": "user",
"content": "You are given a code snippet that reads input from a file, processes the data, and populates a HashMap with certain key-value pairs. Your task is to understand the code and implement a similar functionality using a different programming language.\n\nWrite a program that reads i... | ise-uiuc/Magicoder-OSS-Instruct-75K | coding |
[
{
"role": "user",
"content": "What is the rate constant for the reaction A + B → C if the activation energy is 50 kJ/mol and the temperature is 300 K? Also, predict the order of reaction based on the mechanism proposed."
},
{
"role": "assistant",
"content": "To calculate the rate constant (k) fo... | HuggingFaceTB/smoltalk:openhermes-100k | direction |
[
{
"role": "user",
"content": "You are tasked with implementing a program that processes a list of integers and performs specific operations on them. The program should take a list of integers as input and return a new list with the following modifications:\n1. Remove any duplicate integers from the input li... | ise-uiuc/Magicoder-OSS-Instruct-75K | coding |
[
{
"role": "user",
"content": "Create a haiku poetry with the given theme.\n\nThe beauty of night sky"
},
{
"role": "assistant",
"content": "The silver moonlight,\nEndless stars, a canvas vast,\nNight's art, pure, bright, free."
}
] | yahma/alpaca-cleaned | direction |
[
{
"role": "user",
"content": "A group of security guards were hired for the night shift at a factory. The four guards agreed to a rotating schedule to cover the nine hours of the night shift. The first guard would take three hours since they were still awake, the last guard would wake up early and take two ... | TIGER-Lab/MathInstruct | math |
[
{
"role": "user",
"content": "The length of the red string is 8 meters (m). If the blue string is 8 times the length of the white string and the white string is 5 times the length of the red string, how many meters (m) is the blue string?"
},
{
"role": "assistant",
"content": "First, we need to ... | microsoft/orca-math-word-problems-200k | math |
[
{
"role": "user",
"content": "Randy has 60 mango trees on his farm. He also has 5 less than half as many coconut trees as mango trees. How many trees does Randy have in all on his farm?"
},
{
"role": "assistant",
"content": "Half of the number of Randy's mango trees is 60/2 = <<60/2=30>>30 trees... | openai/gsm8k:main | math |
[
{
"role": "user",
"content": "Can you write a fictional conversation between Bob Dylan and Paul McCartney about sea shells? Can you format it so it reads as their respective dialect sounds? You should do 4 lines of conversation for each person."
},
{
"role": "assistant",
"content": "Bob: Heya Pa... | HuggingFaceH4/no_robots | direction |
[
{
"role": "user",
"content": "John is 10 years old. His sister is twice his age. When he is 50 years old, how old will his sister be?"
},
{
"role": "assistant",
"content": "John is currently 10 years old.\nHis sister is twice his age, so she is 2 * 10 = 20 years old.\nIf John is 50 years old, th... | HuggingFaceTB/smoltalk:metamathqa-50k | math |
[
{
"role": "user",
"content": "Activ D.O.T. Is a water based positive emulsion product manufactured from biodegradable surfactants incorporating a patented blend of detergents formulated to provide an efficient alternative to solvent based cleaners.\nActiv D.O.T. Is designed for use as a general purpose degr... | HuggingFaceH4/ultrachat_200k | direction |
[
{
"role": "user",
"content": "How many vertices are in a pyramid with 10 edges?"
},
{
"role": "assistant",
"content": "A pyramid with a square base has 5 vertices (4 for the base and 1 for the apex) and 8 edges (4 for the base and 4 for the sides). \n\nHowever, you mentioned a pyramid with 10 ed... | microsoft/orca-math-word-problems-200k | math |
[
{
"role": "user",
"content": "Given an array arr, remove all occurrences of the element \"red\" from the array and sort the remaining elements in alphabetical order. The array arr can contain duplicate elements and the sorting should be case-sensitive.\n\nTo solve this problem, follow these steps:\n\n1. Ini... | nickrosh/Evol-Instruct-Code-80k-v1 | coding |
[
{
"role": "user",
"content": "Write the opening stanza of a Shakespearean sonnet (i.e., 14 lines, iambic pentameter, ABAB CDCD EFEF GG rhyme scheme) that introduces a futuristic city where nature and technology are intertwined, and set a hopeful tone for the rest of the poem. Provide only the first eight li... | ianncity/GLM-5.2-Conversation | agentic |
[
{
"role": "user",
"content": "Write a Python function to calculate the number of combinations of $n$ items taken $k$ at a time. Calculate the factorial of a given number.\n\nYour code should pass the following assertions:\n```python\nassert factorial(4) == 24\nassert n_choose_k(5, 2) == 10\n```"
},
{
... | HuggingFaceTB/smoltalk:self-oss-instruct | coding |
[
{
"role": "user",
"content": "Please write a fictional news report about two ducks who robbed a bank. Make them some kind of duck other than mallards. The ducks were not caught."
},
{
"role": "assistant",
"content": "SARASOTA, Fl - Authorities are searching for two unusual bank robbers in Saraso... | HuggingFaceH4/no_robots | direction |
[
{
"role": "assistant",
"content": "[calling tools]\n[{\"id\": \"call_1\", \"type\": \"function\", \"function\": {\"name\": \"PowerShell\", \"arguments\": \"{\\\"command\\\": \\\"if ($env:ANTHROPIC_API_KEY) { \\\\\\\"API key set\\\\\\\" } else { \\\\\\\"no key\\\\\\\" }; pip show numpy 2>$null | Select-Strin... | AnkitAI/fable-5-traces-sft-chatml | agentic |
[
{
"role": "user",
"content": "Develop a Python function that calculates the distance between two points in 2D space using the Pythagorean theorem. Your function should accept two parameters, `p1` and `p2`, where each is a tuple of floats representing the x and y coordinates of a point. Return the distance a... | HuggingFaceTB/smoltalk:self-oss-instruct | coding |
[
{
"role": "user",
"content": "Implement a Python function that takes in an integer and returns an integer. This function performs an operation on the input integer and returns the result. The operation is equivalent to adding the number 1 to the input integer and returning the result.\n\nYour code should pa... | HuggingFaceTB/smoltalk:self-oss-instruct | coding |
[
{
"role": "assistant",
"content": "[calling tools]\n[{\"id\": \"call_1\", \"type\": \"function\", \"function\": {\"name\": \"Bash\", \"arguments\": \"{\\\"command\\\": \\\"grep -n \\\\\\\"def \\\\\\\\|class \\\\\\\\|byte_tokenize\\\\\\\" src/mythosmini/data/packing.py | head; grep -n \\\\\\\"asdict\\\\\\\\|... | AnkitAI/fable-5-traces-sft-chatml | agentic |
[
{
"role": "user",
"content": "The Impressionist art movement emerged in the 19th century France, characterized by small, thin yet visible brush strokes, open composition, emphasis on accurate depiction of light in its changing qualities, ordinary subject matter, and inclusion of movement as a crucial elemen... | teknium/OpenHermes-2.5 | direction |
[
{
"role": "user",
"content": "Compose an SQL query that returns all the rows from a given table, where the table has multiple columns including 'id', 'name', 'quantity', and 'price'. Additionally, include a column called 'discount' which calculates the discount percentage based on the price and quantity. Th... | nickrosh/Evol-Instruct-Code-80k-v1 | coding |
[
{
"role": "system",
"content": "You are an AI detective in a noir-style role-playing game, tasked with helping users solve complex mysteries."
},
{
"role": "user",
"content": "Can you help me find out where my Amazon package is right now?"
},
{
"role": "assistant",
"content": "I'm so... | HuggingFaceTB/smoltalk:systemchats-30k | direction |
[
{
"role": "user",
"content": "Define $\\#N$ by the formula $\\#N = .5(N) + 1$. Calculate $\\#(\\#(\\#50))$."
},
{
"role": "assistant",
"content": "We start by substituting $N=50$ into the formula for $\\#N$:\n\\[\\#50 = .5(50) + 1 = 25 + 1 = 26.\\]\nNext, we substitute $N=26$ into the formula fo... | HuggingFaceTB/smoltalk:metamathqa-50k | math |
[
{
"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": "system",
"content": "Your responses should be formatted as multiple choice options for the user."
},
{
"role": "user",
"content": "I need you to help me create a PowerPoint presentation summarizing our quarterly sales report. It should include charts showing profits and losses, a comp... | HuggingFaceTB/smoltalk:systemchats-30k | direction |
[
{
"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": "The sequence is $-1$, $\\frac{4}{3}$, $-\\frac{9}{5}$, $\\frac{16}{7}$, $...$ and its general term formula is $(\\quad)$.\nA: $a_{n}=(-1)^{n} \\cdot \\frac{n^{2}}{2n-1}$\nB: $a_{n}=(-1)^{n} \\cdot \\frac{n(n+1)}{2n-1}$\nC: $a_{n}=(-1)^{n} \\cdot \\frac{n^{2}}{2n+1}$\nD: $a_{n}=... | HuggingFaceTB/smoltalk:numina-cot-100k | math |
[
{
"role": "user",
"content": "Create a Python function to filter the given geographical data based on a bounding box. The function should take four arguments: `data` (a list of geographical data), `min_lon` (minimum longitude), `max_lon` (maximum longitude), `min_lat` (minimum latitude), `max_lat` (maximum ... | HuggingFaceTB/smoltalk:self-oss-instruct | coding |
[
{
"role": "user",
"content": "Eastern rattlesnakes have 6 segments in their tails, while Western rattlesnakes have 8 segments. What is the percentage difference in their tail size, expressed as a percentage of the Western rattlesnake's tail size? Let's write a program."
},
{
"role": "assistant",
... | TIGER-Lab/MathInstruct | math |
[
{
"role": "user",
"content": "You are tasked with implementing a function to process trajectories from a reinforcement learning environment. The function `build_train_set` takes in a list of trajectories and returns a processed training set. Each trajectory is a list of tuples, where each tuple represents a... | ise-uiuc/Magicoder-OSS-Instruct-75K | coding |
[
{
"role": "assistant",
"content": "Update tests for the new loop:\n[calling tools]\n[{\"id\": \"call_1\", \"type\": \"function\", \"function\": {\"name\": \"Edit\", \"arguments\": \"{\\\"replace_all\\\": false, \\\"file_path\\\": \\\"/home/lane/MythosMini/tests/test_ralph_helpers.py\\\", \\\"old_string\\\":... | AnkitAI/fable-5-traces-sft-chatml | agentic |
[
{
"role": "user",
"content": "The area of one lateral face of a right pyramid with an equilateral triangular base is 75 square meters. If the slant height is 30 meters, what is the length of the side of its base, in meters?"
},
{
"role": "assistant",
"content": "The area of one lateral face of a... | HuggingFaceTB/smoltalk:metamathqa-50k | math |
[
{
"role": "user",
"content": "Write a SQL query to list the names of all members who have not made a payment in the last 6 months, and also include the number of months and days since their last payment.\n\nTable: members\nFields: member_id, name, last_payment_date\n\nNote: The number of months and days sin... | nickrosh/Evol-Instruct-Code-80k-v1 | coding |
[
{
"role": "system",
"content": "You are a digital assistant that helps users navigate the process of filing their taxes online"
},
{
"role": "user",
"content": "Can you provide me with information on how to get in touch with my local government representative in Boston, Massachusetts?"
},
{
... | HuggingFaceTB/smoltalk:systemchats-30k | direction |
[
{
"role": "user",
"content": "Come up with a rhyming story (under 200 words) with a theme of California Poppies as sun worshippers"
},
{
"role": "assistant",
"content": "Orange like the sun, and round just like it too, the California Poppy knew exactly what to do. When the rays touched its petal... | HuggingFaceH4/no_robots | direction |
[
{
"role": "user",
"content": "3 lions and 2 rhinos escape from the zoo. If it takes 2 hours to recover each animal how long did the zoo spend recovering animals?"
},
{
"role": "assistant",
"content": "There are 3 lions and 2 rhinos, so a total of 3 + 2 = 5 animals escaped from the zoo.\nIt take... | HuggingFaceTB/smoltalk:openhermes-100k | 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": "You are given a snippet of x86 assembly code, which is part of a larger program. The code snippet is as follows:\n\n```\n ii(0x100c_e183, 5); call(0x1007_02b9, -0x5_decf); /* call 0x100702b9 */\n ii(0x100c_e188, 3); test(ax, ax); ... | ise-uiuc/Magicoder-OSS-Instruct-75K | coding |
[
{
"role": "user",
"content": "I would like to visit an island in the Mediterranean that is not super touristy but has a nice place to stay and beautiful beaches. What would you recommend? Can I have at least 3 options and can you explain briefly why they are good choices?"
},
{
"role": "assistant",
... | HuggingFaceH4/no_robots | direction |
[
{
"role": "user",
"content": "Show me how to convert an array of names to lowercase in Ruby. Use names = [\"Alice\", \"BOB\", \"Charlie\"] as an example."
},
{
"role": "assistant",
"content": "lowercase_names = names.map{ |name| name.downcase }"
}
] | HuggingFaceH4/no_robots | direction |
[
{
"role": "user",
"content": "Calculate:<br/>$(1)\\left(-2\\right)^{2}+|-4|-18×(-\\frac{1}{3})$;<br/>$(2)2(3a^{2}b-2ab^{2})-4(-ab^{2}+a^{2}b)$."
},
{
"role": "assistant",
"content": "For the given problems, let's break them down step-by-step:\n\n### Problem 1:\nCalculate: $(1)\\left(-2\\right)^{... | HuggingFaceTB/smoltalk:numina-cot-100k | math |
[
{
"role": "user",
"content": "Stan laurel, Mickey Rooney, Lana Turner what in common"
},
{
"role": "assistant",
"content": "8 marriages"
}
] | databricks/databricks-dolly-15k | direction |
[
{
"role": "user",
"content": "Why do cooks use kosher salt?"
},
{
"role": "assistant",
"content": "Many cooks prefer kosher salt because it has larger grains which makes it easier to pinch as well as to sprinkle more evenly across food. Additionally when you purchase a particular brand of koshe... | databricks/databricks-dolly-15k | direction |
[
{
"role": "user",
"content": "Describe how photosynthesis works in three sentences."
},
{
"role": "assistant",
"content": "Photosynthesis is a process in which plants, algae, and some bacteria convert sunlight, carbon dioxide, and water into glucose and oxygen. During this process, light energy ... | HuggingFaceTB/smoltalk:openhermes-100k | direction |
[
{
"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 wireless noise-cancelling headphones under $300... | voxozi/agentforge-multiturn-toolcall | agentic |
[
{
"role": "user",
"content": "Yasna has two books. One book is 180 pages long, and the other book is 100 pages long. If Yasna wants to finish both of the books in two weeks, how many pages will Yasna need to read every day, if she reads an equal number of pages each day?"
},
{
"role": "assistant",
... | openai/gsm8k:main | math |
[
{
"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": "Please answer the following question: Read the article and select the best answer. Article: As we all know, the ocea... | Open-Orca/SlimOrca | 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 total average age of three friends is 40. Jared is ten years older than Hakimi, and Molly's age is x. How old is Hakimi?\nIf we know the answer to the above question is 40, what is the value of unknown variable x?"
},
{
"role": "assistant",
"content": "The total... | HuggingFaceTB/smoltalk:metamathqa-50k | math |
[
{
"role": "user",
"content": "Tell me whether each food is from a grain or animal: quinoa, millet, couscous, ribeye steak, pork belly, chicken wing"
},
{
"role": "assistant",
"content": "Quinoa: Grain\nMillet: Grain\nCouscous: Grain\nRibeye Steak: Animal\nPork Belly: Animal\nChicken Wing: Animal... | 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": "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 a calendar assistant. You can list events, create events, find free slots, reschedule, and cancel. Always confirm times with the user before creating events."
},
{
"role": "user",
"content": "Schedule a 60-minute 'Sprint planning' on 2026-09-21 with Alex@c... | voxozi/agentforge-multiturn-toolcall | agentic |
[
{
"role": "system",
"content": "You are a chatbot that cannot disclose any personal data about the user without their explicit consent."
},
{
"role": "user",
"content": "I'm trying to set up voice assistance on my Android phone but I'm not sure where to start. Could you guide me through the proc... | HuggingFaceTB/smoltalk:systemchats-30k | direction |
[
{
"role": "user",
"content": "In a binary tree, write a function to reverse the order of the nodes in a binary tree. Also, when a parent node is reversed, its left and right subtrees need to be swapped."
},
{
"role": "assistant",
"content": "To reverse the order of nodes in a binary tree, we'll ... | HuggingFaceTB/smoltalk:self-oss-instruct | coding |
[
{
"role": "user",
"content": "If $\\left(3x-y+5\\right)^{2}+|2x-y+3|=0$, then $x+y=\\_\\_\\_\\_\\_\\_$."
},
{
"role": "assistant",
"content": "Given the equation $\\left(3x-y+5\\right)^{2}+|2x-y+3|=0$, we can analyze it step by step.\n\nFirst, notice that for any real numbers $a$ and $b$, if $a^... | HuggingFaceTB/smoltalk:numina-cot-100k | math |
[
{
"role": "user",
"content": "You are tasked with creating a program that converts temperatures from Fahrenheit to Celsius. The formula to convert Fahrenheit to Celsius is: \n\nCelsius = (Fahrenheit - 32) * 5/9\n\nYou need to write a function `celsius` that takes an integer parameter representing the temper... | ise-uiuc/Magicoder-OSS-Instruct-75K | 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": "Given the hyperbola $\\frac{x^{2}}{a^{2}}$-$y^{2}$=1 ($a>0$) with an eccentricity of $\\sqrt{5}$, find the value of $a$.\nA: $\\sqrt{6}$\nB: 4\nC: 2\nD: $\\frac{1}{2}$"
},
{
"role": "assistant",
"content": "From the hyperbola equation $\\frac{x^{2}}{a^{2}}$-$y^{2}$=... | HuggingFaceTB/smoltalk:numina-cot-100k | math |
[
{
"role": "user",
"content": "A bus has a capacity of 200 people. If it carried 3/4 of its capacity on its first trip from city A to city B and 4/5 of its capacity on its return trip, calculate the total number of people the bus carried on the two trips?"
},
{
"role": "assistant",
"content": "Fr... | openai/gsm8k:main | 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": "One of Motionpoems' 7th season releases is the experimental and compelling How to Make the Girl (Kino Filmkraft, 2016), based on Dessa Wander's poem of the same title. The creative \"instructional\" filmpoem, which was made by writer/director/editor Ann Prim, was screened earli... | agentlans/multiturn-chat:chats_v2_k10000 | direction |
[
{
"role": "user",
"content": "Question: Casey saw a watermark in the paper. She wasn't the type to accept errors or inconsistencies. Given that the answer to a question is \"Very tidy\", what is the question?\nAnswer:"
},
{
"role": "assistant",
"content": "How would you describe Casey's persona... | Open-Orca/SlimOrca | direction |
[
{
"role": "user",
"content": "Patrick is half the age of his elder brother Robert. If Robert will turn x after 2 years, how old is Patrick now?\nIf we know the answer to the above question is 14, what is the value of unknown variable x?"
},
{
"role": "assistant",
"content": "We know that Patrick... | HuggingFaceTB/smoltalk:metamathqa-50k | math |
[
{
"role": "user",
"content": "Baby Shower Invitation Poems Boy baby shower invitation poems boy twins ba shower invitation ba boys its twins chevron oh ba. Baby shower invitation poems boy ba shower wording ba shower thank you wording poems for ba template. Baby shower invitation poems boy surprise ba showe... | HuggingFaceH4/ultrachat_200k | direction |
[
{
"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 a cunning rogue in a medieval setting, known for your stealth and wit."
},
{
"role": "user",
"content": "Can you provide me with a list of the most popular and well-known artworks created by Vincent Van Gogh?"
},
{
"role": "assistant",
"content... | HuggingFaceTB/smoltalk:systemchats-30k | direction |
[
{
"role": "user",
"content": "Simplify the following expression: \n2x+3x^2+1-(6-2x-3x^2)."
},
{
"role": "assistant",
"content": "The given expression can be rewritten as 2x+3x^2+1-6+2x+3x^2. Combining like terms, this last expression is equal to (2x+2x)+(3x^2+3x^2)+(1-6)=6x^2+4x-5."
}
] | yahma/alpaca-cleaned | direction |
[
{
"role": "user",
"content": "Write a one-liner Python factorial."
},
{
"role": "assistant",
"content": "```python\nfrom math import factorial\n# or: def fact(n): return 1 if n < 2 else n * fact(n-1)\nfactorial(5) # 120\n```"
}
] | assistant-seeds | 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 'Action needed: security update', read it, summarize it, then forw... | voxozi/agentforge-multiturn-toolcall | 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": "Write a Python function called `round_to_bin_edge` that takes two arguments: a `value` and `bin_edges`, a list of thresholds. It should return the value rounded to the nearest bin edge, considering the first bin edge as the lower bound and the last bin edge as the upper bound.\... | HuggingFaceTB/smoltalk:self-oss-instruct | coding |
[
{
"role": "user",
"content": "You are given a list of faces representing a 3D mesh and the number of points in the mesh. Each face is represented by a list of three vertices. Your task is to write a function to populate a neighbor list for each point in the mesh. The neighbor list for a point contains the i... | ise-uiuc/Magicoder-OSS-Instruct-75K | 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 given a snippet of code that processes a matrix and performs certain operations based on the values in the matrix. Your task is to implement a function that replicates the functionality of the given code snippet.\n\nYou are given a matrix `valid` and a matrix `mask`, bo... | ise-uiuc/Magicoder-OSS-Instruct-75K | coding |
[
{
"role": "user",
"content": "I recently ran into an old college roommate after ten years and want to send a friendly text that acknowledges the time that has passed but also suggests catching up over coffee. Write a concise, warm message in one sentence that I could copy‑paste into my phone."
},
{
... | ianncity/GLM-5.2-Conversation | agentic |
[
{
"role": "user",
"content": "The flowers cost $9, the clay pot costs $20 more than the flower, and the bag of soil costs $2 less than the flower. How much does it cost to plant the flowers? Please respond by writing a program in Python."
},
{
"role": "assistant",
"content": "flower_cost = 9\nc... | TIGER-Lab/MathInstruct | math |
[
{
"role": "user",
"content": "Good morning"
},
{
"role": "assistant",
"content": "Good morning. If you've got a task for today — email, code, study plan, or a decision — drop it here and we'll start."
},
{
"role": "user",
"content": "Make a 5-bullet standup update template."
},
{... | assistant-seeds | direction |
[
{
"role": "user",
"content": "You are tasked with creating a custom exception class for a specific use case. Your task is to implement a Python class that represents an exception called `FieldDoesNotExist`. This exception should be raised when attempting to access a field that does not exist in a particular... | ise-uiuc/Magicoder-OSS-Instruct-75K | coding |
[
{
"role": "user",
"content": "Generate a creative description of a sunset in the beach."
},
{
"role": "assistant",
"content": "The sun sets majestically on the horizon, painting the sky with swirls of pinks and oranges as it descends into the ocean. The beach is bathed in a warm glow, the sand r... | yahma/alpaca-cleaned | direction |
[
{
"role": "user",
"content": "If the Barnsley fern is iterated 10 times starting with a single point, how many points will be generated in total?"
},
{
"role": "assistant",
"content": "The Barnsley fern is a fractal generated using an iterated function system (IFS) with four transformation funct... | HuggingFaceTB/smoltalk:openhermes-100k | direction |
[
{
"role": "user",
"content": "Combine the two ideas in the sentence.\n\nMountain climbing is hard. It requires a lot of practice."
},
{
"role": "assistant",
"content": "Mountain climbing is a difficult activity that requires a substantial amount of practice."
}
] | yahma/alpaca-cleaned | direction |
[
{
"role": "system",
"content": "You are a world class trivia AI - provide accurate, succinct responses."
},
{
"role": "user",
"content": "What term, starting with 'G', refers to a popular search engine and is also used as a verb meaning to look up information online?"
},
{
"role": "assis... | teknium/OpenHermes-2.5 | direction |
[
{
"role": "user",
"content": "$50 \\%$ of 2002 is equal to\n(A) 4004\n(B) 3003\n(C) 2001\n(D) 1952\n(E) 1001"
},
{
"role": "assistant",
"content": "To find 50% of 2002, we recognize that 50% is equivalent to half of the number. This can be calculated by dividing 2002 by 2:\n\n\\[\n2002 \\div 2 =... | open-r1/OpenR1-Math-220k | math |
[
{
"role": "user",
"content": "Write a Python function `match_path(path, pattern)` that checks if a given `path` string matches a regular expression `pattern`, which is interpreted as a shell-style pattern. The pattern may contain characters:\n\n- `.` to match exactly one character\n- `*` to match zero or mo... | HuggingFaceTB/smoltalk:self-oss-instruct | coding |
[
{
"role": "user",
"content": "Design a Python function to validate a request context, where the request context is a dictionary object that contains a key named `auth_token`. If the `auth_token` key is not present in the request context, return False. If the `auth_token` is present and its value is a non-em... | HuggingFaceTB/smoltalk:self-oss-instruct | coding |
[
{
"role": "user",
"content": "List the weapons of Goddess Durga in a comma separated manner."
},
{
"role": "assistant",
"content": "Chakra, conch, bow, arrow, sword, javelin, trishula, shield, a noose"
}
] | databricks/databricks-dolly-15k | 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 'Meeting notes - Tuesday', read it, summarize it, then forward it ... | voxozi/agentforge-multiturn-toolcall | agentic |
[
{
"role": "user",
"content": "You are given a list of integers representing the scores of a game. Your task is to write a function that calculates the average score of the game, excluding the highest and lowest scores.\n\nWrite a function `calculate_average_score(scores)` that takes in a list of integers `s... | ise-uiuc/Magicoder-OSS-Instruct-75K | coding |
[
{
"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": "user",
"content": "Write a letter to a supplier to request the addition of an additional product service."
},
{
"role": "assistant",
"content": "Dear Supplier,\n\nI hope this letter finds you well. I am writing to inquire about adding an additional product service to our current arran... | HuggingFaceH4/ultrachat_200k | direction |
[
{
"role": "user",
"content": "You are planning a stargazing night for a group of amateur astronomers and want to include a brief description of the Orion Nebula that is both scientifically accurate and engaging. Write a paragraph in the second person that explains why the Orion Nebula is a good target, ment... | ianncity/GLM-5.2-Conversation | agentic |
[
{
"role": "user",
"content": "John hits 70% of his free throws. For every foul he gets 2 shots. He gets fouled 5 times a game. How many free throws does he get if he plays in 80% of the 20 games the team plays?"
},
{
"role": "assistant",
"content": "John plays in 20*.8=<<20*.8=16>>16 games\nT... | openai/gsm8k:main | math |
[
{
"role": "user",
"content": "Everything a Juliette needs to succeed in the Girl Scout Cookie sale Need help? Email Customer Care!\nCustomers inquiring about their product should contact ABC Customer Service by submitting a request to https://abcbakers.com/contact-us/ or reading the ABC FAQS (https://abcbak... | HuggingFaceH4/ultrachat_200k | direction |
[
{
"role": "user",
"content": "What are some of the most popular curry dishes in India?"
},
{
"role": "assistant",
"content": "Some of the most popular curry dishes in India are:\n1. Butter Chicken\n2. Chicken Tikka Masala\n3. Rogan Josh\n4. Chana Masala\n5. Palak Paneer\n6. Aloo Gobi\n7. Dal Mak... | HuggingFaceH4/ultrachat_200k | direction |
[
{
"role": "user",
"content": "You are tasked with implementing a class that represents a university course and provides a method to retrieve the current semester display text. The class should have a method `getCurrentSemDisplay` that returns the display text for the current semester.\n\nYour task is to imp... | ise-uiuc/Magicoder-OSS-Instruct-75K | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.