Datasets:
Tasks:
Text Classification
Formats:
parquet
Languages:
English
Size:
10K - 100K
ArXiv:
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_offensive.py +1 -1
hate_speech_offensive.py
CHANGED
@@ -87,7 +87,7 @@ class HateSpeechOffensive(datasets.GeneratorBasedBuilder):
|
|
87 |
]
|
88 |
|
89 |
def _generate_examples(self, filepath):
|
90 |
-
"""
|
91 |
|
92 |
with open(filepath, encoding="utf-8") as f:
|
93 |
reader = csv.reader(f)
|
|
|
87 |
]
|
88 |
|
89 |
def _generate_examples(self, filepath):
|
90 |
+
"""Yields examples."""
|
91 |
|
92 |
with open(filepath, encoding="utf-8") as f:
|
93 |
reader = csv.reader(f)
|