Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[QUESTION] How to Identify Which Document Processing in Forward #1128

Open
zixianwang2022 opened this issue Sep 9, 2024 · 0 comments
Open

Comments

@zixianwang2022
Copy link

zixianwang2022 commented Sep 9, 2024

Your question

Hi, is there a way to know which document or document id is the forward function processing?

I found that data-cache-path flag will store train-sample_index.npy, train-shuffle_index.npy, and train-document_index.npy in https://github.com/NVIDIA/Megatron-LM/blob/main/megatron/core/datasets/gpt_dataset.py#L303

But is there a way to know exactly which document id my forward function is processing at each loop during training?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant