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