How to load a pipeline saved with pipeline.save_pretrained?

I think pipeline(task, 'modeldir') should work to reload it.

2 Likes