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 pie/cdcp, you need to install the following dependencies: pie_modules, pytorch_ie, pie_datasets.
Please install them using 'pip install pie_modules pytorch_ie pie_datasets' for instance.
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/dataset/config_names.py", line 65, in compute_config_names_response
                  get_dataset_config_names(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/inspect.py", line 347, in get_dataset_config_names
                  dataset_module = dataset_module_factory(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/load.py", line 1846, in dataset_module_factory
                  raise e1 from None
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/load.py", line 1812, in dataset_module_factory
                  return HubDatasetModuleFactoryWithScript(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/load.py", line 1441, in get_module
                  local_imports = _download_additional_modules(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/load.py", line 345, in _download_additional_modules
                  raise ImportError(
              ImportError: To be able to use pie/cdcp, you need to install the following dependencies: pie_modules, pytorch_ie, pie_datasets.
              Please install them using 'pip install pie_modules pytorch_ie pie_datasets' for instance.

Need help to make the dataset viewer work? Open a discussion for direct support.

YAML Metadata Warning: empty or missing yaml metadata in repo card (https://huggingface.co/docs/hub/datasets-cards)

PIE Dataset Card for "CDCP"

This is a PyTorch-IE wrapper for the CDCP Huggingface dataset loading script.

Data Schema

The document type for this dataset is CDCPDocument which defines the following data fields:

  • text (str)
  • id (str, optional)
  • metadata (dictionary, optional)

and the following annotation layers:

  • propositions (annotation type: LabeledSpan, target: text)
  • relations (annotation type: BinaryRelation, target: propositions)
  • urls (annotation type: Attribute, target: propositions)

See here for the annotation type definitions.

Document Converters

The dataset provides document converters for the following target document types:

  • pytorch_ie.documents.TextDocumentWithLabeledSpansAndBinaryRelations

See here for the document type definitions.

Downloads last month
0