What this is about
You have seen the claims. "A 7 billion parameter model." "A 70 billion parameter model." Our own small model has 72,632,320 parameters. But what is a parameter?
A parameter is one number inside the model that training is allowed to change. That is all. A model is a huge pile of these numbers, arranged in tables. Training adjusts them until the guesses get good. When training ends, the numbers are frozen, and they are the model. Save them in a file and you have saved the model.
Why it matters
The parameter count tells you three practical things.
How much memory the model needs. Each number takes space. The more numbers, the bigger the file and the more memory you need to run it.
How long it takes to train and run. More numbers means more arithmetic for every word.
Roughly how much the model can learn. A model with more numbers can hold more patterns. That does not mean it is smarter for your task. A small model aimed at one job can beat a big one that was not trained for that job.
So the count is a good first question. It is not the last one.
How it works
Think of a model as a stack of layers. Each layer holds tables of numbers. When text goes in, the model turns each token into a list of numbers. Then the list passes through each layer, where it gets multiplied against those tables. We covered this sum in the article on matrix multiplication.
The size of the tables sets the count. A table with 1,024 rows and 1,024 columns holds 1,024 times 1,024 numbers, which is 1,048,576. Our model has a width of 1,024, so tables of that shape appear again and again. Stack five layers, each with several tables, add a table that maps 8,192 possible tokens to lists of numbers, and the count climbs into the tens of millions.
Here are the real settings of our model, Metis:
- 5 layers
- width of 1,024
- 16 attention heads (parallel ways of looking at the text)
- a vocabulary of 8,192 tokens
- a context window of 4,096 tokens (how much text it can see at once)
Those choices add up to 72,632,320 parameters.
One honest footnote. Our early records call this family "63M", and the exported model is 72,632,320. Our notes do not explain the gap between the two names, so we do not try to.
What a parameter costs in bytes
A number can be stored in different sizes. At 32 bits, each parameter takes 4 bytes. At 8 bits, it takes 1 byte. The checkpoint of our model takes 290,778,336 bytes at 32 bits and 77,475,104 bytes at 8 bits. The 8-bit file is about a quarter of the 32-bit one.
Compare a model with 35 billion parameters. The squeezed weight pack of one such model we run is 21 GB. Ours is about 480 times smaller by count. A graphics card with 24 GB of memory holds ours with huge room to spare.
Why a small model can be the right tool
Our model has one job. It reads a question and picks one of four tools: a calculator, a lookup in our notes, a page fetch or a small script runner. Then it fills in the tool's options.
That is a narrow task. It does not need to write a poem or explain history. It needs to learn a format and a choice. A model of this size learned it from examples in 405 seconds of training on one gaming card.
There are real limits, and we measured them:
- The model used a real tool result in 22 of 56 held-out questions in its first run. After ten times more training text it reached 55 of 56.
- It did not move on a common-sense test, even with more text. Small means small. It will not be your all-purpose chat model.
- Its first training run made it worse at plain reading, even as it got better at tools.
So the right reading is not "small beats big". It is: for a narrow job with clear checks, a small model can be enough, and it is cheap to train, run and test. For open questions you need a bigger one.
A rule of thumb we learned the hard way
One more number matters beside the parameter count: how much text the model reads in training. Our first run gave the model about half a token of text per parameter. The later run gave it about 5.5. The model and recipe were the same. The tool score jumped from 22 to 55. For a small model, the amount of text it reads can matter as much as its size.
Words you may not know
- Parameter: one number in the model that training changes.
- Layer: one stage in the model that transforms the text's numbers.
- Width: how long the list of numbers is for each token. Ours is 1,024.
- Vocabulary: the set of tokens the model knows. Ours has 8,192.
- Context window: how much text the model can see at one time.
- Checkpoint: the saved parameters of a model at one moment.
- Bit: the smallest unit of storage. Eight bits make one byte.
Try it
The engine that runs our models on AMD graphics cards is described on the mojo-baro project page, and the code is on GitHub. If you have a model file, a good first test is to read its size in bytes and divide by its bits per parameter. You can guess its parameter count from the file alone.
Talk about model sizes with us at gllm.forum.
Read next
Closed at 63M: What Lost lists the training changes we tried at this size, and 400 Million Tokens for 73 Million Parameters shows what ten times more text did.

Comments
No comments yet.
Log in to comment.