Sebastian Raschka
Everything, newest first — across every channel. Their profile → · Subscribe
Hiding
3 December
2 December
1 December
22 November
21 November
17 November
16 November
15 November
-
Their words
Nonetheless, GPT-2 and most newer LLMs include explicit positional information because it gives attention a direct signal about positions. That’s because even though the causal mask determines which tokens are accessible and provides implicit order information, it doesn’t distinguish a separation of one position from a separation of ten, for example. So, explicit positional methods are still useful (or even essential), since they supply that information.
14 November
13 November
12 November
11 November
10 November
3 November
25 October
24 October
-
LLMsscaling lawsreinforcement learning
Their words
A reasoning model is essentially an upgrade from a conventional LLM, that is, adding more post-training via reinforcement learning with verifiable rewards (and optionally inference scaling techniques) to make it more capable of solving more challenging problems.
17 October
From one piece Build A Reasoning Model From Scratch 8: Distillation 23 beliefs, in the piece's order there
-
korrents.com
Once you understand the fundamentals, newer techniques built on top of them become easier to understand.Their words
I try to stick to the fundamentals. So everything you see here is like the foundation and then there are always newer techniques on top of it. But once you understand these foundations, it's easier to understand these other yeah, concepts on top of it,
-
Their words
So instead of just developing a reasoning model that always reasons, which can be wasteful if you have a very simple prompt, we can also develop reasoning models that have different effort levels like light, medium, high, extra high, max, and ultra.
-
korrents.com
RLVR can be applied to any domain with a verifiable reward, as long as you are careful about reward hacking.Their words
if you think about it, you can apply the RLVR to anything where you have a verifiable reward, right? And so you just have to be a bit careful that it doesn't do the reward hacking.
+ 20 more
-
korrents.com
Most reasoning models are still trained on code and math, and it would be interesting to go beyond those domains.Their words
Also, most reasoning models are still trained on code and math. So it would be also interesting to go beyond those domains. So applying it to other domains in let's say biology or physics,
-
korrents.com
Process reward models, such as the additional grader in DeepSeekMath V2, are an interesting direction.Their words
So the DeepSeekMath version two paper is also super interesting because they train an additional grader. So it is kind of like a process reward model, which I personally find interesting.
-
Their words
if you train a large state of the art model, you know, like DeepSeek R1 671 billion sure use reasoning, use RLVR for this reasoning training, but if you're developing a smaller model, you can get better results on the smaller model with distillation by distilling from a bigger one than doing RLVR from scratch on a small model.
-
Their words
It's even better than with a DeepSeek R1. I would say that's likely because it's from the same model family and it's a bit more familiar with a prompt format or the answer structure and so forth.
-
Their words
So really the core difference is, sure, we have multiple epochs. We could also do that in RLVR, but RLVR is so expensive that we usually don't do multiple epochs.
-
korrents.com
Shuffling the training data between epochs is a good idea because it is better for the optimization.Their words
Usually it's a good idea to shuffle between those epochs to just prevent cycles. It's just better for the optimization.
-
Their words
But long story short, it is more common to only train on the answer tokens rather than the prompt tokens. It's just like also a common convention.
-
Their words
And then in my opinion, it's always a good idea. I, it's never a bad idea to check your data because data is often the most precious thing. Like if something is wrong in the data, you will also get really poor training results.
-
korrents.com
Newer reasoning models produce 'wait'-style self-corrections less often than early ones.Their words
And so you see, this is also one of the earlier reasoning models, like newer models don't usually do that as often anymore, but it's kind of funny to see the model arguing through this
-
Their words
So you can get a lot of performance from distillation by trying to mimic the teacher. But then, of course, there's a more risk of overfitting as well. So it's not like a completely free lunch there.
-
Their words
And I would say the best distilled models are still not as good as the state-of-the-art reasoning models, but it's maybe 80, 90% there.
-
Their words
They complain while people steal our reasoning traces and do distillation, because distillation will eventually get you there quicker if you already have the answers. It's cheaper than reinforcement learning.
-
Their words
So distillation is actually simpler than reinforcement learning. The reason why we did this that way is reinforcement learning really is what is more interesting. That is like the state of the art. And now we are doing an approximation that is more efficient.
-
korrents.com
Whether soft or hard distillation works better is an empirical question, but both are fine approaches.Their words
But yeah, again, this is like empirical. So you will have to run these experiments, but both are really fine approaches. There's nothing wrong with hard distillation.
-
Their words
So you can do it even on a different machine ahead of time, collect everything and then train. But on-policy would be a bit, I guess, even more accurate or better because it's always with the most up-to-date version of your student model.
-
korrents.com
Hard distillation is by far the easiest kind, because its data is the easiest to collect.Their words
So long story short, hard distillation is by far kind of like the easiest because it's the easiest in terms of data collection.
-
Their words
And then again, if you want to distill a model from Claude or OpenAI, which is I think not allowed, so I'm not urging you to do that.
-
Their words
Of course, there are hacks and workaround you can kind of synchronize these vocabularies and kind of make them match up and stuff like that. But it's it's super hacky and tricky. And so most people in practice, they just do hard distillation because it's just easier than doing this.
-
Their words
Now this, of course, like I mentioned before, provides us with more information, but it's not super hard to implement it. The tricky part why not many people do that in practice is that for many models, we don't have access to this information.
-
Their words
It's essentially if reinforcement learning is too expensive, which it is for many people, we can use model distillation to achieve really good results. Maybe not quite as good, but quite good results, a bit more cheaply.
10 October
From one piece Build A Reasoning Model From Scratch 7: Reinforcement Learning 2 (Tracking, KL Terms, And More) 20 beliefs, in the piece's order there
-
Their words
And if you see instability, it's not necessarily that the algorithm is wrong. It can just be that the settings are just, everything is on a scale that is too small to see the benefits of that.
-
Their words
So instead of just brute force adding the format reward in every case, I would only personally make the modification that the format reward is only added if the answer is already correct.
-
Their words
And so what's likely happening here is that the model overemphasizes the format reward, so it's trying to get the think tags right, but then the real reward, the correctness reward gets neglected.
+ 17 more
-
scaling lawsreinforcement learning
Their words
but in practice, I mean, this would work, but it would be relatively, um, brittle because the model has not seen those during pre-training. So in an ideal case scenario, I would personally recommend taking the base model and do a bit more continued pre-training or supervised fine tuning with think tokens present.
-
korrents.com
When a KL loss term is not needed, it is just overhead, since it requires keeping an extra reference model in memory.Their words
They also omitted this KL loss term because it's just making the training more expensive. You have an additional reference model. You have to keep in memory and compute scores for that. And if you don't need that, it's just additional overhead.
-
korrents.com
A KL loss term is very important in domains with a lot of reward hacking but usually not necessary for math models.Their words
Now in domains where there's a lot of reward hacking, this is very important, but in other domains, for example, our math verifier, this is usually not necessary. So personally, when I trained math models, so models that generate math answers correctly, I found that it's usually not that necessary.
-
Their words
So the verifier is kind of brittle in that sense. So as soon as you generate a text that doesn't look like human generated text, like just gobbledygook text, it will pass as non-AI generated. And so it was easy to fool the AI detector.
-
korrents.com
The clip value of 10 taken from DeepSeek-R1 is large in practice; values such as 0.1 are more usual.Their words
So I thought that might be the one using as a reference, but in practice, that's kind of large. So usually smaller values could be, for example, 0.1 and so forth. So 10, 10 is relatively large.
-
Their words
Then we will make some modifications to the algorithm to hopefully make it even better. For example, clipped policy ratios, they are technically essential in GRPO.
-
Their words
So we want maybe in an entropy that is around one, I would say it's good in this case, like zero would be bad. Um, 11 would be certainly also very bad. So like a moderate entropy of like, yeah, one, two, three, something like that.
-
Their words
if the entropy is zero, that means we have probability of one for a certain token, the model is almost too confident, which means it never explores any other options really. So it will always deterministically pick the next token.
-
korrents.com
Extra softmax operations should be avoided in training code because softmax is expensive at scale.Their words
And so technically we always want to avoid softmaxes in, in training code or anywhere. I mean, sometimes it's unavoidable, but we don't want to like have extra softmaxes, for example.
-
Their words
What's more interesting is the standard deviation. We want it to be high. Ideally, that means the data is spread out quite a bit.
-
korrents.com
The small GRPO settings are only for efficiency; whatever you can increase, such as rollouts, you should.Their words
Also the rollout number is very small here, only four. Everything is kept small for efficiency. So whatever you can increase, I would suggest increasing.
-
Their words
If it reaches one, and it's like one all the time, we might also as well stop the training, because if it's already answering everything correctly, there's no learning signal anymore.
-
korrents.com
It is always a good idea to briefly check that code downloaded from the internet does what you expect.Their words
I personally think it's always a good idea if you're downloading something from the Internet to just briefly double check that it is indeed doing what you expect, because nowadays, you know, with in the age of A.I., it can happen that.
-
korrents.com
Training runs longer than 10 or 20 minutes are better run as scripts on a separate computer.Their words
But personally, if I'm running things for like longer, more than, let's say, 10 or 20 minutes, I usually prefer using Python scripts. I run those primarily on a separate computer.
-
Their words
I wouldn't necessarily from one example deduce that these intermediate steps are the ones that made the answer correct. But on average, we often see that longer answers are indeed correlated to answer correctness to a certain degree.
-
korrents.com
In GRPO training, the loss should stay roughly stable around a value, and large loss spikes are what to avoid.Their words
So what we want to mainly see is that the loss is kind of stable around a certain value. It might fluctuate, but what we don't want to see is like large loss spikes.
-
korrents.com
In reinforcement learning for LLMs, the loss is not as informative as in classic deep learning or pre-training.LLMsscaling lawsreinforcement learning
Their words
So first we have the loss, I should say for reinforcement learning with verifiable rewards or also with human feedback, like the loss is not quite as informative as the one that we would have in, let's say, classic deep learning for training or when we're training a classifier
7 October
6 October
5 October
4 October
3 October
From one piece Build A Reasoning Model From Scratch 6: Reinforcement Learning 1 (Implementing GRPO for RLVR) 15 beliefs, in the piece's order there
-
Their words
The optimizer, we use AdamW. That's a common, still one of the most widely used optimizers. Sometimes nowadays, also the Muon optimizer is pretty popular, except for the embedding layers.
-
korrents.com
Using token-level or sequence-level log probabilities is almost a hyperparameter choice, with good reasons for each.Their words
Yeah, so if we drop the one over T, the token normalization, if we just have the sum, the sum log probability, that would be the sequence level one. And yeah, it's almost like a hyperparameter. And there are good reasons for each of those.
-
Their words
It's actually useful to include end of text for the reinforcement learning because otherwise the model might unlearn to generate those.
+ 12 more
-
Their words
There are a lot of papers or examples showing that actually without KL term on math models perform better. So it's not even essential to do that. It's kind of like a hyper parameter, whether to use it or not. It needs to be decided on a case by case basis.
-
korrents.com
Reinforcement learning is one of the cornerstone algorithms of the LLM field and worth investing time to understand.LLMsinvestingreinforcement learning
Their words
because it is one of the biggest topics in LLM fields where reinforcement learning is one of the cornerstone algorithms. And it does make sense to invest some time to understand it, because it's kind of like a important foundation.
-
korrents.com
GRPO is a bit nicer and simpler than classic PPO.Their words
One popular one is GRPO. So GRPO is, I would say it's a bit nicer and simpler than the classic PPO.
-
korrents.com
RLVR is much simpler than RLHF because it needs no reward model, which is why it is attractive in practice.Their words
Now in reinforcement learning with verifiable rewards, we don't need the reward model. So it's actually much simpler. And that is also why it's so attractive and nice to use in practice,
-
Their words
But you can imagine if you are having to rank answers, and you have to only so much time to rank them, you can't always double check which one is the correct answer. You're sometimes also just ranking them by, well, I like this explanation better, for example.
-
korrents.com
Chat services probably hide raw reasoning traces so that others cannot use them to distill or train their own models.Their words
By default, when you're using something like ChatGPT, they are usually filtering out everything in these think tags and show you only a summary of that. So I guess the intention is that people then can't steal these thinking traces to distill or train their own model, basically.
-
Their words
So as we will see, the model is only trained on the final result, because as soon as we try to optimize the explanations, the model might also learn how to cheat more efficiently by hiding this intermediate chain.
-
korrents.com
A model's reasoning chain is useful because it helps people understand what the model is doing.Their words
It's just like an observation to make. The reasoning chain is useful though, because it can help people understand what the model is doing.
-
Their words
So I wouldn't say it's like a malicious or intentional thing that the model is doing. But if the model is just like, you know, smarter, it just needs less of this backtracking and self-correction.
-
Their words
But what I wanted to say there is that in general, the more capable a model is, the less reasoning it kind of needs to do explicitly.
-
Their words
I wouldn't call it thought pattern, because it makes it sound like they are thinking like humans, which they don't. I mean, they're still large language models and not human brains or something.
-
Their words
I would rather not call this a reasoning model if it has not been trained with reinforcement learning with verifiable rewards.
2 October
30 September
29 September
28 September
27 September
26 September
25 September
23 September
22 September
21 September
20 September
18 September
14 September
13 September
9 September
2 September
1 September
30 August
22 August
15 August
18 July
27 June
-
Usesrcmnd.app
CodexTheir words
I have to admit that I still primarily alternate between Codex and Claude Code as my daily drivers, for now
-
Usesrcmnd.app
Claude CodeTheir words
I have to admit that I still primarily alternate between Codex and Claude Code as my daily drivers, for now
-
Likedrcmnd.app
OllamaTheir words
I am not affiliated with any of the tools mentioned in this article, but one nice thing about Ollama is that they also optionally support open-weight models hosted in the cloud
+ 4 more
-
Usesrcmnd.app
Qwen3.6Their words
Here, I am primarily going to use Qwen3.6 with the Qwen-Coder coding client.
-
Usesrcmnd.app
Qwen-CodeTheir words
Here, I am primarily going to use Qwen3.6 with the Qwen-Coder coding client.
-
Recommendsrcmnd.app
North Mini CodeTheir words
Alternatively, if you don't want to use Qwen3.6, Cohere's North Mini Code is probably the most interesting, capable alternative at this size class right now.
-
Recommendsrcmnd.app
MLXTheir words
I highly recommend using *-mlx versions of models working on Macs (if available).
26 June
6 June
16 May
18 April
10 April
7 April
4 April
22 March
25 February
24 January
30 December 2025
21 December 2025
20 December 2025
17 December 2025
3 December 2025
4 November 2025
5 October 2025
14 September 2025
21 January 2025
20 January 2025
Nothing matches.
What is a korrent?
A korrent is a belief a person has stated in their own words: one sentence stating the claim, backed by a quote and a source, kept at korrents.com.
Under a name here, the quoted block is what they actually said. The korrent beneath it is the claim those words support, in korrents' wording — tap it to see the record, its source, and who else holds it.
Nobody here wrote their own korrents. They are compiled from public statements, and a person can change their mind, which is recorded too.
About the English under a post
Some people here publish in a language other than English. Where they do, this site shows a machine translation beneath the post, in this typeface — the site's own, not theirs.
The post itself is never changed, moved or hidden: what is set in the serif above is exactly what the person published, and it is what to quote them on. A translation can be wrong in ways that matter, especially about tone.
Only the post's own words are translated. A quoted post, a linked article and a belief on korrents.com are left in their original language.







