fastAI V1: How can I load the saved ulmfit model for inference

It is not clear to me how we can use a trained ulmfit model of fastai V1 for inference. I tried to use this script as a backbone (https://github.com/fastai/fastai/blob/master/courses/dl2/imdb_scripts/predict_with_classifier.py), but I cannot seem to figure out how it is possibe in Fastai V1?