Datasets:
Tasks:
Text Classification
Modalities:
Text
Formats:
parquet
Languages:
Polish
Size:
10K - 100K
License:
Update files from the datasets library (from 1.6.1)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.6.1
- allegro_reviews.py +1 -1
allegro_reviews.py
CHANGED
@@ -99,7 +99,7 @@ class AllegroReviews(datasets.GeneratorBasedBuilder):
|
|
99 |
]
|
100 |
|
101 |
def _generate_examples(self, filepath, split):
|
102 |
-
"""
|
103 |
with open(filepath, encoding="utf-8") as f:
|
104 |
reader = csv.DictReader(f, delimiter="\t", quoting=csv.QUOTE_NONE)
|
105 |
for id_, row in enumerate(reader):
|
|
|
99 |
]
|
100 |
|
101 |
def _generate_examples(self, filepath, split):
|
102 |
+
"""Yields examples."""
|
103 |
with open(filepath, encoding="utf-8") as f:
|
104 |
reader = csv.DictReader(f, delimiter="\t", quoting=csv.QUOTE_NONE)
|
105 |
for id_, row in enumerate(reader):
|