I am experimenting with lesson3: imdb notebook.
My language-model learner is trained and saved, the encoder is also saved (as ‘fine_tuned_enc’).
Now in the classification part of the notebook, where we create a text_classifier_learner, should I load ‘fine_tuned_enc’ using learner.load or leaner.load_encoder?
The notebook uses load_encoder initially but later after some freeze_to and trainings it uses learner.save and learner.load (not load_encoder). Hence the question.
Thank you sir,
If one uses load_decoder, the prediction results are terrible.
learn.predict(“It was awful,terribly worse than I could have imagined”)>>(Category neg, tensor(0), tensor([0.5442, 0.4558]))