rbawden commited on
Commit
8295f13
1 Parent(s): 1455d68

Update DiaBLa.py

Browse files
Files changed (1) hide show
  1. DiaBLa.py +3 -4
DiaBLa.py CHANGED
@@ -69,9 +69,9 @@ class Diabla(datasets.GeneratorBasedBuilder):
69
  'ref': datasets.Value("string"),
70
  'utterance_meta': datasets.features.Sequence(
71
  {
72
- 'judgment': ClassLabel(num_classes=3, names=['poor', 'medium', 'perfect']),
73
- 'verbatim': datasets.Value("string"),
74
- 'problems': datasets.features.Sequence(
75
  [
76
  ClassLabel(num_classes=5, names=['coherence', 'grammar', 'meaning', 'word choice', 'style'])
77
  ]
@@ -89,7 +89,6 @@ class Diabla(datasets.GeneratorBasedBuilder):
89
  'scenario': datasets.features.Sequence(
90
  [
91
  [
92
- datasets.Value("string"),
93
  datasets.Value("string")
94
  ]
95
  ]
 
69
  'ref': datasets.Value("string"),
70
  'utterance_meta': datasets.features.Sequence(
71
  {
72
+ 'eval-judgment': ClassLabel(num_classes=3, names=['poor', 'medium', 'perfect']),
73
+ 'eval-verbatim': datasets.Value("string"),
74
+ 'eval-problems': datasets.features.Sequence(
75
  [
76
  ClassLabel(num_classes=5, names=['coherence', 'grammar', 'meaning', 'word choice', 'style'])
77
  ]
 
89
  'scenario': datasets.features.Sequence(
90
  [
91
  [
 
92
  datasets.Value("string")
93
  ]
94
  ]