Datasets:
Tasks:
Text Classification
Sub-tasks:
sentiment-analysis
Languages:
Tagalog
Size:
10K<n<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
- hate_speech_filipino.py +1 -1
hate_speech_filipino.py
CHANGED
@@ -95,7 +95,7 @@ class HateSpeechFilipino(datasets.GeneratorBasedBuilder):
|
|
95 |
]
|
96 |
|
97 |
def _generate_examples(self, filepath, split):
|
98 |
-
"""
|
99 |
with open(filepath, encoding="utf-8") as csv_file:
|
100 |
csv_reader = csv.reader(
|
101 |
csv_file, quotechar='"', delimiter=",", quoting=csv.QUOTE_ALL, skipinitialspace=True
|
|
|
95 |
]
|
96 |
|
97 |
def _generate_examples(self, filepath, split):
|
98 |
+
"""Yields examples."""
|
99 |
with open(filepath, encoding="utf-8") as csv_file:
|
100 |
csv_reader = csv.reader(
|
101 |
csv_file, quotechar='"', delimiter=",", quoting=csv.QUOTE_ALL, skipinitialspace=True
|