Question about parameter count 1B

#1
by pengwenzhi - opened

Hi! I noticed that the model is named open-1b-sft, but Hugging Face shows 2B parameters. Could you clarify the actual parameter count and why it differs from the model name?

Gensyn org

Hey @pengwenzhi good question! open-1b is 1.61B total parameters -- 1.08B non-embedding, which is the figure in the model card farther down.

The 2B parameters in the sidebar is HF's rounded display # of the count it reads from the Safetensors header, so it is rounding 1.61b -> 2b. The 1B in the name itself is the size class which matches the non-embedding count of 1.08B. Other models adopt this convention too -- for example Llama 3.2 1B is actually 1.24B (rounds down).

You can check this in a couple ways: on the file tab you'll see the model.safetensors file is 6.43gb which, stored at F32, is 1.61B parameters. You can also use a curl command on HF's API to see how it computed the number from the header:

curl -s "https://huggingface.co/api/models/Gensyn/open-1b-sft?expand=safetensors" | jq .safetensors

image

Which returns the parameters object + a 'total'. That total is what gets rounded up to the "2B Params" in that pill you're looking at.

got it !

Sign up or log in to comment