Replies: 1 comment
-
|
Short answer: no, Megatron-LM does not automatically reshuffle or reset dataset order when you change sequence length mid-training — but changing seq-length is not a “transparent” operation either. What happens depends on how you change the sequence length and whether you restart the data loader / training state. 1. What actually controls data order in Megatron-LMMegatron-LM data ordering is determined by:
So order is already fixed at dataset construction time, not sequence length. 2. If you ONLY change
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Your question
If I change the
seq-lengthduring training, like 4096 -> 8192, or 4096 -> 1024, will the data loader reset the order of the dataset or continue with the old order?I want to change the
seq-lengthafter training maybe 100k steps, and I need the model to continue train with the left data, will Megatron-LM do this by default?Beta Was this translation helpful? Give feedback.
All reactions