Skip to content

Commit

Permalink
fix #3837
Browse files Browse the repository at this point in the history
  • Loading branch information
hiyouga committed May 29, 2024
1 parent 483eb47 commit 3404e8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion evaluation/mmlu/mmlu.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def _split_generators(self, dl_manager):
]

def _generate_examples(self, filepath):
df = pd.read_csv(filepath)
df = pd.read_csv(filepath, header=None)
df.columns = ["question", "A", "B", "C", "D", "answer"]

for i, instance in enumerate(df.to_dict(orient="records")):
Expand Down

0 comments on commit 3404e8f

Please sign in to comment.