fchollet / deep-learning-with-python-notebooks

Jupyter notebooks for the code samples of the book "Deep Learning with Python"
MIT License
18.59k stars 8.63k forks source link

Added missing temperature parameter to call to function sample_next(). #221

Open matthiasamberg opened 1 year ago

matthiasamberg commented 1 year ago

The text generation example (from movie review dataset) samples examples every iteration and wants to use different temperatures to do so. However the temperature variable was not passed on and hence only the default temperature=1.0 was used in each sampling.

Added explicit temperature parameter to the function call.

ifond commented 1 year ago

​ I have received your E-mail——Steven Lee

lxl0506 commented 1 year ago

您好,攀枝花市文广旅局人事科已收到你的邮件!