TechByteByByte

Parameters

The actual adjustable numbers inside a model that learning changes — the literal thing 'training' means to tune, and what all those billion-parameter headlines are counting.

#parameters#model#training#training-mechanics

Every headline you’ve ever read about a “175-billion-parameter model” or a “trillion-parameter model” is talking about the exact thing this article is about. You’ve encountered the word loosely throughout this glossary already — it’s finally time to look at it directly.

The simple definition

Parameters are the internal, adjustable numbers inside a model that get tuned during training, and that determine what the model actually predicts. Recall from the Model article that a model, technically, is a specific configuration of these numbers. Before Training, parameters start out essentially random. Training’s entire job, mechanically, is to nudge these numbers, over and over, until they settle into values that produce accurate predictions. When people casually say a model “learned something,” what actually happened, underneath, is that its parameters changed.

A model with two parameters

Consider this house-price model:

predicted price = floor area × weight + bias

Suppose training learns:

weight = ₹5,000 per square foot
bias   = ₹5,00,000

For a 1,200-square-foot house:

prediction = 1,200 × ₹5,000 + ₹5,00,000
           = ₹65,00,000

The weight and bias are the model’s two learned parameters. The floor area is new input, and ₹65 lakh is the calculated output.

Input:      1,200 sq ft
Parameters: weight ₹5,000 and bias ₹5 lakh
Output:     ₹65 lakh

Parameters during training and inference

Training  → repeatedly changes parameters
Inference → uses the learned parameters

A model checkpoint stores parameter values so the same learned behavior can be loaded later.

From two parameters to millions

A neural network connects many numerical inputs across layers. Each connection may have a weight, and many units have a bias. Large models need many parameters because they represent many interacting patterns—not because each parameter stores one readable fact.

Key distinction

  • Parameter: Learned value inside the model.
  • Hyperparameter: Setting chosen for the training process, such as learning rate or batch size.
  • Input: New value supplied to the model.
  • Output: Result calculated by the model.

Historical GPT-3 example: 175 billion parameters

OpenAI publicly reported that GPT-3 has 175 billion parameters.

Our house model: 2 learned parameters
GPT-3:          175,000,000,000 learned parameters

Those parameters are distributed across the Transformer’s embedding, attention, and feed-forward calculations. They do not form 175 billion readable facts.

If every parameter were stored as a 16-bit, two-byte number, the raw parameter values alone would require approximately:

175 billion × 2 bytes
= 350 billion bytes
≈ 350 GB in decimal units

Training requires much more memory than this rough weights-only calculation because it may also keep gradients, optimizer state, activations, and higher-precision master copies.

Why this word deserves such close attention

This is the single most literal, concrete thing in the entire Machine Learning pipeline — everything else in this glossary, in a real sense, exists to shape these numbers correctly. Features and Labels provide the material. The Algorithm provides the update procedure. Training is the repeated process of applying that procedure. Parameters are what actually gets changed by all of it — the tangible, storable result. When you download a “pretrained model,” as mentioned in the Algorithm article, what you’re literally downloading is a file containing millions, billions, or trillions of these specific numbers.

ANALOGY vs. TECHNICAL REALITY

Analogy: Think of an old-fashioned mixing board in a recording studio, covered in hundreds of small sliders — one for bass, one for treble, one for each individual instrument’s volume. A sound engineer adjusts these sliders, listening and re-adjusting, until the final mix sounds right. Each slider position is a small, individually adjustable setting that collectively determines the final output.

Where this breaks down: A sound engineer adjusts sliders by ear, using conscious judgment. A model’s parameters are adjusted by gradient descent — a precise mathematical calculation, covered in an upcoming article in this phase, that computes exactly how much to nudge each parameter based on how wrong the model’s last prediction was. And the scale is nothing like a mixing board: a modern large language model doesn’t have hundreds of sliders, it has hundreds of billions, all being adjusted simultaneously with every single training step.

What a parameter actually is, mathematically

Without getting lost in the deeper mechanics (covered properly once Neural Networks arrive later in this glossary), it’s worth being concrete here rather than hand-wavy.

In the kind of model behind most modern AI systems, a parameter is typically a single number that determines how strongly one piece of information influences another as it flows through the model — the next two articles in this phase, Weights and Bias, give these two specific parameter types their own full treatment.

