rbawden commited on
Commit
ca3d393
1 Parent(s): 2632e46

Update DiaBLa.py

Browse files
Files changed (1) hide show
  1. DiaBLa.py +3 -4
DiaBLa.py CHANGED
@@ -95,7 +95,7 @@ class Diabla(datasets.GeneratorBasedBuilder):
95
  datasets.features.Sequence([datasets.Value("string"),
96
  datasets.Value("string")])
97
  ]
98
- )
99
  'user1': datasets.features.Sequence(
100
  {
101
  'rolenum': datasets.Value("int64"),
@@ -104,7 +104,7 @@ class Diabla(datasets.GeneratorBasedBuilder):
104
  'turn_number': datasets.Value("int64"),
105
  'lang': datasets.Value("string"),
106
  }
107
- )
108
  'user2': datasets.features.Sequence(
109
  {
110
  'rolenum': datasets.Value("int64"),
@@ -130,8 +130,7 @@ class Diabla(datasets.GeneratorBasedBuilder):
130
  'problems': datasets.features.Sequence(
131
  [
132
  ClassLabel(num_classes=5,
133
- names=['coherence', 'grammar', 'meaning', 'word choice', 'style']
134
- )
135
  ]
136
  ),
137
  'lang': ClassLabel(num_classes=2, names=['en', 'fr']),
 
95
  datasets.features.Sequence([datasets.Value("string"),
96
  datasets.Value("string")])
97
  ]
98
+ ),
99
  'user1': datasets.features.Sequence(
100
  {
101
  'rolenum': datasets.Value("int64"),
 
104
  'turn_number': datasets.Value("int64"),
105
  'lang': datasets.Value("string"),
106
  }
107
+ ),
108
  'user2': datasets.features.Sequence(
109
  {
110
  'rolenum': datasets.Value("int64"),
 
130
  'problems': datasets.features.Sequence(
131
  [
132
  ClassLabel(num_classes=5,
133
+ names=['coherence', 'grammar', 'meaning', 'word choice', 'style'])
 
134
  ]
135
  ),
136
  'lang': ClassLabel(num_classes=2, names=['en', 'fr']),