Datasets:

srzhang commited on
Commit
5c1f9f0
·
1 Parent(s): a22e20f
Files changed (1) hide show
  1. LongConL.py +1 -3
LongConL.py CHANGED
@@ -39,7 +39,6 @@ tasks = {
39
  "ATS-Jurisdiction": False,
40
  "ATS-FavorableJudgment": False,
41
  "JRC-AREA1": True
42
-
43
  # Add other tasks here with True/False for numerical label presence
44
  }
45
 
@@ -53,7 +52,7 @@ class LongConLDataset(datasets.GeneratorBasedBuilder):
53
  """Return dataset information."""
54
  features = self.config.features # Use the features from the current config
55
  return datasets.DatasetInfo(
56
- description=_DESCRIPTION,
57
  features=features,
58
  homepage=_HOMEPAGE,
59
  citation=_CITATION,
@@ -104,7 +103,6 @@ class LongConLDataset(datasets.GeneratorBasedBuilder):
104
  name=task_name,
105
  version=datasets.Version("1.0.0"),
106
  description=config["description"],
107
- features=config["features"],
108
  )
109
  for task_name, config in _CONFIGS.items()
110
  ]
 
39
  "ATS-Jurisdiction": False,
40
  "ATS-FavorableJudgment": False,
41
  "JRC-AREA1": True
 
42
  # Add other tasks here with True/False for numerical label presence
43
  }
44
 
 
52
  """Return dataset information."""
53
  features = self.config.features # Use the features from the current config
54
  return datasets.DatasetInfo(
55
+ description=_CONFIGS[self.config.name]["description"], # Get description from _CONFIGS
56
  features=features,
57
  homepage=_HOMEPAGE,
58
  citation=_CITATION,
 
103
  name=task_name,
104
  version=datasets.Version("1.0.0"),
105
  description=config["description"],
 
106
  )
107
  for task_name, config in _CONFIGS.items()
108
  ]