mirror of
https://github.com/deepseek-ai/DeepSeek-LLM.git
synced 2026-11-05 00:57:25 +00:00
[GH-ISSUE #48] Is the compute calculation wrong for Chinchilla in the paper? #31
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
deepseek-ai/DeepSeek-LLM#31
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @yzlnew on GitHub (Apr 30, 2024).
Original GitHub issue: https://github.com/deepseek-ai/DeepSeek-LLM/issues/48
From the paper, Eq.2 list Chinchilla compute calculation as
The first term comes from the
6NDestimate for non-embedding FLOPs (exclude lm_head parameters as well, maybe because of the tied embeddings), but the second term is not what Chinchilla used to calculate embedding FLOPs, see Appendix F from the Chinchilla paper, total forward pass FLOPs include embeddings and logits calculations.So,
N_2should be larger than what is used in the paper (double the second term)?@yzlnew commented on GitHub (Apr 30, 2024):
Starting from Table 3, I re-add the missing part to
N_2and recalculate6N_2/M, the results are [2.19, 1.50, 1.01, 1.01, 0.97, 0.95, 0.95], which is much closer to 1.0 for larger models.Could you share the data of Figure 6 for further study? Thanks!