Datasets:
Add the category in the dataset's features
Browse files- legal_lama.py +1 -1
legal_lama.py
CHANGED
@@ -101,7 +101,7 @@ class LegalLAMA(datasets.GeneratorBasedBuilder):
|
|
101 |
]
|
102 |
|
103 |
def _info(self):
|
104 |
-
features = {"text": datasets.Value("string"), "label": datasets.Value("string")}
|
105 |
return datasets.DatasetInfo(
|
106 |
description=self.config.description,
|
107 |
features=datasets.Features(features),
|
|
|
101 |
]
|
102 |
|
103 |
def _info(self):
|
104 |
+
features = {"text": datasets.Value("string"), "label": datasets.Value("string"), "category": datasets.Value("string")}
|
105 |
return datasets.DatasetInfo(
|
106 |
description=self.config.description,
|
107 |
features=datasets.Features(features),
|