init
Browse files
multi_domain_document_classification.py
CHANGED
|
@@ -6,7 +6,7 @@ import datasets
|
|
| 6 |
logger = datasets.logging.get_logger(__name__)
|
| 7 |
_DESCRIPTION = """Multi domain document classification dataset used in [https://arxiv.org/pdf/2004.10964.pdf](https://arxiv.org/pdf/2004.10964.pdf)"""
|
| 8 |
_NAME = "multi_domain_document_classification"
|
| 9 |
-
_VERSION = "0.0.
|
| 10 |
_CITATION = """
|
| 11 |
@inproceedings{dontstoppretraining2020,
|
| 12 |
author = {Suchin Gururangan and Ana Marasović and Swabha Swayamdipta and Kyle Lo and Iz Beltagy and Doug Downey and Noah A. Smith},
|
|
@@ -24,7 +24,7 @@ _URLS = {
|
|
| 24 |
{
|
| 25 |
str(datasets.Split.TEST): [f'{_URL}/{k}/test.jsonl'],
|
| 26 |
str(datasets.Split.TRAIN): [f'{_URL}/{k}/train.jsonl'],
|
| 27 |
-
str(datasets.Split.VALIDATION): [f'{_URL}/{k}/
|
| 28 |
}
|
| 29 |
for k in _DATA_TYPE
|
| 30 |
}
|
|
|
|
| 6 |
logger = datasets.logging.get_logger(__name__)
|
| 7 |
_DESCRIPTION = """Multi domain document classification dataset used in [https://arxiv.org/pdf/2004.10964.pdf](https://arxiv.org/pdf/2004.10964.pdf)"""
|
| 8 |
_NAME = "multi_domain_document_classification"
|
| 9 |
+
_VERSION = "0.0.1"
|
| 10 |
_CITATION = """
|
| 11 |
@inproceedings{dontstoppretraining2020,
|
| 12 |
author = {Suchin Gururangan and Ana Marasović and Swabha Swayamdipta and Kyle Lo and Iz Beltagy and Doug Downey and Noah A. Smith},
|
|
|
|
| 24 |
{
|
| 25 |
str(datasets.Split.TEST): [f'{_URL}/{k}/test.jsonl'],
|
| 26 |
str(datasets.Split.TRAIN): [f'{_URL}/{k}/train.jsonl'],
|
| 27 |
+
str(datasets.Split.VALIDATION): [f'{_URL}/{k}/dev.jsonl']
|
| 28 |
}
|
| 29 |
for k in _DATA_TYPE
|
| 30 |
}
|