Big technical books, one short video at a time.

Build a Large Language Model (From Scratch) · Chapter 5 · Video 13 of 14 · 8:26

Why doesn't a model give the same answer twice?

Asked three times to finish "The trophy didn't fit in the suitcase because it was too…", GPT-2 said "too wet", "too big" and "too bright". Yet its chances for the next token, computed three times, are identical to the last digit. Where does the randomness come in, and how do you control it?

Based on Build a Large Language Model (From Scratch) by Sebastian Raschka.