File size: 380 Bytes
5120311 |
1 2 3 4 5 6 7 8 9 10 11 12 |
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')
|