parser.add_argument("--deterministic_synthesis", action="store_true", default=False)
-parser.add_argument("--both_directions", action="store_true", default=False)
+parser.add_argument("--bidirectional_validation", action="store_true", default=False)
parser.add_argument("--problem", type=str, default="sky")
parser.add_argument("--nb_gpts", type=int, default=5)
-parser.add_argument("--min_to_validate", type=int, default=4)
+parser.add_argument("--min_to_validate", type=int, default=None)
-parser.add_argument("--max_to_validate", type=int, default=4)
+parser.add_argument("--max_to_validate", type=int, default=None)
parser.add_argument("--accuracy_to_make_c_quizzes", type=float, default=0.975)
parser.add_argument("--dirty_debug", action="store_true", default=False)
-parser.add_argument("--generation_temperature", type=float, default=1.0)
+parser.add_argument("--generation_temperature", type=float, default=2.0)
-parser.add_argument("--stochastic_validation", action="store_true", default=False)
+parser.add_argument("--deterministic_validation", action="store_true", default=False)
######################################################################
args = parser.parse_args()
+if args.min_to_validate is None:
+ args.min_to_validate = args = nb_gpts - 1
+
+if args.max_to_validate is None:
+ args.max_to_validate = args = nb_gpts - 1
+
if args.result_dir is None:
args.result_dir = f"results_culture"
nb_correct, seq_logproba = quizz_machine.compute_correctness(
c_quizzes,
models,
- both_directions=args.both_directions,
- deterministic_validation=not args.stochastic_validation,
+ bidirectional_validation=args.bidirectional_validation,
+ deterministic_validation=args.deterministic_validation,
)
for n, l in zip(nb_correct, seq_logproba):