Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/eval_framework/tasks/benchmarks/squad.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
Loading