projects
/
culture.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35a16ac
)
Update.
author
François Fleuret
<francois@fleuret.org>
Mon, 24 Jun 2024 21:17:53 +0000
(23:17 +0200)
committer
François Fleuret
<francois@fleuret.org>
Mon, 24 Jun 2024 21:17:53 +0000
(23:17 +0200)
tasks.py
patch
|
blob
|
history
diff --git
a/tasks.py
b/tasks.py
index
39372f3
..
6fd835d
100755
(executable)
--- 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: