deep-learning-with-python-notebooks icon indicating copy to clipboard operation
deep-learning-with-python-notebooks copied to clipboard

Added model parameter to TextGenerator class

Open arkajyotimitra opened this issue 1 year ago • 0 comments

I have added the model parameter to generate the text as expected by the TextGenerator class. Earlier the self.model(tokenized_sentence) would not recognize the model.

If the model is not trained using the model.fit, it will generate random words. After training, running the cell again will generate better reviews.

arkajyotimitra avatar Jul 09 '24 22:07 arkajyotimitra