Fine-tuned Qwen QwQ-32B, an open reasoning model, using about 9k synthetically generated reasoning traces to make it think in a hierarchical pattern.
What the traces cost
A reasoning model writes out its thinking before it answers, and every word of that thinking costs tokens. The longer the trace, the slower and more expensive the answer.
How they were condensed
To shorten the thinking, I changed the examples the model learned from.
The training set has 8,914 rows: 7,915 to train on and 999 to check against. 8,912 of those questions matched the public DeepMath-103K set, whose answers are DeepSeek-R1 reasoning traces.
A multi-agent DeepSeek system rewrote reasoning traces into a condensed form, then QwQ-32B was fine-tuned on them.
My plans from December 2025 describe two DeepSeek passes: one marks the steps, the next fills in the reasoning.
Fine-tuning means training an existing model further on new examples instead of starting from scratch.
How much shorter the training answers were
Each training answer was 81% shorter than its original, on average. That measures the training data, not the model.
| Tokens per training answer | Originals | Condensed |
|---|---|---|
| Mean | 5,162 | 776 |
| Median | 4,171 | 715 |
Training exampleFactor 7x² − 631,411 → 221 tokens
Question
Can you tackle this problem? Factor the following expression: $7x^2-63$.
Original, opening only
Okay, so I need to factor the expression 7x² - 63. Hmm, let's start by recalling what factoring means. Factoring an expression involves breaking it down into simpler parts (factors) that can be multiplied together to get the original expression. The first step in factoring is usually to look for a greatest common factor (GCF) among all the terms. Looking at the coefficients 7 and -63, I notice that 7 is a factor of both. Let me check that: 7 divides into 7 once and into 63 nine times. So, 7 is definitely a common factor. Now, looking at the variables, the first term has x² and the second term is a constant, so there's no variable part in the second term. That means the GCF for the variables is just 1. Therefore, the overall GCF of the entire expression is 7. So, I can factor out a 7 from both terms. Let's do that step by step. If I take 7 out of 7x², I'm left with x². Then, taking 7 out of -63, I divide -63 by 7, which gives me -9. So, factoring out the 7, the expression becomes 7(x² - 9).
… it goes on, to 1,411 tokens in all.
Condensed, in full
<think> I need to factor the expression $7x^2 - 63$. <bot>Both terms, $7x^2$ and $-63$, are divisible by 7, so I'll factor out the greatest common factor (GCF) first.<eot>I factored out the GCF. $7x^2 - 63 = 7(x^2 - 9)$ <bot>Now, $x^2 - 9$ is a difference of squares, since $x^2$ and $9$ are both perfect squares. I'll apply the difference of squares formula $a^2 - b^2 = (a - b)(a + b)$ with $a = x$ and $b = 3$.<eot>I factored the difference of squares. $x^2 - 9 = (x - 3)(x + 3)$ Thus, the complete factorization is $7$ times these factors. </think> The factored form of the expression is $7(x + 3)(x - 3)$.
What the fine-tune did
23 of the 40 questions finished on both models. On those 23, the fine-tune used 38.5% fewer tokens and got 22 right; base QwQ-32B got 23.
The other 17 didn’t finish on one or both models, through the token cap or the time limit. Those were likely the harder questions.
| The 23 both finished | Fine-tune | Base QwQ-32B |
|---|---|---|
| Right | 22 | 23 |
| Median tokens | 2,139 | 3,476 |
| Mean tokens | 37.0% fewer | – |
| Median visible answer | 27 characters | 1,188 characters |
Model outputSimplify 3/√27693 vs 3,032 tokens
Question
Simplify the following:$$\frac{3}{\sqrt{27}}$$Fine-tune, in full
<bot>Okay, so I need to simplify the expression 3 divided by the square root of 27. Hmm, let me think. I remember that simplifying radicals often involves factoring out perfect squares. Let me start by looking at the denominator, which is √27.
Factor the denominator to find a perfect square, then rationalize the denominator by multiplying numerator and denominator by the square root of the remaining factor.<eot>1. Factor the denominator to find a perfect square
2. Simplify the square root of the perfect square
3. Rationalize the denominator by multiplying numerator and denominator by √3
4. Verify the result
**Step 1: Factor the denominator**
First, I need to factor 27 into its prime factors. Let's see, 27 divided by 3 is 9, and 9 divided by 3 is 3, and then 3 divided by 3 is 1. So, 27 is 3 multiplied by itself three times, which is 3³. So, √27 is the same as √(3³).
**Step 2: Simplify the square root**
Now, I remember that the square root of a product is the product of the square roots. So, √(3³) can be written as √(3² * 3). Since √(3²) is just 3, that simplifies to 3√3. So, √27 is 3√3.
**Step 3: Rationalize the denominator**
Therefore, the original expression 3/√27 becomes 3 divided by 3√3. Wait, the 3 in the numerator and the 3 in the denominator can cancel each other out, right? So, 3 divided by 3 is 1, so that leaves me with 1/√3.
But hold on, usually when there's a radical in the denominator, we rationalize it. So, I need to get rid of the square root in the denominator. To do that, I can multiply both the numerator and the denominator by √3. That way, the denominator becomes √3 * √3, which is 3, and the numerator becomes 1 * √3, which is √3.
So, multiplying numerator and denominator by √3 gives me (√3)/(3). Let me check that again. Starting with 3/√27, simplifying √27 to 3√3, so 3/(3√3) simplifies to 1/√3, then multiplying numerator and denominator by √3 gives √3/3.
**Verification:**
Let me verify this result. If I take √3/3 and square it, I should get (3)/9, which is 1/3. Let's check the original expression squared: (3/√27)² is 9/27, which is also 1/3. So, both the original expression and the simplified expression square to 1/3, which means they are equal. Therefore, the simplification is correct.
\boxed{\dfrac{\sqrt{3}}{3}}
</think>
The answer is \boxed{\dfrac{\sqrt{3}}{3}}Base QwQ-32B, in full
Okay, so I need to simplify the fraction 3 over the square root of 27. Hmm, let me think. I remember that when you have a square root in the denominator, sometimes you can simplify it by factoring. Maybe I should start by looking at the square root of 27 and see if it can be broken down into factors that include a perfect square.
First, let me recall what a perfect square is. A perfect square is a number that's the square of an integer, like 4 (which is 2 squared), 9 (3 squared), 16 (4 squared), and so on. So, if I can express 27 as a product of a perfect square and another number, then I can take the square root of the perfect square part out of the radical.
Let me try factoring 27. The factors of 27 are 1 and 27, 3 and 9. Wait, 9 is a perfect square! So, 27 can be written as 9 times 3. That means sqrt(27) is the same as sqrt(9*3).
Now, I remember that the square root of a product is the product of the square roots. So sqrt(9*3) = sqrt(9) * sqrt(3). Since sqrt(9) is 3, that simplifies to 3*sqrt(3). So, sqrt(27) is 3*sqrt(3).
Therefore, the original expression 3/sqrt(27) can be rewritten as 3 divided by (3*sqrt(3)). Let me write that down step by step to make sure I don't make a mistake:
Original expression: 3 / sqrt(27)
Factor 27 into 9*3: sqrt(27) = sqrt(9*3) = sqrt(9)*sqrt(3) = 3*sqrt(3)
So substituting back in, the expression becomes: 3 / (3*sqrt(3))
Now, I notice that there's a 3 in the numerator and a 3 in the denominator. They can cancel each other out. Let me do that:
3 divided by 3 is 1, so we have 1 / sqrt(3)
Hmm, but wait, is that the simplest form? I think sometimes teachers prefer not having a square root in the denominator. Do I need to rationalize the denominator here?
Yes, I believe that's a common requirement. To rationalize the denominator, which means to eliminate the square root from the denominator, I can multiply both the numerator and the denominator by sqrt(3). That way, the denominator becomes sqrt(3)*sqrt(3) which is 3, and the numerator becomes sqrt(3). Let me check that:
Multiply numerator and denominator by sqrt(3):
(1 * sqrt(3)) / (sqrt(3) * sqrt(3)) = sqrt(3) / 3
So that gives me sqrt(3)/3.
Wait a second, so starting from 3/sqrt(27), after simplifying sqrt(27) to 3*sqrt(3), then cancelling the 3's to get 1/sqrt(3), and then rationalizing to get sqrt(3)/3. That seems right, but let me verify each step again to be sure.
First step: sqrt(27) = sqrt(9*3) = 3*sqrt(3). Correct.
Second step: 3 divided by (3*sqrt(3)) simplifies to 1/sqrt(3). Yes, because 3 divided by 3 is 1.
Third step: Rationalizing 1/sqrt(3) by multiplying numerator and denominator by sqrt(3):
(1 * sqrt(3)) / (sqrt(3) * sqrt(3)) = sqrt(3)/3. Since sqrt(3)*sqrt(3) is 3. That's correct.
Alternatively, maybe there's a quicker way to do this all in one step? Let me see.
Alternatively, starting over, maybe I can simplify 3/sqrt(27) by first simplifying the fraction before dealing with the square root. Let's see:
3 divided by sqrt(27). Since sqrt(27) is 3*sqrt(3), as before, so 3 divided by (3*sqrt(3)) is 1/sqrt(3). So same result.
Alternatively, maybe express 3 as sqrt(9), so 3 is sqrt(9). Then the expression becomes sqrt(9)/sqrt(27). Then, since sqrt(a)/sqrt(b) is sqrt(a/b), so sqrt(9/27). Then 9/27 simplifies to 1/3, so sqrt(1/3). Which is the same as 1/sqrt(3), which again leads to sqrt(3)/3 when rationalized.
Hmm, so all these methods lead to the same conclusion. Therefore, the simplified form is sqrt(3)/3.
But let me check if sqrt(3)/3 is indeed the simplest form. Since 3 is a prime number, its square root can't be simplified further, and the denominator is rational, so yes, that's the simplified form.
Alternatively, sometimes people write it as 1/sqrt(3), but since the denominator has a radical, it's typically preferred to rationalize the denominator, so sqrt(3)/3 is the more simplified version.
Let me confirm with another approach. Let's compute the decimal values to see if they are the same.
Original expression: 3 / sqrt(27). Let's compute sqrt(27). sqrt(25) is 5, sqrt(27) is a bit more, approximately 5.196. So 3 divided by 5.196 is approximately 0.577.
Now sqrt(3)/3: sqrt(3) is approximately 1.732, so 1.732 divided by 3 is approximately 0.577. So the decimal values match, which is a good sign.
Alternatively, 1/sqrt(3) is the same as sqrt(3)/3 because multiplying numerator and denominator by sqrt(3) gives sqrt(3)/3, so they are equivalent. But since the question says "simplify", and rationalizing the denominator is usually considered simpler, so sqrt(3)/3 is the answer they want.
Wait, but let me check if there's a different way someone might approach this problem where they might make a mistake. For example, maybe someone might try to divide 3 by 27 first? Let's see: 3 divided by 27 is 1/9, but that's if it was 3 over 27, but here it's 3 over sqrt(27). So that's a different thing. So that would be an error. But I didn't do that here, so that's okay.
Alternatively, maybe someone might think sqrt(27) is 13.5 or something? Wait, no, sqrt(25) is 5, sqrt(36) is 6, so sqrt(27) is between 5 and 6, so that's correct.
Alternatively, maybe someone might factor 27 as 3*9, but that's exactly what we did. So I think the steps are correct.
Alternatively, maybe there's a way to write the original expression as 3/(3*sqrt(3)) directly? Since sqrt(27) is sqrt(9*3) which is 3*sqrt(3). So yeah, that's exactly the step we did.
Alternatively, maybe someone could have thought of simplifying the exponent first? Let me see. Since sqrt(27) is 27^(1/2), so 3 divided by 27^(1/2) is 3 * 27^(-1/2). Then, 27 is 3^3, so 27^(-1/2) is (3^3)^(-1/2) = 3^(-3/2). Therefore, 3 * 3^(-3/2) = 3^(1 - 3/2) = 3^(-1/2) = 1/(3^(1/2)) = 1/sqrt(3). Then again, same as before, leading to sqrt(3)/3. So that method also works.
So all methods lead to the same result, so I think that's solid. Therefore, the simplified form is sqrt(3)/3.
Wait, but let me check once more if there's a step where I might have miscalculated. Let me go through each step again:
Original problem: 3 / sqrt(27)
Step 1: Factor 27 into 9*3. Since 9 is a perfect square, sqrt(27) = sqrt(9*3) = sqrt(9)*sqrt(3) = 3*sqrt(3).
Step 2: Substitute back into the original expression: 3 / (3*sqrt(3)).
Step 3: The 3 in the numerator cancels with the 3 in the denominator, leaving 1/sqrt(3).
Step 4: Rationalize the denominator by multiplying numerator and denominator by sqrt(3):
(1 * sqrt(3)) / (sqrt(3) * sqrt(3)) = sqrt(3)/3.
All steps check out.
Alternatively, if I didn't rationalize the denominator, would 1/sqrt(3) be considered simplified? In some contexts, maybe, but traditionally in algebra, rationalizing the denominator is required unless specified otherwise. So I think the answer should be sqrt(3)/3.
Alternatively, maybe the problem expects just simplifying the radical in the denominator without rationalizing? Let me see. If I stop at 1/sqrt(3), is that acceptable? Hmm.
Looking back at the problem statement: It just says "Simplify the following". Since rationalizing the denominator is a standard simplification step, I think the answer should be sqrt(3)/3.
Alternatively, maybe there's a different approach where you manipulate the original expression differently. Let me try:
3 / sqrt(27). Let me write 3 as sqrt(9), so sqrt(9)/sqrt(27). Then, since sqrt(a)/sqrt(b) is sqrt(a/b), so sqrt(9/27). Then 9/27 reduces to 1/3, so sqrt(1/3). Which is equal to 1/sqrt(3), and then again rationalize to sqrt(3)/3.
Same result.
Alternatively, maybe someone might think of simplifying the fraction first before dealing with radicals. Let's see:
3 divided by sqrt(27). Since 27 is 3^3, so sqrt(3^3) is 3^(3/2). Then 3 divided by 3^(3/2) is 3^(1 - 3/2) = 3^(-1/2) = 1/(3^(1/2)) = 1/sqrt(3). Then again, same as before.
So regardless of the method, the result is the same.
Therefore, I think I can confidently say that the simplified form is sqrt(3)/3.
Wait, but let me check if sqrt(3)/3 can be simplified further. Since 3 is a prime number, sqrt(3) can't be broken down further, and 3 in the denominator is already simplified. So no, that's as simple as it gets.
Alternatively, maybe writing it as (1/3)*sqrt(3), but that's the same as sqrt(3)/3.
Alternatively, in decimal form, but the question says "simplify", which usually means exact form, not decimal. So sqrt(3)/3 is the exact simplified form.
Therefore, I think that's the answer.
Just to recap all steps clearly:
1. Start with 3 / sqrt(27).
2. Factor 27 into 9 * 3, so sqrt(27) = sqrt(9*3) = 3*sqrt(3).
3. Substitute back into the expression: 3 / (3*sqrt(3)).
4. Cancel the common factor of 3: 1 / sqrt(3).
5. Rationalize the denominator by multiplying numerator and denominator by sqrt(3): (sqrt(3)) / (sqrt(3)*sqrt(3)) = sqrt(3)/3.
All steps make sense, and each follows logically. Therefore, the simplified form is sqrt(3)/3.
I don't see any mistakes in my reasoning, so I think that's the correct answer.
**Final Answer**
The simplified form of the expression is \boxed{\dfrac{\sqrt{3}}{3}}.
</think>
To simplify the expression \(\frac{3}{\sqrt{27}}\):
1. **Factor the denominator**: Recognize that \(27\) can be factored into \(9 \times 3\), where \(9\) is a perfect square.
\[
\sqrt{27} = \sqrt{9 \times 3} = \sqrt{9} \times \sqrt{3} = 3\sqrt{3}
\]
2. **Substitute back into the original expression**:
\[
\frac{3}{\sqrt{27}} = \frac{3}{3\sqrt{3}}
\]
3. **Cancel the common factor** of \(3\) in the numerator and the denominator:
\[
\frac{3}{3\sqrt{3}} = \frac{1}{\sqrt{3}}
\]
4. **Rationalize the denominator** by multiplying the numerator and the denominator by \(\sqrt{3}\):
\[
\frac{1}{\sqrt{3}} \times \frac{\sqrt{3}}{\sqrt{3}} = \frac{\sqrt{3}}{3}
\]
Thus, the simplified form of the expression is \(\boxed{\dfrac{\sqrt{3}}{3}}\).The pattern mostly didn’t carry over
Each of the fine-tune’s 60 traces in this test has exactly one marked high-level step, at the very start, followed by long ordinary reasoning. The training rows averaged 4.0 of them.
So the answers got shorter, but the hierarchical pattern from the training data mostly didn’t show up in what this model writes.
Where it struggled
It also had significant problems generalizing: it didn’t work on differently formatted answers.
| Answer format | Fine-tune | Base QwQ-32B |
|---|---|---|
| \boxed{} | 4 of 5 | 4 of 5 |
| Multiple-choice letter | 5 of 5 | 5 of 5 |
| JSON | 2 of 5 | 4 of 5 |
| Words | 1 of 5 | 4 of 5 |
Model outputAsked for the answer in words\boxed{9} vs nine
Question
Daniel works at an electronics store, and he claims that the popularity of a television (measured in number of sales) is inversely proportional to its cost. If 15 customers buy a television that costs $\$$1500, according to Daniel's theory, how many customers would buy a television that costs $\$$2500? Give your final answer written out in English words, with no digits.
Fine-tune, the ending
**Verification:**
So, according to Daniel's theory, 9 customers would buy the television that costs $2500. Let me just check if that makes sense. If the cost increases, the number of sales should decrease, which is exactly what's happening here. The cost went up from $1500 to $2500, which is an increase by a factor of 2500/1500, which simplifies to 5/3. So, the cost increased by 5/3, so the number of sales should decrease by 3/5. Let's see: 15 customers times 3/5 is indeed 9. That checks out.
\boxed{9}
</think>
The answer is \boxed{9}Base QwQ-32B, the ending
Another way to think about it: if the price increases, the number of sales should decrease. Since 2500 is more than 1500, the number of customers should be less than 15, which 9 is. So that makes sense. I think that's all. The answer should be nine customers. </think> nine
From memory, not measured here: on tasks with a different composition structure, accuracy dropped significantly.
Composition structure means how a task is put together from smaller steps.
The model it started from
| Qwen QwQ-32B | |
|---|---|
| Parameters | 32.5B |
| Layers | 64 |
| Context length | 131,072 tokens |
| Built on | Qwen2.5-32B |
| License | Apache-2.0 |