This is a PyTorch-IE wrapper for the
BioRel Huggingface dataset loading script.
The document type for this dataset is BioRelDocument which defines the following data fields:
entities (annotation type: SpanWithIdAndName, target: text)
relations (annotation type: BinaryRelation, target: entities)
SpanWithIdAndName is a custom annotation type that extends typical Span with the… See the full description on the dataset page:
https://huggingface.co/datasets/pie/biorel.