LLM (Large Language Model)
A large language model — a neural network trained to predict the next word. From this simple task emerge dialogues, translations, code, and reasoning.
How It Works
The model receives text broken into tokens and calculates the probability for each next token. The most probable continuation becomes part of the response, and the process repeats.
flowchart LR
A[Text] --> B[Tokens]
B --> C[LLM]
C --> D[Word Probabilities]
D --> E[Next Token]
E --> C
Why It's Important to Understand
LLM is not a database. Inside, there are no recorded facts, only billions of weights that know how to generate text that looks like the truth.
So models sometimes hallucinate: confidently spitting out lies.
Where It's Used
- chat assistants;
- writing and translating texts;
- generating code;
- agents that call tools;
- RAG — answers based on documents.
Key Models
| Model | Developer |
|---|---|
| GPT-4o | OpenAI |
| Claude | Anthropic |
| Gemini | |
| DeepSeek | DeepSeek |
| Llama | Meta |
| Qwen | Alibaba |
| Mistral | Mistral AI |