ExpressAI / DataLab

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

cluener dataset is broken #398

Open neubig opened 1 year ago

neubig commented 1 year ago
>>> datalabs.load_dataset("cluener", None)
Couldn't find a directory or a dataset named 'cluener' in this version. It was picked from the master branch on github instead.
Using custom data configuration default
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 2093, in load_dataset
    builder_instance = load_dataset_builder(
  File "/Users/gneubig/opt/anaconda3/envs/explainaboard_web/lib/python3.10/site-packages/datalabs/load.py", line 1888, in load_dataset_builder
    builder_instance: DatasetBuilder = builder_cls(
  File "/Users/gneubig/opt/anaconda3/envs/explainaboard_web/lib/python3.10/site-packages/datalabs/builder.py", line 1273, in __init__
    super(GeneratorBasedBuilder, self).__init__(*args, **kwargs)
  File "/Users/gneubig/opt/anaconda3/envs/explainaboard_web/lib/python3.10/site-packages/datalabs/builder.py", line 325, in __init__
    info.update(self._info())
  File "/Users/gneubig/.cache/expressai/modules/datasets_modules/datalab/cluener/41cc4ed7ff648fddf247af36284c9c8cca210488f92e4bc320b925f6f0d0f40e/cluener.py", line 77, in _info
    get_task(TaskType.ner_span_prediction)(
  File "/Users/gneubig/opt/anaconda3/envs/explainaboard_web/lib/python3.10/site-packages/datalabs/tasks/base.py", line 178, in get_task
    return TASK_REGISTRY[task]
KeyError: <TaskType.ner_span_prediction: 'ner-span-prediction'>