Skip to content
eborn

AI & Future Skills

Large language models work by predicting the next piece of text

From How AI Actually Works by Reborn

The AI behind chatbots is called a large language model. At its heart, it does one thing: given some text, it predicts what is likely to come next.

If you type The cat sat on the, the model has learned that mat is a very likely next word. It adds a word, or a piece of a word, then predicts again, and again, building a whole answer one small piece at a time.

That sounds simple, but predicting text well requires picking up grammar, facts, styles and even some reasoning patterns. That is why these models can write emails, explain ideas and answer questions. Still, underneath, they are always choosing likely continuations, not looking up a guaranteed truth.

Apply it

Start typing a message on your phone and watch the suggested next words. A language model is a far bigger version of that idea.

Test yourself

What is the core task a large language model is trained to do?
0 comments

Comments

Loading comments…

  • AI is less magic and more pattern-finding than most people think

    Artificial intelligence can feel mysterious. It writes poems, spots faces in photos and suggests your next song. It is easy to imagine a thinking…

    Source: A Reborn guide drawing on Encyclopaedia Britannica, the Royal Society, the US National Institute of Standards and Technology, the Alan Turing Institute and the OECD.

  • AI is a broad label for computers doing tasks that seem to need thinking

    AI is not one single invention. It is an umbrella word for many methods that let computers do jobs we used to think needed a human brain. Some…

    Source: A Reborn guide drawing on Encyclopaedia Britannica, the Royal Society, the US National Institute of Standards and Technology, the Alan Turing Institute and the OECD.

  • Today's AI does not have feelings, wishes or a life of its own

    Chatbots can say things like I understand or I am happy to help. That can make it feel as if someone is there. But saying the words is not the same…

    Source: A Reborn guide drawing on Encyclopaedia Britannica, the Royal Society, the US National Institute of Standards and Technology, the Alan Turing Institute and the OECD.

  • Early AI followed rules that people wrote by hand

    For many years, people tried to build AI by writing long lists of rules. A medical program might say: if the patient has a fever and a rash,…

    Source: A Reborn guide drawing on Encyclopaedia Britannica, the Royal Society, the US National Institute of Standards and Technology, the Alan Turing Institute and the OECD.

  • Machine learning means learning patterns from examples instead of rules

    Machine learning is the main idea behind modern AI. Rather than being told the rules, the computer is shown many examples and finds the patterns on…

    Source: A Reborn guide drawing on Encyclopaedia Britannica, the Royal Society, the US National Institute of Standards and Technology, the Alan Turing Institute and the OECD.

  • Training is a long process of guessing, checking and adjusting

    How does a machine actually learn from examples? Through a loop that repeats millions of times. First, the system makes a guess, such as this photo…

    Source: A Reborn guide drawing on Encyclopaedia Britannica, the Royal Society, the US National Institute of Standards and Technology, the Alan Turing Institute and the OECD.

Large language models work by predicting the next piece of text · Reborn