OpenKiwi now saves the latest model at every epoch. This, while maintaining previous checkpointing behaviour.
At checkpoint time Kiwi checks if this is the best eval so far.
If not it saves the full model under output-dir/latest_epoch.
Else, it saves the best eval as previously and places links to those in the aforementioned folder.
On resuming, Kiwi now looks for output-dir/latest_epoch. If this is not found it falls back into previous behaviour (loading from checkpoints) as such, this should be 100% compatible with previous kiwi versions.
This came as a response to unclear behaviour, brought up in #35.
OpenKiwi now saves the latest model at every epoch. This, while maintaining previous checkpointing behaviour.
At checkpoint time Kiwi checks if this is the best eval so far. If not it saves the full model under
output-dir/latest_epoch
. Else, it saves the best eval as previously and places links to those in the aforementioned folder.On resuming, Kiwi now looks for
output-dir/latest_epoch
. If this is not found it falls back into previous behaviour (loading from checkpoints) as such, this should be 100% compatible with previous kiwi versions.This came as a response to unclear behaviour, brought up in #35.