For now, the key idea to hold onto is simply: parameters are individual numbers, there are usually a huge number of them, and every single one is a candidate for adjustment during training.

flowchart LR
    A[Model with random parameters] --> B[Training: repeated guess, compare, adjust]
    B --> C[Parameters gradually settle into useful values]
    C --> D[Trained Model: a specific set of tuned parameters]

Making this concrete: what a parameter actually looks like

All of this can still feel abstract, so let’s slow down and picture an actual parameter.

Example 1: one single parameter. Imagine the simplest possible model — one that predicts a house’s price using just its square footage:

predicted_price = square_footage × w

w is a parameter. That’s it — just one plain number, like w = 142.7. Before training, it might have started as a random guess like w = 0.03. Training simply nudged that one number, guess after guess, until it settled on 142.7 — a value that makes the equation’s predictions line up well with real house prices.

Example 2: a handful of parameters. A slightly less simple model might use two numbers instead of one:

predicted_price = (square_footage × w) + b

Now there are two parameters: w = 142.7 and b = 15000. Both are just ordinary numbers, sitting in the computer’s memory, each doing its own small job in the equation.

Example 3: millions or billions of parameters. A real model, like the ones behind GPT or Llama, is really the exact same idea — just repeated an enormous number of times. Instead of one w, it has millions or billions of them, each one a single number like 0.42 or -1.15, each nudged slightly during training, each contributing a tiny piece to the final prediction. A “7-billion-parameter model” simply means: 7 billion individual numbers like this, stored together.

How big is one parameter?

A single parameter is just one number — and like any number stored on a computer, it takes up a small, fixed amount of space, measured in bytes. The exact size depends on the precision used to store it:

  • 32-bit precision: 4 bytes per parameter (very exact, but takes the most space)
  • 16-bit precision: 2 bytes per parameter (a common middle ground)
  • 8-bit precision: 1 byte per parameter (less exact, but compact and fast)

This is why parameter count directly determines file size. A 7-billion-parameter model, stored at 32-bit precision, needs roughly 7 billion × 4 bytes ≈ 28 gigabytes. The same model at 8-bit precision needs roughly 7 billion × 1 byte ≈ 7 gigabytes — a quarter of the space, at some small cost to accuracy. This is exactly why lower-precision versions of popular models are often released alongside the original: to let the same model run on smaller, cheaper hardware.

Where parameters actually live

Parameters are saved in a file on disk, and loaded into a computer’s memory (specifically GPU memory, for anything beyond a small model) when the model runs. A “model file” downloaded from a site like Hugging Face — often with a .safetensors or .bin extension — is, quite literally, nothing more than millions or billions of these numbers, saved in order, so the software loading the model knows exactly which number belongs to which parameter.

Why parameter count gets talked about so much

Parameter count has become a common, if imperfect, shorthand for a model’s raw capacity — roughly, how much information and nuance it can potentially encode. More parameters generally mean a model can represent more complex patterns, but a larger parameter count doesn’t automatically guarantee better real-world performance; the quality and quantity of training data, and how well training is actually conducted, matter enormously too, echoing points made throughout the Data Handling phase of this glossary.

Why does a model need so many parameters at all?

This is worth answering directly, because the jump from “a few numbers” to “billions of numbers” can feel unmotivated. The short answer: each individual parameter can only capture a tiny, simple piece of a pattern, so representing something genuinely complex requires combining a huge number of them together.

A simple example. Recall the one-parameter house model: predicted_price = square_footage × w. One parameter can capture exactly one relationship — “bigger house, bigger price,” scaled by some fixed amount. It has no way to also account for location, house age, number of bathrooms, whether the market is currently hot or cool, or how those things interact with each other.

Add a parameter for each additional feature, and you can capture more of the real pattern — but real-world price prediction still involves relatively few, well-understood features, so a few dozen parameters can genuinely go a long way for a task like this.

Now scale that up to language. Predicting the next word in a sentence is a vastly harder problem than predicting a house price. The model needs to capture grammar, factual knowledge, tone, context from far earlier in the conversation, how meaning shifts depending on surrounding words, and countless subtle patterns in how humans actually write — all at once, for any topic, in any writing style.

