diff --git a/src/eval_framework/tasks/benchmarks/squad.py b/src/eval_framework/tasks/benchmarks/squad.py index 7b440604..e0dccca9 100644 --- a/src/eval_framework/tasks/benchmarks/squad.py +++ b/src/eval_framework/tasks/benchmarks/squad.py @@ -176,7 +176,7 @@ def _get_ground_truth(self, item: dict[str, Any]) -> list[str]: self.UNANSWERABLE_STR.capitalize(), ] ground_truths = text_ if text_ else ground_truth_for_unanswerable - return [f" {ground_truth}" for ground_truth in ground_truths] + return [f"{ground_truth}" for ground_truth in ground_truths] def _get_fewshot_target_text(self, item: dict[str, Any]) -> str: target = self._get_ground_truth(item)[0]