Datasets:
Tasks:
Text Classification
Sub-tasks:
natural-language-inference
Languages:
English
Multilinguality:
monolingual
Size Categories:
1K<n<10K
Language Creators:
machine-generated
Annotations Creators:
machine-generated
Source Datasets:
original
Tags:
License:
Update files from the datasets library (from 1.5.0)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.5.0
- imppres.py +0 -4
imppres.py
CHANGED
@@ -234,10 +234,6 @@ class Imppres(datasets.GeneratorBasedBuilder):
|
|
234 |
for id_, row in enumerate(f):
|
235 |
data = json.loads(row)
|
236 |
if "presupposition" in self.config.name:
|
237 |
-
# for k, v in data.items():
|
238 |
-
# print('{}({}): {}'.format(k, type(v), v))
|
239 |
-
# print('-'*55)
|
240 |
-
|
241 |
if "trigger1" not in list(data.keys()):
|
242 |
yield id_, {
|
243 |
"premise": data["sentence1"],
|
234 |
for id_, row in enumerate(f):
|
235 |
data = json.loads(row)
|
236 |
if "presupposition" in self.config.name:
|
|
|
|
|
|
|
|
|
237 |
if "trigger1" not in list(data.keys()):
|
238 |
yield id_, {
|
239 |
"premise": data["sentence1"],
|