hiersumm icon indicating copy to clipboard operation
hiersumm copied to clipboard

How to generate summary after loading the model ?

Open vishaljoshi-066 opened this issue 5 years ago • 4 comments

I am new to this, can you please guide me how to generate summary after successfully loading the pretrained model. I have used this command to load the pretrained model :-

Import torch Model=torch.load(‘wikisum_model_step_500000.pt’) Print(model)

This is working fine and printing all the weights, what should i do now ?

vishaljoshi-066 avatar Nov 14 '19 12:11 vishaljoshi-066

Hello Vishal!! Did you get any solution?

samirkapure avatar Apr 10 '20 21:04 samirkapure

Hello Vishal!! Did you get any solution?

I switched to BERT Extractive summarizer which is a pretrained model and can be implement with just 3 lines of code.

vishaljoshi-066 avatar Apr 14 '20 09:04 vishaljoshi-066

But extractive doesnt give good results....its contextless

samirkapure avatar Apr 14 '20 17:04 samirkapure

On the other hand, abstractive summarizer will not make proper sentences.

Sent from my iPhone

On 14-Apr-2020, at 10:50 PM, samirkapure [email protected] wrote:

 But extractive doesnt give good results....its contextless

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

vishaljoshi-066 avatar Apr 18 '20 13:04 vishaljoshi-066