bert-extractive-summarizer icon indicating copy to clipboard operation
bert-extractive-summarizer copied to clipboard

Don't load the SBERT model twice

Open Mokto opened this issue 1 year ago • 0 comments

Hi,

My use case is the following:

My issue is that I have to load the "same" model twice:

cv_model = SentenceTransformer(models_location)
summarizer_model = SBertSummarizer(models_location)

is there any way around it ?

Thanks.

Mokto avatar Sep 06 '22 04:09 Mokto