from sentence_transformers import SentenceTransformer from summarizer import Summarizer model_sum = Summarizer() model = SentenceTransformer('distiluse-base-multilingual-cased-v2') model.save('model/distiluse-base-multilingual-cased-v2') model = SentenceTransformer('paraphrase-multilingual-MiniLM-L12-v2') model.save('model/paraphrase-multilingual-MiniLM-L12-v2')