We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6914d27 + ac40de4 commit 3504b6dCopy full SHA for 3504b6d
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