dwadden / dygiepp

Span-based system for named entity, relation, and event extraction.
MIT License
569 stars 120 forks source link

Training dygie on custom data converted from brat format to scierc format #98

Closed Kehindeajayi01 closed 2 years ago

Kehindeajayi01 commented 2 years ago

In your example, one of your relations has value [109, 109, null, null, "has_unit"]. The code is breaking due to the presence of null values. See data.md on the required format for input data.

The null were introduced by your brat_input.py script when I used it to convert the brat format to your format

Originally posted by @Kehindeajayi01 in https://github.com/dwadden/dygiepp/issues/92#issuecomment-1071645445

dwadden commented 2 years ago

Got it; re-opening previous issue.