Felix commited on
Commit
2617fdb
1 Parent(s): e3e784a

fix id -> str

Browse files
Files changed (1) hide show
  1. superlim-2.py +2 -2
superlim-2.py CHANGED
@@ -278,7 +278,7 @@ class SuperLim(datasets.GeneratorBasedBuilder):
278
  elif self.config.name == 'swefracas':
279
  features = datasets.Features(
280
  {
281
- "id": datasets.Value("id"),
282
  "original_id": datasets.Value("string"),
283
  "attribute": datasets.Value("string"),
284
  "value": datasets.Value("string")
@@ -301,7 +301,7 @@ class SuperLim(datasets.GeneratorBasedBuilder):
301
  elif self.config.name == 'swedn':
302
  features = datasets.Features(
303
  {
304
- "id": datasets.Value("id"),
305
  "headline": datasets.Value("string"),
306
  "summary": datasets.Value("string"),
307
  "article": datasets.Value("string"),
 
278
  elif self.config.name == 'swefracas':
279
  features = datasets.Features(
280
  {
281
+ "id": datasets.Value("string"),
282
  "original_id": datasets.Value("string"),
283
  "attribute": datasets.Value("string"),
284
  "value": datasets.Value("string")
 
301
  elif self.config.name == 'swedn':
302
  features = datasets.Features(
303
  {
304
+ "id": datasets.Value("string"),
305
  "headline": datasets.Value("string"),
306
  "summary": datasets.Value("string"),
307
  "article": datasets.Value("string"),