Datasets:

Languages:
English
ArXiv:
License:
ngarneau commited on
Commit
831b124
1 Parent(s): 464765c

Add the category in the dataset's features

Browse files
Files changed (1) hide show
  1. 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),