Is this really a 1B model?

#2
by mindplay - opened

The model gets detected as 2B - and the file is ~3.6GB, while typical 1B models (such as Gemma 3) at the same precision (BF16) are generally in the area of ~2.0GB.

Is it a 1B model or what are you leaving out? 😊

Danish Foundation Models org

Great question. The model has under 1B parameters without the embeddings and the language modelling head. Taking into account the language modelling head, which is approx. 0.4B parameters, we land at 1.3B. The remaining 0.4B are the embeddings.

without the embeddings and the language modelling head

when did we start measuring language models without their embeddings or head?

I'm genuinely asking, because I've come across two other projects recently trying to do the same thing, and it's honestly just confusing.

Correct me if I'm wrong, but usually, if you see e.g. "1B at 8BFP", you'd expect to see a ~1GB file, right?

has the whole industry recently decided it's more important to look competitive than it is to provide us with the real dimensions? 😊

it feels like obfuscation, and it makes it difficult to compare... "1B" to begin with can already mean a lot of different things - from your 3.6GB model down to Bonsai/BitNet type models at a few hundred MB.

speaking of, will you be shipping quantized versions, and do you have any idea what sort of performance we can expect there? 16 bits per parameter is a bit high by today's standards for small models? 😊

Danish Foundation Models org

I am sorry if you believe we have been misleading. It is not completely uncommon, many models vary in their reported size by quite a bit and we are by no means the first to focus on the active parameters and discount the embedding layer.

E.g. over at MTEB we report active parameters as it closer reflects the runtime and ecologits use active parameter to estimate energy usage.

Huggingface luckily allow you to inspect the dimensions on each layer, so it the numbers should be there for you to inspect.

I don’t know of any plans to make a low precision version of the model.

Sign up or log in to comment