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
- offcombr.py +1 -1
offcombr.py
CHANGED
|
@@ -89,7 +89,7 @@ class Offcombr(datasets.GeneratorBasedBuilder):
|
|
| 89 |
]
|
| 90 |
|
| 91 |
def _generate_examples(self, filepath):
|
| 92 |
-
"""
|
| 93 |
|
| 94 |
with open(filepath, encoding="utf-8") as f:
|
| 95 |
for id_, row in enumerate(f):
|
|
|
|
| 89 |
]
|
| 90 |
|
| 91 |
def _generate_examples(self, filepath):
|
| 92 |
+
"""Yields examples."""
|
| 93 |
|
| 94 |
with open(filepath, encoding="utf-8") as f:
|
| 95 |
for id_, row in enumerate(f):
|