No small handful of parameters could represent that much nuance. Each individual parameter ends up responsible for some small, specific piece of this enormous puzzle — one might contribute slightly to recognizing when a sentence is a question, another to associating certain words with certain topics, another to tracking whether a pronoun refers back to something mentioned earlier.

None of these pieces mean much alone; the combination of billions of them, all activating together for a given input, is what lets the model produce fluent, contextually appropriate text. This is genuinely what GPT’s, Gemini’s, and Claude’s parameters are “doing” — not storing memorized sentences, but each holding a tiny fragment of a vast, distributed pattern that only becomes meaningful in combination with the others.

So how many parameters is actually enough?

There’s no single correct number — it depends entirely on how complex the task is and how much good training data is available to teach that many parameters properly, a trade-off worth spelling out directly:

  • Too few parameters for the task and the model simply lacks the capacity to represent the real pattern, no matter how well it’s trained — similar to trying to describe a detailed photograph using only ten words. This is called underfitting, first mentioned in the Training article.
  • Too many parameters for the amount of training data available and the model has more capacity than it has real pattern to learn, so it starts memorizing specific quirks of the training data instead of the general pattern — the overfitting problem raised earlier in this article and throughout the Data Handling phase.
  • The right amount is essentially a match between task complexity and data availability: simple, well-defined tasks (like the house-price example) need relatively few parameters; open-ended, highly complex tasks (like fluent language generation across any topic) need enormous numbers of parameters, but only pay off if there’s also enough high-quality training data — the trillion-token-scale datasets discussed in the Training Data article — to actually teach that many parameters something real, rather than leaving most of them undertrained or overfit.

In practice, AI labs determine this balance experimentally rather than by formula, guided by patterns often called scaling laws — observed relationships showing how a model’s performance tends to improve as parameter count and training data both increase together, and how performance suffers if one is scaled up without the other keeping pace. This is exactly why frontier labs don’t simply maximize parameter count alone; a model with more parameters than its training data can properly support isn’t “smarter,” it’s just undertrained, which connects directly to the common misconception addressed next.

A concrete example, layered

For a simple beginner example: a tiny model predicting house prices from just square footage and bedroom count might have only a handful of parameters — a few numbers determining how much each of those two features should influence the final predicted price.

For a production example: the hospital readmission model used throughout this glossary, if built as a modestly sized neural network rather than a simple decision tree, might have anywhere from a few thousand to a few million parameters, depending on its complexity — vastly fewer than a large language model, but operating on exactly the same underlying principle: numbers, tuned by training, that determine the output.

Check your understanding

Is 1,200 square feet a parameter? No. It is input for one prediction.

Does one parameter equal one human-readable fact? Usually no. Behavior emerges from many parameters working together.

Common misconception

A frequent and understandable mistake: assuming “more parameters” straightforwardly means “smarter” or “better,” the way a bigger engine straightforwardly means a faster car. It’s more nuanced than that.

A model with vastly more parameters than it needs for a given task, trained on too little data, can actually perform worse than a smaller, well-matched model — a problem closely related to the overfitting issue introduced back in the Dataset article, where a model with excess capacity ends up memorizing quirks of its training data rather than learning a genuinely useful general pattern.

Parameter count is a meaningful signal of raw capacity, but it’s only one part of a much bigger picture that includes data quality, training method, and task fit.

How millions of numbers are organized

Parameters are usually stored in multidimensional number containers called tensors. A matrix is a two-dimensional tensor. Instead of calculating one visible edge at a time, hardware multiplies whole blocks of input numbers and weight matrices together.

The published 175-billion number belongs to GPT-3 from 2020. It is a useful scale example, not a parameter count for every later GPT model; providers do not publish the parameter count of every closed model.

Where this fits in what comes next

You now understand what parameters are, in general. The next two articles zoom into the two specific kinds of parameters that make up most of a model’s internal structure: Weights, which determine how strongly one piece of information influences another, and Bias, a distinct kind of adjustable parameter with its own specific role — not to be confused with the very different, socially-loaded meaning of “bias” you may have heard elsewhere.

In one sentence

Parameters are the actual, literal numbers inside a model that training adjusts — the concrete thing every earlier article in this glossary has been building toward, and the reason a “175-billion-parameter model” is a genuinely precise, countable description rather than just a marketing phrase.

Author
TechByteByByte Editorial Team
Reviewed by
TechByteByByte Admin
Published
Last reviewed