fix #3837
This commit is contained in:
parent
483eb47e5d
commit
3404e8f302
|
@ -154,7 +154,7 @@ class MMLU(datasets.GeneratorBasedBuilder):
|
|||
]
|
||||
|
||||
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")):
|
||||
|
|
Loading…
Reference in New Issue