How does an LLM work?
- User
How does an LLM work?
- Assistant
Current generation large language models are generally transformer neural networks that are trained on a large corpus of text. The text is split into "tokens", which are sequences of characters that are usually seen together, e.g.:
["Div", "ided", " up", " like", " this", "."]And the tokens are given a number, with lower numbers being more common:
[24095, 1384, 510, 588, 428, 13]The network is fed a fixed length sequence of these numbers over and over during a "training" process. Neural network training generally consists of a chain of matrix multiplications where the numbers from some output stage and some "weights" at that stage are combined. The weights start off as random numbers and are adjusted continually to meet some goal. The overall shape of the network, how the stages are connected is called the model's "architecture", different architectures have different properties but the general idea is to have an architecture that allows some form of incremental adjustment of the weights to meet a training goal.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
Identical first prompt
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)