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

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

Open matthiasamberg opened this issue 2 years ago • 2 comments

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.

matthiasamberg avatar May 05 '23 14:05 matthiasamberg

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

ifond avatar May 05 '23 14:05 ifond

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

lxl0506 avatar May 05 '23 14:05 lxl0506