Hi,
I have a system saving an HF pipeline with the following code:
from transformers import pipeline
text_generator = pipeline('...')
text_generator.save_pretrained('modeldir')
How can I re-instantiate that model from a different system
What code snippet can do that? I’m looking for something like p = pipeline.from_pretrained('...')
but couldn’t find such a thing in the doc