We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6914d27 commit ac40de4Copy full SHA for ac40de4
1 file changed
src/instructlab/eval/mt_bench_branch_generator.py
@@ -60,7 +60,7 @@ def generate(judge_model_name, branch, taxonomy_dir, output_dir):
60
if q is None or a is None:
61
continue
62
63
- c = ex["question"] if "context" in ex else None
+ c = ex.get("context")
64
if c is not None:
65
t_1 = (
66
"Given the context below:\n"
0 commit comments