dmmiller612 / bert-extractive-summarizer

Easy to use extractive text summarization with BERT
MIT License
1.39k stars 305 forks source link

Can we load the neuralcoref model offline without downloading it from the code? #38

Closed ghost closed 3 years ago

dmmiller612 commented 4 years ago

The only way you could do that is to download the models from huggingface and point the model path to the locally saved path.

zaid-kamil commented 4 years ago

could you please explain, how to pass the model path in the summarizer, a code example would be a great help.

dmmiller612 commented 4 years ago

Hello Zaid,

The README has been updated with how to pass in the coreference model (if desired). You can also bring your own coreference model as well. By default, the summarizer no longer passes in the coreference model, due to the number of libraries available.