How Does AI Pick Its Next Word?

Free AI lessons in plain language

The Three Steps

1. Score every wordAI looks at every word it could use and gives each one a score based on the sentence so far.
2. Turn scores into chancesIt changes those scores into percentages. Better fits get bigger chances.
3. Roll the weighted diceIt picks one word. The better words have better odds, but the long shots can still win.

Try It Yourself

The sentence so far is "The proof was..." Click the button and watch AI roll the weighted dice. Do it a few times. Notice how "verified" wins most, but not always.

The proof was ...
Click the button to see AI pick a word.
Why it lands on different words: AI is not thinking. It is rolling loaded dice. "Verified" has a 37 percent chance, so it wins most of the time. "Long" has only 6 percent, so it wins once in a while. Roll it 20 times and you will see the pattern.

How Does AI Pick Its Next Word?

AI does not think. It rolls loaded dice. Let me show you how.

Every time AI writes a word, it runs three quick steps. It scores every word it could use. It turns those scores into chances. Then it picks one, with the better words getting better odds. Take the sentence "The proof was." AI gives "verified" a 37 percent chance, "checked" 27, "confirmed" 18. Words that make no sense, like banana or ocean, sit way out on the edge and almost never get picked. Once you see this, AI stops feeling like magic and starts making sense.

#AskPeteAI #AILiteracy #AIinPlainLanguage #SeniorsAndTech #HowAIWorks #DemystifyAI

Want AI explained without the tech talk? Come sit at my lunch counter studio at Whole Foods Boca Raton. Free, friendly, and plain.