Dataset Viewer
Auto-converted to Parquet Duplicate
id
stringlengths
9
26
category
stringclasses
11 values
messages
listlengths
3
3
prompt
stringlengths
18
1.83k
response
stringlengths
189
16.9k
content_length
int64
20
5.24k
reasoning_length
int64
149
16.7k
coding_0002
coding
[ { "role": "system", "content": "You are a helpful and precise assistant. Answer the question directly and concisely. For math problems, show your work step by step and end with: FINAL_ANSWER: <number>\nFor multiple choice, end with: FINAL_ANSWER: <letter>\nFor coding tasks, provide the complete function in ...
Write a python function to find the volume of a triangular prism.
<think> 1. **Analyze the Request:** * **Goal:** Write a Python function to calculate the volume of a triangular prism. * **Format:** Python code block. * **Constraints:** Direct, concise, helpful. 2. **Determine the Logic:** * A triangular prism's volume is given by the formula: $V = B \times...
594
3,123
coding_0007
coding
[ { "role": "system", "content": "You are a helpful and precise assistant. Answer the question directly and concisely. For math problems, show your work step by step and end with: FINAL_ANSWER: <number>\nFor multiple choice, end with: FINAL_ANSWER: <letter>\nFor coding tasks, provide the complete function in ...
Write a python function to find binomial co-efficient.
<think> The user wants a Python function to find the binomial coefficient, often denoted as $C(n, k)$ or $\binom{n}{k}$. There are several ways to calculate this: 1. **Direct Formula:** $\frac{n!}{k!(n-k)!}$. This is easy to implement but can lead to integer overflow for large $n$ even if the result fits in standard ...
436
2,942
coding_0003
coding
[ { "role": "system", "content": "You are a helpful and precise assistant. Answer the question directly and concisely. For math problems, show your work step by step and end with: FINAL_ANSWER: <number>\nFor multiple choice, end with: FINAL_ANSWER: <letter>\nFor coding tasks, provide the complete function in ...
Write a python function to count true booleans in the given list.
<think> We need to write a Python function to count true booleans in a given list. The instruction says: "Write a python function to count true booleans in the given list." That's straightforward. The function should take a list as input and return the count of True values. However, we must be careful: the list may con...
275
4,364
coding_0022
coding
[ { "role": "system", "content": "You are a helpful and precise assistant. Answer the question directly and concisely. For math problems, show your work step by step and end with: FINAL_ANSWER: <number>\nFor multiple choice, end with: FINAL_ANSWER: <letter>\nFor coding tasks, provide the complete function in ...
Write a function to find the volume of a sphere.
<think> The user wants a Python function to calculate the volume of a sphere. The formula for the volume of a sphere is $V = \frac{4}{3} \pi r^3$. I need to import `math` to get the value of $\pi$. The function should take the radius as an argument. I should return the calculated volume. I will provide the code in a Py...
376
341
coding_0006
coding
[ { "role": "system", "content": "You are a helpful and precise assistant. Answer the question directly and concisely. For math problems, show your work step by step and end with: FINAL_ANSWER: <number>\nFor multiple choice, end with: FINAL_ANSWER: <letter>\nFor coding tasks, provide the complete function in ...
Write a function to check if the letters of a given string can be rearranged so that two characters that are adjacent to each other are different.
<think> We need to write a function to check if the letters of a given string can be rearranged so that no two adjacent characters are the same. This is essentially checking if the string can be rearranged into a "non-repeating adjacent" string, often called "rearrange string to avoid adjacent duplicates". The conditio...
481
4,640
coding_0005
coding
[ { "role": "system", "content": "You are a helpful and precise assistant. Answer the question directly and concisely. For math problems, show your work step by step and end with: FINAL_ANSWER: <number>\nFor multiple choice, end with: FINAL_ANSWER: <letter>\nFor coding tasks, provide the complete function in ...
Write a python function to find the sum of repeated elements in a given array.
<think> We need to write a Python function to find the sum of repeated elements in a given array. Clarify: "sum of repeated elements" could mean sum of elements that appear more than once (i.e., duplicates), perhaps counting each occurrence? Or sum of the duplicate values themselves, maybe each duplicate value only cou...
358
5,579
coding_0027
coding
[ { "role": "system", "content": "You are a helpful and precise assistant. Answer the question directly and concisely. For math problems, show your work step by step and end with: FINAL_ANSWER: <number>\nFor multiple choice, end with: FINAL_ANSWER: <letter>\nFor coding tasks, provide the complete function in ...
Write a python function to check whether the given array is monotonic or not.
<think> We need to write a Python function to check if a given array is monotonic. The function should return True if the array is monotonic (either non-increasing or non-decreasing), False otherwise. We must provide the complete function in a Python code block. We should consider edge cases: empty array or single el...
630
869
coding_0000
coding
[ { "role": "system", "content": "You are a helpful and precise assistant. Answer the question directly and concisely. For math problems, show your work step by step and end with: FINAL_ANSWER: <number>\nFor multiple choice, end with: FINAL_ANSWER: <letter>\nFor coding tasks, provide the complete function in ...
Write a function to check whether the given number is undulating or not.
<think> 1. **Understand the Goal**: The user wants a Python function to check if a given number is "undulating". 2. **Define "Undulating Number"**: * A number is undulating if its digits alternate between increasing and decreasing (or decreasing and increasing). * More formally, for a number $d_1 d_2 d_3...
904
6,138
coding_0026
coding
[ { "role": "system", "content": "You are a helpful and precise assistant. Answer the question directly and concisely. For math problems, show your work step by step and end with: FINAL_ANSWER: <number>\nFor multiple choice, end with: FINAL_ANSWER: <letter>\nFor coding tasks, provide the complete function in ...
Write a function to sort each sublist of strings in a given list of lists using lambda function.
<think> The user wants a Python function that takes a list of lists of strings as input. Inside this function, I need to sort each individual sublist. The sorting must be done using a lambda function. The structure of the input is `[[str, str], [str, str], ...]`. The output should be the same structure, but with string...
483
2,816
coding_0025
coding
[ { "role": "system", "content": "You are a helpful and precise assistant. Answer the question directly and concisely. For math problems, show your work step by step and end with: FINAL_ANSWER: <number>\nFor multiple choice, end with: FINAL_ANSWER: <letter>\nFor coding tasks, provide the complete function in ...
Write a function to sort a list of tuples using lambda.
<think> We need to write a function to sort a list of tuples using lambda. The user wants a Python function that sorts a list of tuples. They mention "using lambda", which suggests we should use a lambda function as the key for sorting. The list of tuples: each tuple might contain elements. We need to define a function...
398
2,746
coding_0018
coding
[ { "role": "system", "content": "You are a helpful and precise assistant. Answer the question directly and concisely. For math problems, show your work step by step and end with: FINAL_ANSWER: <number>\nFor multiple choice, end with: FINAL_ANSWER: <letter>\nFor coding tasks, provide the complete function in ...
Write a function to find frequency of the elements in a given list of lists using collections module.
<think> 1. **Analyze the Request:** * **Goal:** Write a Python function to find the frequency of elements in a given list of lists. * **Constraint:** Use the `collections` module. * **Input:** A list of lists (e.g., `[[1, 2], [2, 3], [1, 2]]`). * **Output:** A dictionary or counter object mappi...
619
5,387
coding_0039
coding
[ { "role": "system", "content": "You are a helpful and precise assistant. Answer the question directly and concisely. For math problems, show your work step by step and end with: FINAL_ANSWER: <number>\nFor multiple choice, end with: FINAL_ANSWER: <letter>\nFor coding tasks, provide the complete function in ...
Return a valid URL with the given parameters. Domain: example.com Endpoint: /api/v1/users Parameters: id: 4 name: Alex
<think> The user wants to construct a valid URL based on specific components. Components: - Domain: `example.com` - Endpoint: `/api/v1/users` - Parameters: `id=4`, `name=Alex` URL Structure: `scheme://domain/endpoint?key1=value1&key2=value2...` 1. **Scheme**: Usually `http` or `https`. Since none is specified, `http...
47
834
coding_0031
coding
[ { "role": "system", "content": "You are a helpful and precise assistant. Answer the question directly and concisely. For math problems, show your work step by step and end with: FINAL_ANSWER: <number>\nFor multiple choice, end with: FINAL_ANSWER: <letter>\nFor coding tasks, provide the complete function in ...
Suggest a way to classify text documents into a certain number of topics.
<think> The user wants a way to classify text documents into a specific number of topics. The prompt is general ("Suggest a way"), so I should provide a standard, effective approach rather than just one word. Potential approaches: 1. **Unsupervised Learning (Clustering/Topic Modeling):** * LDA (Latent Dirichlet...
1,121
3,061
coding_0037
coding
[ { "role": "system", "content": "You are a helpful and precise assistant. Answer the question directly and concisely. For math problems, show your work step by step and end with: FINAL_ANSWER: <number>\nFor multiple choice, end with: FINAL_ANSWER: <letter>\nFor coding tasks, provide the complete function in ...
Write a reusuable function in Python that takes two string variables and returns the longest string.
<think> We need to write a reusable function in Python that takes two string variables and returns the longest string. That seems trivial. But the instruction says: "For coding tasks, provide the complete function in a Python code block." So we should output a Python function. But careful: "reusuable function in Pytho...
187
3,381
coding_0035
coding
[ { "role": "system", "content": "You are a helpful and precise assistant. Answer the question directly and concisely. For math problems, show your work step by step and end with: FINAL_ANSWER: <number>\nFor multiple choice, end with: FINAL_ANSWER: <letter>\nFor coding tasks, provide the complete function in ...
Create a JavaScript function that can convert miles to kilometers.
<think> The user wants a JavaScript function to convert miles to kilometers. 1. **Understand the Goal:** Create a JS function for miles -> km conversion. 2. **Identify the Formula:** 1 mile is approximately 1.60934 kilometers. The formula is $km = miles * 1.60934$. 3. **Draft the Function:** * Input: `miles` ...
276
4,043
coding_0001
coding
[ { "role": "system", "content": "You are a helpful and precise assistant. Answer the question directly and concisely. For math problems, show your work step by step and end with: FINAL_ANSWER: <number>\nFor multiple choice, end with: FINAL_ANSWER: <letter>\nFor coding tasks, provide the complete function in ...
Write a python function to find the product of non-repeated elements in a given array.
<think> We need to write a Python function to find the product of non-repeated elements in a given array. Clarify: "non-repeated elements" likely means elements that appear exactly once in the array. Or could it mean distinct elements (i.e., each value counted once)? Usually "non-repeated" means elements that are not r...
349
12,270
coding_0052
coding
[ { "role": "system", "content": "You are a helpful and precise assistant. Answer the question directly and concisely. For math problems, show your work step by step and end with: FINAL_ANSWER: <number>\nFor multiple choice, end with: FINAL_ANSWER: <letter>\nFor coding tasks, provide the complete function in ...
How can you change the given string 'Hello World' to 'World Hello'?
<think> The user wants to swap the words in the string "Hello World" to become "World Hello". This is a general programming/logic question, but since no specific language was requested, I should provide a few common methods (Python, general logic) or just the logic. However, the prompt instructions say: "For coding tas...
430
1,964
coding_0055
coding
[ { "role": "system", "content": "You are a helpful and precise assistant. Answer the question directly and concisely. For math problems, show your work step by step and end with: FINAL_ANSWER: <number>\nFor multiple choice, end with: FINAL_ANSWER: <letter>\nFor coding tasks, provide the complete function in ...
Write a basic python program to accept a string input, use it to create a dictionary and sort it by alphabetical order ToBeOrNotToBe
<think> The user wants a Python program that: 1. Accepts a string input. 2. Creates a dictionary from that input. (The prompt is slightly ambiguous here. Does "create a dictionary" mean counting character frequencies? Or creating key-value pairs? Given the simplicity, character frequency is the standard interpretatio...
704
3,053
coding_0051
coding
[ { "role": "system", "content": "You are a helpful and precise assistant. Answer the question directly and concisely. For math problems, show your work step by step and end with: FINAL_ANSWER: <number>\nFor multiple choice, end with: FINAL_ANSWER: <letter>\nFor coding tasks, provide the complete function in ...
Describe the difference between a loop and a conditional statement.
<think> The user wants a description of the difference between a loop and a conditional statement. 1. **Analyze the Request:** * Topic: Programming concepts (loops vs. conditionals). * Goal: Describe the difference. * Tone: Helpful, precise, clear, well-structured. 2. **Define "Loop":** * Wh...
1,582
3,304
coding_0044
coding
[ { "role": "system", "content": "You are a helpful and precise assistant. Answer the question directly and concisely. For math problems, show your work step by step and end with: FINAL_ANSWER: <number>\nFor multiple choice, end with: FINAL_ANSWER: <letter>\nFor coding tasks, provide the complete function in ...
Train an AI model to predict whether an email is spam or not.
<think> The user wants to train an AI model to predict whether an email is spam or not. 1. **Analyze the Request:** * **Goal:** Build a spam classifier. * **Input:** Implicitly, email text data. * **Output:** Classification (Spam vs. Not Spam/Ham). * **Format:** The user asked to "Train an AI ...
2,674
4,621
End of preview. Expand in Data Studio

glm5-reap50-tunecomp-sft

Supervised chat finetuning dataset used for the GLM-5 REAP-50 TuneComp LoRA recovery run.

Contents

  • training_data.jsonl: 754 chat samples
  • manifest.json: row counts and provenance

Schema

Each JSONL row contains:

  • id
  • category
  • messages
  • prompt
  • response
  • content_length
  • reasoning_length

messages is a 3-message chat list with system, user, and assistant roles.

Provenance

  • Teacher source: remote glm-5 responses collected via Z.AI API
  • Transformation: converted into SFT-style chat training data
  • Student base used in training: GLM-5-REAP-50pct-FP8-scalefix

Notes

This is the dataset artifact from the March 28, 2026 B200 TuneComp run.

Downloads last month
42