Skip to content

About global batch size for reproducing paper results #5

Description

@GoldMilkyway

Hi, thank you for the impressive work and for releasing the code.

I'm trying to reproduce the GDN-2 results from the paper, but I'm confused about the global batch size.

The paper/README state that the 1.3B models were trained with a global batch size of '0.5M' tokens and sequence length '4K'. My understanding is that this corresponds to 128 x 4K sequences.

However, in pretrain.py, I only see branches for 512x4k, 1024x4k, 256x8k, 128x16k, 64x32k, and 1024x2k. I couldn't find a 128x4k configuration. (Or did you use 4 nodes and compute a global batch size only for a node?)

Am I misunderstanding the effective batch-size calculation, or was another config used for the reported experiments?

Thanks!

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions