cdcp / README.md
ArneBinder's picture
adjust for pytorch-ie 0.28.8
8f9f5d5
|
raw
history blame
1.08 kB

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.