import os import transformers mod = transformers.pipeline("zero-shot-classification", model="facebook/bart-large-mnli") mod.save_pretrained('./')