ExpressAI / DataLab

The unified platform for data-related resources.
https://expressai.github.io/DataLab/
Apache License 2.0
131 stars 27 forks source link

crosssum dataset is broken #400

Open neubig opened 1 year ago

neubig commented 1 year ago
>>> datalabs.load_dataset("crosssum", "am-zh-CN")
Couldn't find a directory or a dataset named 'crosssum' in this version. It was picked from the master branch on github instead.
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/gneubig/opt/anaconda3/envs/explainaboard_web/lib/python3.10/site-packages/datalabs/load.py", line 2144, in load_dataset
    builder_instance.download_and_prepare(
  File "/Users/gneubig/opt/anaconda3/envs/explainaboard_web/lib/python3.10/site-packages/datalabs/builder.py", line 747, in download_and_prepare
    self._download_and_prepare(
  File "/Users/gneubig/opt/anaconda3/envs/explainaboard_web/lib/python3.10/site-packages/datalabs/builder.py", line 844, in _download_and_prepare
    split_generators = self._split_generators(dl_manager, **split_generators_kwargs)
  File "/Users/gneubig/.cache/expressai/modules/datasets_modules/datalab/crosssum/0939e8b6e740acffc0e88cb10a84c6c1283d61e86aa67e128cd3de099b33888e/crosssum.py", line 188, in _split_generators
    src_id, tgt_id = self.config.name.split("-")
ValueError: too many values to unpack (expected 2)