projects
/
culture.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8433ea2
)
Update.
author
François Fleuret
<francois@fleuret.org>
Fri, 13 Sep 2024 09:51:49 +0000
(11:51 +0200)
committer
François Fleuret
<francois@fleuret.org>
Fri, 13 Sep 2024 09:51:49 +0000
(11:51 +0200)
main.py
patch
|
blob
|
history
diff --git
a/main.py
b/main.py
index
5c086cf
..
fb8f8cf
100755
(executable)
--- a/
main.py
+++ b/
main.py
@@
-115,7
+115,7
@@
parser.add_argument("--accuracy_to_make_c_quizzes", type=float, default=0.95)
parser.add_argument("--prompt_noise", type=float, default=0.05)
-parser.add_argument("--nb_hints", type=int, default=5)
+parser.add_argument("--nb_hints", type=int, default=
2
5)
parser.add_argument("--nb_runs", type=int, default=1)
@@
-1305,7
+1305,7
@@
def multithread_execution(fun, arguments):
def save_models(models, suffix=""):
- if suffix
is not
"":
+ if suffix
!=
"":
suffix = "_" + suffix
for model in models:
filename = f"ae_{model.id:03d}{suffix}.pth"