What is a Large Language Model?

A Large Language Model (LLM) is a type of artificial intelligence trained on vast amounts of text data to predict and generate human-like text. At their core, these models learn statistical patterns in language: given a sequence of words (or better tokens: fragments of words, commas, and anything in text), they predict what comes next.

Input tokens ->  Model -> Input tokens + output token

A simplistic mental model for an LLM

Stochastic Parrots

LM [Language Model] is a system for haphazardly stitching together sequences of linguistic forms it has observed in its vast training data, according to probabilistic information about how they combine, but without any reference to meaning: a stochastic parrot.

—Emily M. Bender and Timnit Gebru

From: https://doi.org/10.1145/3442188.3445922