deep-learning-with-python-notebooks
deep-learning-with-python-notebooks copied to clipboard
Added model parameter to TextGenerator class
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.