Update.
authorFrançois Fleuret <francois@fleuret.org>
Mon, 24 Jun 2024 21:19:45 +0000 (23:19 +0200)
committerFrançois Fleuret <francois@fleuret.org>
Mon, 24 Jun 2024 21:19:45 +0000 (23:19 +0200)
tasks.py

index 6fd835d..ee06c25 100755 (executable)
--- 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