How to load saved model/encoder in a different session

Hello all,
I am following the tutorial on training on the IMDb movie review dataset. I have trained the model and saved the encoder as well as the learner. Now I want to use these saved files in different session and for prediction only(No more training a it takes far too much time). When i try to use “learn.load_encoder” or “learn_load” and give it the paths to these files it automatically tries to look in a “models/” directory. (I am doing all this on a kaggle kernel.

Help me out on how to use these weights for prediction only.


Not that familiar with Kaggle’s filesystem, but can you move the trained weights to the models directory? That’s what I do, but on my own machine…