cuongnguyen910's picture
Upload folder using huggingface_hub
5120311 verified
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')