Spaces:
Build error
Build error
File size: 710 Bytes
7e3e85d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
from dataset.dataset_loaders import (
CnndmDataset,
MultinewsDataset,
SamsumDataset,
XsumDataset,
PubmedqaDataset,
MlsumDataset,
ScisummnetDataset,
SummscreenDataset,
QMsumDataset,
ArxivDataset,
)
SUPPORTED_SUMM_DATASETS = [
CnndmDataset,
MultinewsDataset,
SamsumDataset,
XsumDataset,
PubmedqaDataset,
MlsumDataset,
ScisummnetDataset,
SummscreenDataset,
QMsumDataset,
ArxivDataset,
]
def list_all_datasets():
all_datasets = []
for ds in SUPPORTED_SUMM_DATASETS:
dataset_description = ds.generate_basic_description()
all_datasets.append((ds.dataset_name, dataset_description))
return all_datasets
|