Tokens, attention, and embeddings are building blocks
Language models process tokens rather than whole ideas. Transformer attention lets each token weigh relationships to other tokens in the available context, while positional information preserves order. Training adjusts many parameters so the model becomes better at predicting likely continuations.
Embeddings represent text or other content as vectors for similarity search. They are useful for retrieval and clustering, but a nearby vector is not proof that two items are equivalent, authorized, current, or true. Context length controls how much material can be supplied; it does not decide which material is trustworthy.
- Tokenization affects cost, truncation, and how unusual strings are represented.
- Attention describes learned relationships, not a human-readable chain of justification.
- Embeddings support similarity search but can reproduce bias and stale context.
- Fine-tuning changes model behavior; retrieval changes the supplied evidence.
- Model version and configuration belong in every evaluation record.