Problems with Jupyter

After I run my code in jupyter notebook and start to train my model and saving some checkpoint, because of Kernel crash or any problem, when the space is restarted, all of my datas are lost. These happens to me a few times and I dont know how to solve this problem.