AsakusaRinne
commited on
Commit
•
6f53b50
1
Parent(s):
42079d8
update generator.
Browse files- gaokao_bench.py +1 -0
gaokao_bench.py
CHANGED
@@ -116,6 +116,7 @@ class GaokaoBench(datasets.GeneratorBasedBuilder):
|
|
116 |
]
|
117 |
|
118 |
def _generate_examples(self, filepath):
|
|
|
119 |
df = pd.read_csv(filepath,encoding="utf-8")
|
120 |
for i, instance in enumerate(df.to_dict(orient="records")):
|
121 |
if "answer" not in instance.keys():
|
|
|
116 |
]
|
117 |
|
118 |
def _generate_examples(self, filepath):
|
119 |
+
print(filepath)
|
120 |
df = pd.read_csv(filepath,encoding="utf-8")
|
121 |
for i, instance in enumerate(df.to_dict(orient="records")):
|
122 |
if "answer" not in instance.keys():
|