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
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