Skip to reading
Macalinao StudioLEARNReading room

FIELD NOTES / COLLEGE

Inside the weights

A model keeps its learned settings. Each sentence sets new numbers in motion.

About 4 minutes · reading supplement · Read the high-school path

Listen to this reading.

Local Kokoro Heart narration · college. Covers the essay, worked example, college extension. Quiz choices and source URLs are not read aloud. The text below is the transcript.

What changes when you ask a question?

The weights stay fixed during ordinary inference. Activations change with your input.

  1. Text → tokens
  2. Tokens → vectors
  3. Learned transformations
  4. Next-token scores

Text → tokens

Understand

A model is a computation with learned settings

A language model does not contain a little librarian choosing a finished answer from a shelf. It contains a structured computation whose numerical settings were learned during training. Those settings are called parameters. Many are weights arranged in matrices; other parameters can include offsets or normalization scales. The architecture determines which operations happen and how information travels. The weights determine the particular transformations performed by those operations. Two models can share an architecture and behave differently because they learned different parameter values.

Consider a tiny operation: y = 0.6x₁ − 0.2x₂ + 0.1. With inputs x₁ = 2 and x₂ = 3, the output is 0.7. Changing the first weight from 0.6 to 0.5 changes the output to 0.5. This is a teaching example, not a miniature intelligent system. Its purpose is to make one idea visible: numerical settings influence the result. In a language model, many such transformations act together across large vectors, nonlinear functions, and layers.

Change one weight.

Keep x₁ = 2, x₂ = 3 and the bias at 0.1. Change w₁ and watch the output move.

y = w₁ × 2 − 0.2 × 3 + 0.1

0.7

1.2 − 0.6 + 0.1 = 0.7

Bar shows the selected weight, from 0 to 1. This is one linear operation, not a complete language model.
Follow

Follow the sentence

First, a tokenizer turns text into a sequence of token identifiers. A token may represent a word, part of a word, punctuation, or another unit. An embedding table supplies a learned vector for each identifier. These vectors are starting representations, not complete dictionary definitions. As they pass through the network, surrounding tokens influence how the current sequence is represented.

In attention, learned projections produce queries, keys, and values. The model compares queries with keys to calculate input-dependent attention scores, then combines value representations. This distinction matters: the projection weights normally remain fixed during a conversation, while the attention scores change with the input. Feed-forward transformations further process the representations, and residual connections carry information around sublayers. Finally, an output transformation supplies scores for possible next tokens. A selection procedure chooses a continuation, which becomes part of the next input step.

Distinguish

Training changes the settings; a conversation changes the state

During training, a loss measures how the predictions compare with the training objective. Gradients estimate how parameter changes would affect that loss. An optimizer uses those gradients to update trainable parameters. A single example does not usually teach an isolated fact to one identifiable weight. Useful patterns emerge through many updates, and knowledge and behavior are distributed across the computation.

During ordinary inference, the parameters stay fixed. Your prompt changes the activations: the temporary numbers produced while the model runs. A cache can retain intermediate information so the system need not repeat earlier work. That cache is not a new permanent education for the model. A product may separately save conversation history or conduct later training, but those are additional mechanisms. Saying that a chatbot remembers your previous sentence does not establish that its weights changed.

Connect

Why more parameters is not a complete explanation

A parameter count describes scale, not a guarantee of reliability. Data quality, architecture, training, numerical precision, and the way a model is evaluated all matter. A large model can produce a convincing error; a smaller specialized model can perform a narrow task well. To compare systems, ask what task was tested and under what conditions, rather than treating one number as a universal intelligence score.

Return to the animation and identify three different objects: a stored weight, an activation that changes with the sentence, and an output score. If the diagram uses moving dots, those dots represent information flow; they are not literal particles inside a model. Using the small equation above on paper, change an input while keeping a weight fixed, then change the weight while keeping the input fixed. Explain why these are different experiments. That distinction will help you understand fine-tuning, quantization, caches, and model releases throughout the course.

College extension · make the assumptions explicit

For a linear layer, write y = Wx + b. If W has shape m × n, x has n entries and y has m entries. During backpropagation, the chain rule relates a loss gradient at y to gradients at W and x. During inference, the same forward transformation can execute without constructing those training gradients. In attention, WQ, WK and WV are parameters; QKᵀ and its normalized scores are functions of the current activations. Keeping these categories separate prevents a common mistake: interpreting an attention heat map as a direct picture of stored model weights.

Make the idea your own.

College · 15 questions per practice set, drawn from 30 authored questions. Each set covers every concept once. Read the supporting passages whenever you need them.

Progress stays in this browser on this site. It is not sent to a server or shared between devices. High school and college have separate records. Clearing browser data removes it.

15 questions per set. Enable JavaScript for rotating practice; the complete bank is listed below without it.

