From 9707563cb32ed2335dc4a6edddaa0ebe9cfd1243 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fran=C3=A7ois=20Fleuret?= Date: Mon, 24 Jun 2024 23:19:45 +0200 Subject: [PATCH] Update. --- tasks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5