Datasets:
Update ceval-exam.py
Browse files- ceval-exam.py +4 -4
ceval-exam.py
CHANGED
@@ -34,7 +34,7 @@ _HOMEPAGE = "https://cevalbenchmark.com"
|
|
34 |
|
35 |
_LICENSE = "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License"
|
36 |
|
37 |
-
_URL = r"https://huggingface.co/datasets/ceval/ceval-exam/resolve/main/
|
38 |
|
39 |
task_list = [
|
40 |
"computer_network",
|
@@ -134,7 +134,7 @@ class CevalExam(datasets.GeneratorBasedBuilder):
|
|
134 |
name=datasets.Split.TEST,
|
135 |
gen_kwargs={
|
136 |
"filepath": os.path.join(
|
137 |
-
data_dir, "
|
138 |
),
|
139 |
},
|
140 |
),
|
@@ -142,7 +142,7 @@ class CevalExam(datasets.GeneratorBasedBuilder):
|
|
142 |
name=datasets.Split("val"),
|
143 |
gen_kwargs={
|
144 |
"filepath": os.path.join(
|
145 |
-
data_dir,
|
146 |
),
|
147 |
},
|
148 |
),
|
@@ -150,7 +150,7 @@ class CevalExam(datasets.GeneratorBasedBuilder):
|
|
150 |
name=datasets.Split("dev"),
|
151 |
gen_kwargs={
|
152 |
"filepath": os.path.join(
|
153 |
-
data_dir, "
|
154 |
),
|
155 |
},
|
156 |
),
|
|
|
34 |
|
35 |
_LICENSE = "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License"
|
36 |
|
37 |
+
_URL = r"https://huggingface.co/datasets/ceval/ceval-exam/resolve/main/ceval-exam.zip"
|
38 |
|
39 |
task_list = [
|
40 |
"computer_network",
|
|
|
134 |
name=datasets.Split.TEST,
|
135 |
gen_kwargs={
|
136 |
"filepath": os.path.join(
|
137 |
+
data_dir, "test", f"{task_name}_test.csv"
|
138 |
),
|
139 |
},
|
140 |
),
|
|
|
142 |
name=datasets.Split("val"),
|
143 |
gen_kwargs={
|
144 |
"filepath": os.path.join(
|
145 |
+
data_dir, "val", f"{task_name}_val.csv"
|
146 |
),
|
147 |
},
|
148 |
),
|
|
|
150 |
name=datasets.Split("dev"),
|
151 |
gen_kwargs={
|
152 |
"filepath": os.path.join(
|
153 |
+
data_dir, "dev", f"{task_name}_dev.csv"
|
154 |
),
|
155 |
},
|
156 |
),
|