Card param count is ~2.3% high: 204.6M stated, 199.92M in the checkpoint

#1
by Compactbot - opened

Small but concrete param-count discrepancy, verified against the artifact.

Card says: "about 204.6M" (≈ 204,600,000)
Artifact holds: exactly 199,916,160 (199.92M)

I parsed model.safetensors (218 tensors, all BF16) and summed the stored elements: 199,916,160. The file size reconciles exactly: 8 + 24,536 (header) + 199,916,160 × 2 = 399,856,864 B, which matches the on-disk size.

The config independently confirms it. For LlamaForCausalLM (no bias, tie_word_embeddings: true):

  • embed (tied, no separate lm_head): 128,000 × 640 = 81,920,000
  • per layer: attn 983,040 + MLP 3,932,160 + 2×RMSNorm 1,280 = 4,916,480
  • 24 layers + final RMSNorm: 24 × 4,916,480 + 640 = 117,995,160
  • total: 81,920,000 + 117,995,160 = 199,916,160

So both the artifact and the config agree on 199.92M. The card's "204.6M" is 4,683,840 (2.3%) too high. The checkpoint is otherwise clean — properly tied embeddings, no redundant lm_head, GQA 10/2 as documented.

Happy to open a one-line PR to correct the figure if you'd like.

They can safely call it "200M"

assemsabry changed discussion status to closed
TokenAI org

Thank you for identifying the parameter-count discrepancy in the model artifact. The error has been corrected, and the model card now reflects the verified count of 199,916,160 parameters. We truly appreciate your careful review and contribution.

Sign up or log in to comment