The class TextMatching is missing from the list of DataLab tasks. This effects the following datasets:
cinlid
ocnli
For example, running load_dataset("cinlid", None) causes issues:
>>> datalabs.load_dataset("cinlid", "None")
Couldn't find a directory or a dataset named 'cinlid' 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 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 1859, in load_dataset_builder
builder_cls = import_main_class(dataset_module.module_path)
File "/Users/gneubig/opt/anaconda3/envs/explainaboard_web/lib/python3.10/site-packages/datalabs/load.py", line 121, in import_main_class
module = importlib.import_module(module_path)
File "/Users/gneubig/opt/anaconda3/envs/explainaboard_web/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/Users/gneubig/.cache/expressai/modules/datasets_modules/datalab/cinlid/0c6276491800883f62a30161d51bcd7cf8e9d216c375b3b5d6246e60fc8ce6ae/cinlid.py", line 20, in <module>
from datalabs.tasks import TextMatching
ImportError: cannot import name 'TextMatching' from 'datalabs.tasks' (/Users/gneubig/opt/anaconda3/envs/explainaboard_web/lib/python3.10/site-packages/datalabs/tasks/__init__.py)
The class TextMatching is missing from the list of DataLab tasks. This effects the following datasets:
For example, running
load_dataset("cinlid", None)
causes issues: