How-to-build-own-text-summarizer-using-deep-learning icon indicating copy to clipboard operation
How-to-build-own-text-summarizer-using-deep-learning copied to clipboard

How to implement prediction to a new review

Open hala97 opened this issue 4 years ago • 5 comments

How can i use the model to compute prediction for an inserted review by the user!! Any help! And how to overcome the problem of duplication in the output summary??!

hala97 avatar Aug 03 '20 18:08 hala97

I have exactly the same requirement! How can I predict summary for a new review given that I don't already have a summary?

aniket-somwanshi avatar Jan 01 '21 06:01 aniket-somwanshi

@aniket-somwanshi @hala97 You need to preprocess your text in same way you did to train the model before predicting the result. After pre-processing you need to call decode_sequence(text_pp.reshape(1, max_text_len)) function. Here text_pp is preprocessed sequence.

sazzadshopno avatar Apr 10 '21 09:04 sazzadshopno

How can I use the model after saving the trained model to predict single summaries ? I want to be able to use the model on a different notebook or environment by giving single inputs. If anybody could help soon I would be verry happy.

Moreons avatar Dec 14 '22 20:12 Moreons

How can I use the model after saving the trained model to predict single summaries ? I want to be able to use the model on a different notebook or environment by giving single inputs. If anybody could help soon I would be verry happy.

where you trained this model

ratnesh-advance avatar Mar 26 '23 07:03 ratnesh-advance

My colab crash while training help me. my gmail [email protected] contact me

ratnesh-advance avatar Mar 26 '23 07:03 ratnesh-advance