From: François Fleuret Date: Mon, 24 Jun 2024 21:17:53 +0000 (+0200) Subject: Update. X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=1fb7ff66e07f267511f0f2592509a3f3212fc8f0;p=culture.git Update. --- diff --git a/tasks.py b/tasks.py index 39372f3..6fd835d 100755 --- a/tasks.py +++ b/tasks.py @@ -295,11 +295,11 @@ class World(Task): # Oh man that's ugly if average_logits < desired_average_logits: - if d_temperature < 0: + if d_temperature > 0: d_temperature *= -0.5 temperature += d_temperature elif average_logits > desired_average_logits * 0.95: - if d_temperature > 0: + if d_temperature < 0: d_temperature *= -0.5 temperature += d_temperature else: