5/29
Part 1 of 6 · Greedy decodingWatch
Watch · 3 min
Raschka shows why his generate loop writes the same text on every run, because it always takes the highest score, and sets up two ways to add controlled randomness: temperature and top-k.
Build an LLM from Scratch 5: Pretraining on Unlabeled Data · Sebastian Raschka · Mar 2025YouTube