rbawden commited on
Commit
489bc09
1 Parent(s): 8236ab8

Update DiaBLa.py

Browse files
Files changed (1) hide show
  1. DiaBLa.py +10 -10
DiaBLa.py CHANGED
@@ -86,20 +86,20 @@ class Diabla(datasets.GeneratorBasedBuilder):
86
  'translation_model': datasets.Value('string'),
87
  'final_evaluation_user1': datasets.features.Sequence(
88
  {
89
- 'style': ClassLabel(num_classes=3, names=['poor', 'average', 'good', 'excellent']),
90
- 'coherence': ClassLabel(num_classes=3, names=['poor', 'average', 'good', 'excellent']),
91
- 'grammaticality': ClassLabel(num_classes=3, names=['poor', 'average', 'good', 'excellent']),
92
- 'meaning': ClassLabel(num_classes=3, names=['poor', 'average', 'good', 'excellent']),
93
- 'word_choice': ClassLabel(num_classes=3, names=['poor', 'average', 'good', 'excellent'])
94
  }
95
  ),
96
  'final_evaluation_user2': datasets.features.Sequence(
97
  {
98
- 'style': ClassLabel(num_classes=3, names=['poor', 'average', 'good', 'excellent']),
99
- 'coherence': ClassLabel(num_classes=3, names=['poor', 'average', 'good', 'excellent']),
100
- 'grammaticality': ClassLabel(num_classes=3, names=['poor', 'average', 'good', 'excellent']),
101
- 'meaning': ClassLabel(num_classes=3, names=['poor', 'average', 'good', 'excellent']),
102
- 'word_choice': ClassLabel(num_classes=3, names=['poor', 'average', 'good', 'excellent'])
103
  }
104
  ),
105
  'scenario': datasets.features.Sequence(
 
86
  'translation_model': datasets.Value('string'),
87
  'final_evaluation_user1': datasets.features.Sequence(
88
  {
89
+ 'style': ClassLabel(num_classes=4, names=['poor', 'average', 'good', 'excellent']),
90
+ 'coherence': ClassLabel(num_classes=4, names=['poor', 'average', 'good', 'excellent']),
91
+ 'grammaticality': ClassLabel(num_classes=4, names=['poor', 'average', 'good', 'excellent']),
92
+ 'meaning': ClassLabel(num_classes=4, names=['poor', 'average', 'good', 'excellent']),
93
+ 'word_choice': ClassLabel(num_classes=4, names=['poor', 'average', 'good', 'excellent'])
94
  }
95
  ),
96
  'final_evaluation_user2': datasets.features.Sequence(
97
  {
98
+ 'style': ClassLabel(num_classes=4, names=['poor', 'average', 'good', 'excellent']),
99
+ 'coherence': ClassLabel(num_classes=4, names=['poor', 'average', 'good', 'excellent']),
100
+ 'grammaticality': ClassLabel(num_classes=4, names=['poor', 'average', 'good', 'excellent']),
101
+ 'meaning': ClassLabel(num_classes=4, names=['poor', 'average', 'good', 'excellent']),
102
+ 'word_choice': ClassLabel(num_classes=4, names=['poor', 'average', 'good', 'excellent'])
103
  }
104
  ),
105
  'scenario': datasets.features.Sequence(