Span-Categorization Remove Oversize Span example from Dataset.

Hey guyz,
i am facing a problem regarding training the span cat model.
i have done annotation for span categorization but one of the Annotation on the Dataset has Span size of Around 96, due to which i am unable to train the model on GPU due to memory constrain.
So I want to know, How can I remove the examples that have more spansize.

Is there any approach, Function or tools that i can use,

Just to check, is this a duplicate of this question?