bert-extractive-summarizer
bert-extractive-summarizer copied to clipboard
Don't load the SBERT model twice
Hi,
My use case is the following:
- I load some text
- Use bert-extractive-summarizer to summarize it
- Use SBERT to calculate vectors out of it
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.