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.
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.