microsoft / CodeXGLUE

CodeXGLUE
MIT License
1.5k stars 363 forks source link

When resuming from a saved checkpoint, the train_dataloader doesn't resume from the same saved step. #176

Open cridin1 opened 8 months ago

cridin1 commented 8 months ago

In the run_lm.py of CodeCompletion-token, the "step, batch" loop doesn't take into account also the saved checkpoint step.