Volume 1 / Part 3 Mechanics — What Happens Inside / Chapter 23
What Is a "Weight"? A Machine Made of a Trillion Dials
Ever started downloading an AI model and just stopped, staring at the file size? A single model can run over ten gigabytes. That's not video or images in there. It's an almost unimaginable number of dial settings. This time, we're digging into what these "weight" dials actually are.
That Moment the Download Bar Makes You Pause
If you've ever tried running an open-source AI model on your own computer, you know the moment. You hit download, and the progress bar spits out a number like "14GB" or "140GB."
That can be heavier than downloading a full movie from a streaming service. But an AI model file doesn't contain any video or audio. It contains nothing but a massive sequence of numbers used for the "multiplication and addition" we covered in the last article.
This sequence of numbers is what we call "weights." Why does it get so heavy, and what do these weights actually mean? Today, let's open up the file together and take a look inside.
An AI model's file size isn't determined by video data — it's determined by the sheer volume of numbers packed inside.
What Are Weights? A Trillion Dials
Last time, we said the real identity of an artificial neural network is "multiplication and addition." Every connection between two neurons carries a number that decides "how strongly should this signal get passed along." That number is the weight.
Picture an old-school radio tuning dial. Turn it just a little, and the station changes. Inside an AI model, there are millions, billions, sometimes hundreds of billions of these dials lined up side by side. Each individual dial setting decides how the input gets transformed before being handed off to the next layer.
This collection of dials has a companion, too: a constant called "bias," which gets added to each neuron's output. If weights decide how strong a connection is, bias shifts the baseline of the output. It's a fine-tuning mechanism that lets a neuron fire even when the sum of its inputs is zero.
Think of weights as "dials that set connection strength," and bias as "an adjustment screw that shifts the output baseline."
Parameters Are the Sum of Weights and Biases
You've probably seen labels like "7B" or "70B" in news articles or product pages. The B stands for billion, so "this model has 7 billion parameters" is what that means. And what we've been calling weights and biases — that's exactly what this "parameter" word refers to.
In a typical neural network, parameters are described as the combination of learnable values known as weights and biases. Picture it as the total count of dials plus adjustment screws — that total is the parameter count.
That said, depending on the model's architecture, there can be other learnable values beyond weights and biases, like normalization values. So rather than saying "parameters are always exactly two things: weights and biases," it's safer to think of it as "weights and biases make up the vast majority of parameters."
So when and how do these dial settings get decided? That's where the phrase "trained model" comes in.
A Trained Model Is "a File That Records Dial Positions"
Hearing the phrase "trained model," it's easy to picture some kind of intelligent entity. But look inside, and it's really just a record of numbers. It's a file listing exactly where each of billions of dials ended up after going through the process called training.
Picture a factory machine covered in countless knobs. A skilled technician runs trial after trial, nudging each knob until the machine can produce a product exactly right. The final list of knob positions — that's essentially what a trained model file is.
Meta's Llama 2 model officially ships in three sizes: 7B, 13B, and 70B (according to Meta's official model card). You can think of this as three tiers of "how many knobs" the machine has. More knobs mean a wider range of adjustments the model can express, but it also means a heavier file.
So if we know the number of knobs, can we calculate the file's weight? Let's look at that formula next.
A trained model is essentially a "settings file" that records the position of countless dials, as determined through training.
What Actually Determines File Size — fp16 and the "7B × 2 Bytes" Rule of Thumb
Each individual dial setting gets stored inside a computer as a number. How finely that number gets recorded is a matter of "precision," and one commonly used format is fp16, or half-precision floating point. In fp16, recording one dial's setting takes 2 bytes.
Let's try a simple multiplication. If a model has 7 billion parameters (7B) and each one needs 2 bytes, then 7 billion times 2 bytes works out to roughly 14GB. In practice, saving the Llama 2 7B model in FP16 format produces a file around 13.5GB to 14GB, according to real-world measurements from localaimaster.com. It's not exactly 14GB on the nose — this is a ballpark estimate.
The bigger the model, the more this weight matters. A 70B model needs roughly 140GB in that same FP16 format — too much to fit on a single graphics card, which means you need tricks like splitting the model across multiple GPUs (based on calculations from kubernetes.recipes). This is where "quantization" comes in: a technique that shrinks the file by trimming each dial's recorded value down to 1 byte or even half a byte. One report shows a 7B model shrinking to about 4.1GB after 4-bit quantization, making it practical to run on an everyday home computer. The exact shrinkage ratio depends on the quantization method used, though, so treat these numbers as just one example.
Here's something worth trying yourself. Check whether the AI model you're running has "7B" or "13B" in its name, then compare that against its actual file size. You'll likely get a real, hands-on feel for this multiplication.
During Inference, the Dials Never Move
By now we know a model file is really just a record of dial positions. So while we're asking an AI a question, are these dials moving? The answer is no.
Weights get adjusted during training through methods like gradient descent, but once training finishes, they're locked in place. We call this "freezing." When we're actually using the model — during what's called inference — these dials don't budge an inch (based on a technical explainer from Towards AI). What's actually changing is a temporary value calculated fresh for each input, not the dials themselves.
Thanks to this property, if you use the same model file with the same input and conditions, the calculation itself is deterministic — meaning you get the same result every time. Because the dial positions are locked permanently into the file, anyone who downloads it can reproduce identical behavior. This is actually one of the reasons AI models can be distributed and shared at all.
So how do these dial positions get decided in the first place? Nobody is sitting there turning billions of knobs by hand. Next time, we'll dig into the mechanism that automatically turns these dials in the direction of "fewer mistakes" — the actual substance of training itself.
During inference, weights are completely frozen. The only thing moving is the calculation result for each new input.
FAQ
Are AI "weights" and "parameters" the same thing?
Parameters is the umbrella term covering both weights and biases. Weights specifically refer to the numbers representing connection strength between neurons, and they make up the bulk of a model's parameters.
Why are AI model files so huge?
A model file doesn't contain video or audio — it contains a record of billions of numbers called parameters. Since the FP16 format needs 2 bytes per number, more parameters means a bigger file.
Do the weights change while you're using an AI?
No, they don't. Weights get locked in place once training finishes and stay that way during inference. What actually changes is a temporary value calculated based on each input.
Who turns billions of dials to the right position, and how? Next time, we dig into "training" itself — the mechanism by which these dials turn themselves automatically.
Primary sources
- Klu Glossary: What are Weights and Biases? — Confirmation of weight and bias definitions
- Why 4-Bit Weights Are Easy and 8-Bit Activations Break Models (Towards AI) — Confirmation that weights don't change during inference
- Meta Official llama/MODEL_CARD.md — Official information on Llama 2 parameter sizes (7B/13B/70B)
- Best Ollama Models for 8GB, 12GB, 16GB & 24GB VRAM Table — Measured file sizes for FP16/quantized formats
- Llama 2 70B FP16 Model Size 140GB Guide — File size calculation formulas by precision (FP16/FP8/INT4)
This article organizes general knowledge based on our experience and public sources. Product specs, prices, and regulations reflect the time of writing (October 4, 2026) and may change.