"vscode:/vscode.git/clone" did not exist on "ea26c37bad0614fe67411daf501d034d0848e2cb"
Move save/load checkpoint functions to utils
Summary: Move `load_checkpoint`, `save_checkpoint` and `reload_train` from train.py to checkpoint_utils.py Move `get_perplexity` from train.py to utils.py. This will make train.py lighter and allow us to reuse all this utils functionality when fairseq is used as external library. Reviewed By: myleott Differential Revision: D15289607 fbshipit-source-id: 4b7c95225ac22e402bcda3497811361809110df1
Showing
Please register or sign in to comment