An error related to field none type occurs when allennlp executes the train

An error has been reported

TypeError: ArrayField.empty_field: return type `None` is not a `<class 'alle

Solution:
the error comes from the overlaps package. Replace it with an older version
PIP install overlaps = = 4.1.2

Read More: