From: François Fleuret Date: Fri, 13 Sep 2024 09:51:49 +0000 (+0200) Subject: Update. X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=abf208b068c54a740da1a27ea7a941d85753892e;p=culture.git Update. --- diff --git a/main.py b/main.py index 5c086cf..fb8f8cf 100755 --- 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=25) 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"