Saving pickle files in kaggle

There’s a weird thing about kaggle that every time i save my model as pickle file and i restart my kernel, the pickle file is gone. Any helps, please.

Kaggle kernels open in draft mode by default. In this mode the storage doesn’t persist.

You would need to “commit” the kernel which would run your kernel as a job and then save the output in a persistant storage.

Glad for the help

1 Like