It picks up language
The loop you have been running is all of it. A real model runs the same guess, score and nudge over an enormous amount of text, with an enormous pile of numbers, and it looks back over far more than the single word before. Nothing is filed away as a fact. What changes is the numbers, and once they have been corrected enough times the predictions read as fluent language.

