Update SciGraph.py
Browse files- SciGraph.py +1 -2
SciGraph.py
CHANGED
@@ -58,8 +58,7 @@ class SciGraph(datasets.GeneratorBasedBuilder):
|
|
58 |
DEFAULT_CONFIG_NAME = "function"
|
59 |
|
60 |
def _info(self):
|
61 |
-
|
62 |
-
classes = list(json.load(f).keys())
|
63 |
if self.config.name == "function": # This is the name of the configuration selected in BUILDER_CONFIGS above
|
64 |
features = datasets.Features(
|
65 |
{
|
|
|
58 |
DEFAULT_CONFIG_NAME = "function"
|
59 |
|
60 |
def _info(self):
|
61 |
+
classes = ['综述与进展', '论证与对比', '思考与探讨', '原理与计算', '技术与方法', '设计与应用']
|
|
|
62 |
if self.config.name == "function": # This is the name of the configuration selected in BUILDER_CONFIGS above
|
63 |
features = datasets.Features(
|
64 |
{
|