Dataset Viewer issue

#3
by lewtun HF staff - opened

The dataset viewer is not working. Not sure if we support custom dependencies in the viewer though - if not, feel free to close/ignore

Error details:

Error code:   SplitsNamesError
Exception:    ImportError
Message:      To be able to use bigbench, you need to install the following dependencies: bigbench, sentencepiece.
Please install them using 'pip install "bigbench @ https://storage.googleapis.com/public_research_data/bigbench/bigbench-0.0.1.tar.gz" # noqa: this is also required by bigbench.api.util' for instance.
Traceback:    Traceback (most recent call last):
                File "/src/workers/datasets_based/src/datasets_based/workers/splits.py", line 127, in compute_splits_response
                  split_full_names = get_dataset_split_full_names(dataset=dataset, use_auth_token=use_auth_token)
                File "/src/workers/datasets_based/src/datasets_based/workers/splits.py", line 89, in get_dataset_split_full_names
                  for config in sorted(get_dataset_config_names(path=dataset, use_auth_token=use_auth_token))
                File "/src/workers/datasets_based/.venv/lib/python3.9/site-packages/datasets/inspect.py", line 308, in get_dataset_config_names
                  dataset_module = dataset_module_factory(
                File "/src/workers/datasets_based/.venv/lib/python3.9/site-packages/datasets/load.py", line 1216, in dataset_module_factory
                  raise e1 from None
                File "/src/workers/datasets_based/.venv/lib/python3.9/site-packages/datasets/load.py", line 1187, in dataset_module_factory
                  return HubDatasetModuleFactoryWithScript(
                File "/src/workers/datasets_based/.venv/lib/python3.9/site-packages/datasets/load.py", line 906, in get_module
                  local_imports = _download_additional_modules(
                File "/src/workers/datasets_based/.venv/lib/python3.9/site-packages/datasets/load.py", line 220, in _download_additional_modules
                  raise ImportError(
              ImportError: To be able to use bigbench, you need to install the following dependencies: bigbench, sentencepiece.
              Please install them using 'pip install "bigbench @ https://storage.googleapis.com/public_research_data/bigbench/bigbench-0.0.1.tar.gz" # noqa: this is also required by bigbench.api.util' for instance.

cc @albertvillanova @lhoestq @severo .

Datasets Maintainers org

I guess @severo can give a better answer...

Datasets Maintainers org

Yes, it's a pending issue on the backend: https://github.com/huggingface/datasets-server/issues/259.

Datasets Maintainers org

I also opened https://github.com/google/BIG-bench/issues/906 to ask for a proper PyPI package instead of an URL.

There now seems to be a new dataviewer error:

The dataset viewer is not available for this dataset.
The dataset tries to import a module that is not installed.
Error code:   DatasetModuleNotInstalledError
Exception:    ImportError
Message:      To be able to use bigbench, you need to install the following dependencies: bigbench, sentencepiece.
Please install them using 'pip install "bigbench @ https://storage.googleapis.com/public_research_data/bigbench/bigbench-0.0.1.tar.gz" # noqa: this is also required by bigbench.api.util' for instance.
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/dataset/config_names.py", line 61, in compute_config_names_response
                  for config in sorted(get_dataset_config_names(path=dataset, use_auth_token=use_auth_token))
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/inspect.py", line 323, in get_dataset_config_names
                  dataset_module = dataset_module_factory(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/load.py", line 1219, in dataset_module_factory
                  raise e1 from None
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/load.py", line 1188, in dataset_module_factory
                  return HubDatasetModuleFactoryWithScript(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/load.py", line 909, in get_module
                  local_imports = _download_additional_modules(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/load.py", line 222, in _download_additional_modules
                  raise ImportError(
              ImportError: To be able to use bigbench, you need to install the following dependencies: bigbench, sentencepiece.
              Please install them using 'pip install "bigbench @ https://storage.googleapis.com/public_research_data/bigbench/bigbench-0.0.1.tar.gz" # noqa: this is also required by bigbench.api.util' for instance.
Datasets Maintainers org

Indeed, this dependency is not installed on our backend; see https://github.com/huggingface/datasets-server/issues/259.

Sign up or log in to comment