Datasets:
Tasks:
Text Classification
Modalities:
Text
Formats:
parquet
Sub-tasks:
text-scoring
Languages:
English
Size:
10K - 100K
ArXiv:
Tags:
Meronym-Prediction
License:
Update files from the datasets library (from 1.6.1)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.6.1
- has_part.py +1 -1
has_part.py
CHANGED
@@ -102,7 +102,7 @@ class HasPart(datasets.GeneratorBasedBuilder):
|
|
102 |
return dd
|
103 |
|
104 |
def _generate_examples(self, input_file, split):
|
105 |
-
"""
|
106 |
with open(input_file, encoding="utf-8") as f:
|
107 |
for id_, line in enumerate(f):
|
108 |
_, arg1, arg2, score, metadata = line.split("\t")
|
|
|
102 |
return dd
|
103 |
|
104 |
def _generate_examples(self, input_file, split):
|
105 |
+
"""Yields examples."""
|
106 |
with open(input_file, encoding="utf-8") as f:
|
107 |
for id_, line in enumerate(f):
|
108 |
_, arg1, arg2, score, metadata = line.split("\t")
|