LLM (Large Language Model)
Briefly
LLM is a large language model trained on massive volumes of text to predict the next word and generate human-like responses.
What is it?
LLM (Large Language Model) is a neural network trained on billions of pages of text: books, articles, forums, documentation, code. During training, the model learns one main task: to predict the next word in a sequence. From this 'simple' task emerges the ability to hold conversations, write code, translate, and reason.
How does it work?
When you write a query, the model does not 'think' in a human sense. It passes your text through billions of numerical parameters — weights — and at the output, it gets a probability distribution: which word should come next. The word with the highest probability becomes part of the response. Then the process repeats — over and over, until a whole sentence is formed.
This is why LLMs are called language models: their world is text, broken down into tokens.
Examples of LLMs
| Model | Developer | Type |
|---|---|---|
| GPT-4o | OpenAI | Closed |
| Claude 3.5 | Anthropic | Closed |
| Gemini | Closed | |
| DeepSeek-V3 | DeepSeek | Open weights |
| Llama 3 | Meta | Open weights |
| Qwen 2.5 | Alibaba | Open weights |
For the difference between closed and open models — see the article Open Source vs Closed Source.
What is important to understand?
LLMs are not databases. Inside the model, there are no 'written facts' in explicit form. There are only mathematical coefficients that can generate text that appears to be true. Therefore, models sometimes make mistakes — see the article on hallucinations.