Update files from the datasets library (from 1.6.1)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.6.1
- fake_news_filipino.py +1 -1
fake_news_filipino.py
CHANGED
@@ -76,7 +76,7 @@ class FakeNewsFilipino(datasets.GeneratorBasedBuilder):
|
|
76 |
]
|
77 |
|
78 |
def _generate_examples(self, filepath, split):
|
79 |
-
"""
|
80 |
with open(filepath, encoding="utf-8") as csv_file:
|
81 |
csv_reader = csv.reader(
|
82 |
csv_file, quotechar='"', delimiter=",", quoting=csv.QUOTE_ALL, skipinitialspace=True
|
|
|
76 |
]
|
77 |
|
78 |
def _generate_examples(self, filepath, split):
|
79 |
+
"""Yields examples."""
|
80 |
with open(filepath, encoding="utf-8") as csv_file:
|
81 |
csv_reader = csv.reader(
|
82 |
csv_file, quotechar='"', delimiter=",", quoting=csv.QUOTE_ALL, skipinitialspace=True
|