Datasets:
Tasks:
Text Classification
Modalities:
Text
Formats:
parquet
Sub-tasks:
sentiment-classification
Languages:
English
Size:
1M - 10M
ArXiv:
License:
Update files from the datasets library (from 1.6.1)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.6.1
- amazon_polarity.py +1 -1
amazon_polarity.py
CHANGED
@@ -113,7 +113,7 @@ class AmazonPolarity(datasets.GeneratorBasedBuilder):
|
|
113 |
]
|
114 |
|
115 |
def _generate_examples(self, filepath, split):
|
116 |
-
"""
|
117 |
|
118 |
with open(filepath, encoding="utf-8") as f:
|
119 |
data = csv.reader(f, delimiter=",", quoting=csv.QUOTE_ALL)
|
|
|
113 |
]
|
114 |
|
115 |
def _generate_examples(self, filepath, split):
|
116 |
+
"""Yields examples."""
|
117 |
|
118 |
with open(filepath, encoding="utf-8") as f:
|
119 |
data = csv.reader(f, delimiter=",", quoting=csv.QUOTE_ALL)
|