Datasets:

srzhang commited on
Commit
caf4539
·
verified ·
1 Parent(s): 73e2b37

Update LongConL.py

Browse files
Files changed (1) hide show
  1. LongConL.py +2 -2
LongConL.py CHANGED
@@ -35,7 +35,7 @@ _CONFIGS = {
35
  "Opinion Text": datasets.Value("string"),
36
  "Numerical Label": datasets.Value("string"), # Will be optional for some tasks
37
  "Text Label": datasets.Value("string"), # Will be optional for some tasks
38
- "DC Numerical Label": row["DC Numerical Label"]
39
  #"Syllabus": datasets.Value("string") # Will be optional for some tasks
40
  },
41
  }
@@ -55,7 +55,7 @@ class LongConLDataset(datasets.GeneratorBasedBuilder):
55
  "Opinion Text": datasets.Value("string"),
56
  "Numerical Label": datasets.Value("string"), # Will be optional for some tasks
57
  "Text Label": datasets.Value("string"), # Will be optional for some tasks
58
- "DC Numerical Label": row["DC Numerical Label"]
59
  #"Syllabus": datasets.Value("string") # Will be optional for some tasks
60
  })
61
  return datasets.DatasetInfo(
 
35
  "Opinion Text": datasets.Value("string"),
36
  "Numerical Label": datasets.Value("string"), # Will be optional for some tasks
37
  "Text Label": datasets.Value("string"), # Will be optional for some tasks
38
+ "DC Numerical Label": datasets.Value("string")
39
  #"Syllabus": datasets.Value("string") # Will be optional for some tasks
40
  },
41
  }
 
55
  "Opinion Text": datasets.Value("string"),
56
  "Numerical Label": datasets.Value("string"), # Will be optional for some tasks
57
  "Text Label": datasets.Value("string"), # Will be optional for some tasks
58
+ "DC Numerical Label": datasets.Value("string")
59
  #"Syllabus": datasets.Value("string") # Will be optional for some tasks
60
  })
61
  return datasets.DatasetInfo(