Datasets:
Tasks:
Text Classification
Languages:
Polish
Multilinguality:
monolingual
Size Categories:
10K<n<100K
Language Creators:
found
Annotations Creators:
expert-generated
Source Datasets:
original
Tags:
License:
Update files from the datasets library (from 1.6.1)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.6.1
- hate_speech_pl.py +1 -1
hate_speech_pl.py
CHANGED
@@ -91,7 +91,7 @@ class HateSpeechPl(datasets.GeneratorBasedBuilder):
|
|
91 |
]
|
92 |
|
93 |
def _generate_examples(self, filepaths):
|
94 |
-
"""
|
95 |
for file_id_, filepath in enumerate(filepaths):
|
96 |
with open(filepath, encoding="utf-8") as f:
|
97 |
csv_reader = csv.DictReader(f, delimiter=",", escapechar="\\")
|
91 |
]
|
92 |
|
93 |
def _generate_examples(self, filepaths):
|
94 |
+
"""Yields examples."""
|
95 |
for file_id_, filepath in enumerate(filepaths):
|
96 |
with open(filepath, encoding="utf-8") as f:
|
97 |
csv_reader = csv.DictReader(f, delimiter=",", escapechar="\\")
|