Polski

AI & LLM

LLM fundamentals

How large language models predict the next token, what a context window is and where hallucinations come from.

Article

LLM fundamentals: tokens, context windows and next-token prediction

How a large language model really works – from tokenization and the transformer, through context windows and sampling, to costs, hallucinations and a first API call in five languages.

Related articles

Around the topic

In this group: AI & LLM