Datasets:
Tasks:
Text Classification
Languages:
Portuguese
Size:
1K<n<10K
Tags:
hate-speech-detection
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_portuguese.py
CHANGED
@@ -91,7 +91,7 @@ class HateSpeechPortuguese(datasets.GeneratorBasedBuilder):
|
|
91 |
]
|
92 |
|
93 |
def _generate_examples(self, filepath):
|
94 |
-
"""
|
95 |
|
96 |
with open(filepath, encoding="utf-8") as f:
|
97 |
reader = csv.reader(f)
|
|
|
91 |
]
|
92 |
|
93 |
def _generate_examples(self, filepath):
|
94 |
+
"""Yields examples."""
|
95 |
|
96 |
with open(filepath, encoding="utf-8") as f:
|
97 |
reader = csv.reader(f)
|