Felix
commited on
Commit
•
514ad8d
1
Parent(s):
13105d9
forgot to add new meta column to _generate_examples
Browse files- superlim-2.py +2 -6
superlim-2.py
CHANGED
@@ -386,14 +386,10 @@ class SuperLim(datasets.GeneratorBasedBuilder):
|
|
386 |
}
|
387 |
elif self.config.name == "swediagnostics":
|
388 |
yield key, {
|
389 |
-
'lexical_semantics': row['lexical_semantics'],
|
390 |
-
'predicate_argument_structure': row['predicate_argument_structure'],
|
391 |
-
'logic': row['logic'],
|
392 |
-
'knowledge': row['knowledge'],
|
393 |
-
'domain': row['domain'],
|
394 |
'premise': row['premise'],
|
395 |
'hypothesis': row['hypothesis'],
|
396 |
-
'label': row['label']
|
|
|
397 |
}
|
398 |
elif self.config.name == "swedn":
|
399 |
yield key, {
|
|
|
386 |
}
|
387 |
elif self.config.name == "swediagnostics":
|
388 |
yield key, {
|
|
|
|
|
|
|
|
|
|
|
389 |
'premise': row['premise'],
|
390 |
'hypothesis': row['hypothesis'],
|
391 |
+
'label': row['label'],
|
392 |
+
'meta': row['meta'],
|
393 |
}
|
394 |
elif self.config.name == "swedn":
|
395 |
yield key, {
|