Skip to content

Model architecture similar to GPT-2 small but parameter count mismatch #2

Description

@Dimagidhp

Hi, I’m experimenting with the architecture using the same configuration as GPT-2 small , but I'm noticing that the total number of parameters does not match the expected count for a GPT-2 model. I'm using the following configuration:
Embedding dimension: 768
Hidden dimension: 3072
Number of layers: 12
Number of heads: 12
Is there something specific in the architecture (e.g., embedding layers, heads, layer norm, etc.) that might explain the difference? Or is the model structure not meant to exactly mirror GPT-2?

Any insight would be greatly appreciated!

Thanks in advance.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions