Dataset Viewer
The dataset viewer is not available for this dataset.
Cannot get the config names for the dataset.
Error code:   ConfigNamesError
Exception:    RuntimeError
Message:      Dataset scripts are no longer supported, but found chemprot.py
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/dataset/config_names.py", line 66, in compute_config_names_response
                  config_names = get_dataset_config_names(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/inspect.py", line 161, in get_dataset_config_names
                  dataset_module = dataset_module_factory(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/load.py", line 1031, in dataset_module_factory
                  raise e1 from None
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/load.py", line 989, in dataset_module_factory
                  raise RuntimeError(f"Dataset scripts are no longer supported, but found {filename}")
              RuntimeError: Dataset scripts are no longer supported, but found chemprot.py

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and 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 "ChemProt"

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

Data Schema

There are three versions of the dataset supported, chemprot_full_source, chemprot_shared_task_eval_source and chemprot_bigbio_kb.

ChemprotDocument for chemprot_source and chemprot_shared_task_eval_source

defines following fields:

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

and the following annotation layers:

  • entities (annotation type: LabeledSpan, target: text)
  • relations (annotation type: BinaryRelation, target: entities)

ChemprotBigbioDocument for chemprot_bigbio_kb

defines following fields:

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

and the following annotation layers:

  • passages (annotation type: LabeledSpan, target: text)
  • entities (annotation type: LabeledSpan, target: text)
  • relations (annotation type: BinaryRelation, target: entities)

See here for the annotation type definitions.

Document Converters

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

  • pie_documents.documents.TextDocumentWithLabeledSpansAndBinaryRelations for ChemprotDocument
  • pie_documents.documents.TextDocumentWithLabeledSpansBinaryRelationsAndLabeledPartitions for ChemprotBigbioDocument

See here for the document type definitions.

Downloads last month
5