Question 1 / 30For y = Wx + b with W of shape 3 × 2 and compatible b, which dimensions are correct?
Read the supporting passage: Linear-layer dimensions →

Question 2 / 30During ordinary inference, which distinction is correct?
Read the supporting passage: Parameters versus attention scores →

Question 3 / 30For y = 0.6x₁ − 0.2x₂ + 0.1 with x₁ = 2 and x₂ = 3, change only the first weight to 0.5. What changes?
Read the supporting passage: One-weight experiment →

Question 4 / 30For y = Wx + b, W has shape 3 × 2 and b has 3 entries. How many scalar parameters are in this layer?
Read the supporting passage: Linear-layer dimensions →

Question 5 / 30Does ordinary inference require constructing training gradients for the forward transformation?
Read the supporting passage: Forward computation and gradients →

Question 6 / 30What connects a loss gradient at y to gradients at W and x during backpropagation?
Read the supporting passage: Backpropagation →

Question 7 / 30Keep weights fixed in y = 0.6x₁ − 0.2x₂ + 0.1. Increase x₁ from 2 to 3 while x₂ stays 3. What is the new output?
Read the supporting passage: The numerical worked example →

Question 8 / 30In the same toy equation, increase only x₂ by 1. How does y change?
Read the supporting passage: Coefficients and outputs →

Question 9 / 30Set both inputs to zero in y = 0.6x₁ − 0.2x₂ + 0.1. What remains?
Read the supporting passage: The additive bias →

Question 10 / 30Which description best explains how attention scores vary with the prompt?
Read the supporting passage: Queries, keys and input dependence →

Question 11 / 30Does learning a fact usually mean storing it in one identifiable weight?
Read the supporting passage: Distributed learned patterns →

Question 12 / 30Why does retaining cached intermediate information not establish that the model was retrained?
Read the supporting passage: Cache versus training →

Question 13 / 30What role do residual connections have in the reading’s description?
Read the supporting passage: Information through the layers →

Question 14 / 30Which comparison best supports a claim about model reliability?
Read the supporting passage: Evaluating claims →

Question 15 / 30Why is an embedding vector not a complete dictionary definition?
Read the supporting passage: Embeddings and contextual representations →

Question 16 / 30For W of shape 5 × 4 in y = Wx + b, what are the compatible input and output lengths?
Read the supporting passage: Linear-layer dimensions →

Question 17 / 30An attention heat map changes between prompts. What can you conclude from that alone?
Read the supporting passage: Parameters versus attention scores →

Question 18 / 30With x₁ = 2 and x₂ = 3, increase only w₁ from 0.6 to 0.8 in y = w₁x₁ − 0.2x₂ + 0.1. What is the new y?
Read the supporting passage: One-weight experiment →

Question 19 / 30A linear layer has W of shape 4 × 3 and a bias with 4 entries. How many scalar parameters does it contain?
Read the supporting passage: Linear-layer dimensions →

Question 20 / 30A forward-only program evaluates y = Wx + b using fixed parameters. Must it compute a loss gradient to obtain y?
Read the supporting passage: Forward computation and gradients →

Question 21 / 30A loss depends on several composed transformations. Which principle propagates derivatives back through them?
Read the supporting passage: Backpropagation →

Question 22 / 30Keep weights fixed. In y = 0.6x₁ − 0.2x₂ + 0.1, change x₁ from 2 to 4 while x₂ stays 3. What is y?
Read the supporting passage: The numerical worked example →

Question 23 / 30In y = 0.6x₁ − 0.2x₂ + 0.1, decrease only x₂ by 2. What is Δy?
Read the supporting passage: Coefficients and outputs →

Question 24 / 30Both inputs are zero. If only the bias changes from 0.1 to 0.4, what is the new output?
Read the supporting passage: The additive bias →

Question 25 / 30Two prompts give different query vectors without any retraining. Why is this consistent with the reading?
Read the supporting passage: Queries, keys and input dependence →

Question 26 / 30Why is “find the single weight containing this fact” usually a misleading request?
Read the supporting passage: Distributed learned patterns →

Question 27 / 30A new reply reuses intermediate information computed for the prompt. What mechanism does this most directly illustrate?
Read the supporting passage: Cache versus training →

Question 28 / 30Which description matches a residual connection?
Read the supporting passage: Information through the layers →

Question 29 / 30A model gives one confident answer. What else is needed to support a broader reliability claim?
Read the supporting passage: Evaluating claims →

Question 30 / 30Why can a token’s representation change as it moves through layers?
Read the supporting passage: Embeddings and contextual representations →

These checks cover the selected answers, not your overall understanding. A correct answer suggests a review tomorrow; a missed answer suggests reviewing its passage now. This simple reminder is not a validated learning schedule.

Sources and further investigation

Source review: October 28, 2026. Model-release claims are attributed to their publishers.