Lesson 1 of 4

It predicts the next word

A language model writes one small piece at a time. At each step it asks itself: given everything so far, what’s the most likely next word? It adds that word, then asks again.

Example

“The deadline to file most personal tax returns in Canada is April …” After reading a lot of Canadian tax writing, the model has seen “30” follow that phrase far more often than anything else.

That’s the whole trick. Fluent emails, summaries and explanations all come from repeating that one step, very quickly, thousands of times.

Technically it predicts tokens, which are pieces of words, but thinking “one word at a time” is close enough.

AI Academy, aiforcanadiantax.ca. General education only: follow your firm’s AI policy and CRA guidance.