Skip to content
Open
Changes from 2 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
3 changes: 1 addition & 2 deletions src/lighteval/tasks/tasks/truthfulqa.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ def truthful_qa_generative_prompt(line, task_name: str = None):
task_name=task_name,
query=line["question"].strip(),
choices=correct_answers + incorrect_answers,
gold_index=list(range(len(correct_answers))),
specific={"len_mc1": len(line["mc1_targets"]["choices"])},
gold_index=list(range(len(correct_answers)))
)


Expand Down
Loading