Question on Poem (text) generator

Hi,
I am replicating the text generator (poem generator) but my machine will take very long with the gigantic model and 100 epochs.
Just a simple question: if I run 5 epochs and then save the model (model.save_weights). Can I shutdown the machine, start it later, load the model (model.load_weights) and resume training with epoch 6? Is there anything I should consider in order to do the training in separate “model.fit” executions?
Thanks!

© Copyright 2013-2019 Analytics Vidhya