How do large language models generate text?
Large language models are machine learning systems typically built on the transformer neural network architecture and trained on vast amounts of text. They use self-supervised learning to predict the next word, allowing them to summarize, translate, and generate novel text content. While they often contain hundreds of billions of parameters to encode information, their outputs can be affected by biased training data.
What we know
- Large language models are typically based on the transformer neural network architecture. [2]
- Generative pre-trained transformers are pre-trained on large datasets to predict the next word and generate novel content. [4]
- LLMs contain many parameters and are trained using self-supervised learning on vast amounts of text. [3]
- Biased or inaccurate training data can make an LLM's output less reliable. [2]
Where to go next
- how it workedWhat is a transformer neural network?
- compared withHow do small language models compare to LLMs?
- a case in pointWhich chatbots use generative pre-trained transformers?
- whenHow did OpenAI develop early GPT models?
- the bigger pictureWhat are natural language processing tasks?
- an unexpected connectionHow can software harnesses give LLMs memory and tools?It is surprising that standalone neural text generators can be directly paired with external software harnesses to gain memory and web search access.
Sources
- [1]large language model (Wikidata Q115305900) · CC0 1.0
- [2]Large language model · CC BY-SA 4.0
- [3]List of large language models · CC BY-SA 4.0
- [4]Generative pre-trained transformer · CC BY-SA 4.0
- [5]Small language model · CC BY-SA 4.0
Your path
- What were the demes in ancient Greece and the Byzantine Empire?
- What is constructive empiricism?
- What is a unique factorization domain?
- Is the Xia dynasty considered a real historical era?
- What is the ASCII character encoding standard?
- What is an operational definition in psychology?
- How does a heat pump reverse its operation?
- How do large language models generate text?