Think of this AI as a Robot Student learning to write names.
1. The "Future-Blind" Reader
The robot reads names one letter at a time, covering the rest with its hand. It sees "E" and tries to guess what comes next. It cannot cheat and look ahead.
2. The Voting Booth (Logits)
Inside its brain, the robot holds a vote for every possible letter (A-Z). "M" might get 50 votes, while "Z" gets -10 votes.
3. The Teacher (Loss)
We reveal the actual next letter. If the robot guessed wrong, we give it a score (Loss). A high score means "You did bad."
4. The Smart Hiker (Adam Optimizer)
The robot wants to get its error score to zero (the bottom of the valley). It uses a math trick called "Adam" to find the fastest path down the hill, adjusting its brain so it doesn't make the same mistake twice.
5. Showtime (Inference)
Once trained, we take away the answer key. We give it a starting letter, and it uses its trained intuition to dream up new names entirely on its own!