Datasets:
Tasks:
Text Classification
Sub-tasks:
sentiment-classification
Languages:
Polish
Size:
1K<n<10K
License:
Update files from the datasets library (from 1.6.1)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.6.1
- polemo2.py +1 -1
polemo2.py
CHANGED
@@ -120,7 +120,7 @@ class Polemo2(datasets.GeneratorBasedBuilder):
|
|
120 |
]
|
121 |
|
122 |
def _generate_examples(self, filepath, split):
|
123 |
-
"""
|
124 |
with open(filepath, encoding="utf-8") as f:
|
125 |
reader = csv.DictReader(f, delimiter="\t", quoting=csv.QUOTE_NONE)
|
126 |
for id_, row in enumerate(reader):
|
|
|
120 |
]
|
121 |
|
122 |
def _generate_examples(self, filepath, split):
|
123 |
+
"""Yields examples."""
|
124 |
with open(filepath, encoding="utf-8") as f:
|
125 |
reader = csv.DictReader(f, delimiter="\t", quoting=csv.QUOTE_NONE)
|
126 |
for id_, row in enumerate(reader):
|