Muennighoff
commited on
Commit
•
a403da0
1
Parent(s):
4cd0335
Fix naming
Browse files- humaneval-x-bugs.py +6 -6
humaneval-x-bugs.py
CHANGED
@@ -50,17 +50,17 @@ class HumanEvalXBugsConfig(datasets.BuilderConfig):
|
|
50 |
self.features = features
|
51 |
|
52 |
|
53 |
-
class
|
54 |
VERSION = datasets.Version("1.0.0")
|
55 |
BUILDER_CONFIGS = [
|
56 |
-
|
57 |
name="python",
|
58 |
description="Python HumanEvalBugs",
|
59 |
features=[
|
60 |
"task_id", "prompt", "declaration", "canonical_solution", "test", "example_test", "bug_type", "failure_symptoms", "entry_point"
|
61 |
]
|
62 |
),
|
63 |
-
|
64 |
name="cpp",
|
65 |
description="C++ HumanEvalBugs",
|
66 |
features=[
|
@@ -68,14 +68,14 @@ class HumanEvalX(datasets.GeneratorBasedBuilder):
|
|
68 |
]
|
69 |
),
|
70 |
|
71 |
-
|
72 |
name="go",
|
73 |
description="Go HumanEvalBugs",
|
74 |
features=[
|
75 |
"task_id", "prompt", "declaration", "canonical_solution", "test", "example_test", "bug_type", "failure_symptoms", "entry_point"
|
76 |
]
|
77 |
),
|
78 |
-
|
79 |
name="java",
|
80 |
description="Java HumanEvalBugs",
|
81 |
features=[
|
@@ -83,7 +83,7 @@ class HumanEvalX(datasets.GeneratorBasedBuilder):
|
|
83 |
]
|
84 |
),
|
85 |
|
86 |
-
|
87 |
name="js",
|
88 |
description="JavaScript HumanEvalBugs",
|
89 |
features=[
|
|
|
50 |
self.features = features
|
51 |
|
52 |
|
53 |
+
class HumanEvalXBugs(datasets.GeneratorBasedBuilder):
|
54 |
VERSION = datasets.Version("1.0.0")
|
55 |
BUILDER_CONFIGS = [
|
56 |
+
HumanEvalXBugsConfig(
|
57 |
name="python",
|
58 |
description="Python HumanEvalBugs",
|
59 |
features=[
|
60 |
"task_id", "prompt", "declaration", "canonical_solution", "test", "example_test", "bug_type", "failure_symptoms", "entry_point"
|
61 |
]
|
62 |
),
|
63 |
+
HumanEvalXBugsConfig(
|
64 |
name="cpp",
|
65 |
description="C++ HumanEvalBugs",
|
66 |
features=[
|
|
|
68 |
]
|
69 |
),
|
70 |
|
71 |
+
HumanEvalXBugsConfig(
|
72 |
name="go",
|
73 |
description="Go HumanEvalBugs",
|
74 |
features=[
|
75 |
"task_id", "prompt", "declaration", "canonical_solution", "test", "example_test", "bug_type", "failure_symptoms", "entry_point"
|
76 |
]
|
77 |
),
|
78 |
+
HumanEvalXBugsConfig(
|
79 |
name="java",
|
80 |
description="Java HumanEvalBugs",
|
81 |
features=[
|
|
|
83 |
]
|
84 |
),
|
85 |
|
86 |
+
HumanEvalXBugsConfig(
|
87 |
name="js",
|
88 |
description="JavaScript HumanEvalBugs",
|
89 |
features=[
|