microsoft / CodeXGLUE

CodeXGLUE
MIT License
1.56k stars 366 forks source link

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

Open cridin1 opened 11 months ago

cridin1 commented 11 months ago

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

Leo-Ritchie commented 1 week ago

Hello, have you solved this problem