Update imdb.py
Browse files
imdb.py
CHANGED
|
@@ -20,29 +20,13 @@ import datasets
|
|
| 20 |
from datasets.tasks import TextClassification
|
| 21 |
|
| 22 |
|
| 23 |
-
_DESCRIPTION = """
|
| 24 |
-
Large Movie Review Dataset.
|
| 25 |
-
This is a dataset for binary sentiment classification containing substantially \
|
| 26 |
-
more data than previous benchmark datasets. We provide a set of 25,000 highly \
|
| 27 |
-
polar movie reviews for training, and 25,000 for testing. There is additional \
|
| 28 |
-
unlabeled data for use as well.\
|
| 29 |
"""
|
| 30 |
|
| 31 |
-
_CITATION = """
|
| 32 |
-
@InProceedings{maas-EtAl:2011:ACL-HLT2011,
|
| 33 |
-
author = {Maas, Andrew L. and Daly, Raymond E. and Pham, Peter T. and Huang, Dan and Ng, Andrew Y. and Potts, Christopher},
|
| 34 |
-
title = {Learning Word Vectors for Sentiment Analysis},
|
| 35 |
-
booktitle = {Proceedings of the 49th Annual Meeting of the Association for Computational Linguistics: Human Language Technologies},
|
| 36 |
-
month = {June},
|
| 37 |
-
year = {2011},
|
| 38 |
-
address = {Portland, Oregon, USA},
|
| 39 |
-
publisher = {Association for Computational Linguistics},
|
| 40 |
-
pages = {142--150},
|
| 41 |
-
url = {http://www.aclweb.org/anthology/P11-1015}
|
| 42 |
-
}
|
| 43 |
"""
|
| 44 |
|
| 45 |
-
_DOWNLOAD_URL = "
|
| 46 |
|
| 47 |
|
| 48 |
class IMDBReviewsConfig(datasets.BuilderConfig):
|
|
|
|
| 20 |
from datasets.tasks import TextClassification
|
| 21 |
|
| 22 |
|
| 23 |
+
_DESCRIPTION = """
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
"""
|
| 25 |
|
| 26 |
+
_CITATION = """
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
"""
|
| 28 |
|
| 29 |
+
_DOWNLOAD_URL = "aclImdb_v1.tar.gz"
|
| 30 |
|
| 31 |
|
| 32 |
class IMDBReviewsConfig(datasets.BuilderConfig):
|