latr icon indicating copy to clipboard operation
latr copied to clipboard

span masking

Open jianglong-he-Infrrd opened this issue 1 year ago • 1 comments

Hi, in apply_mask_on_token_bbox method it looks like you are masking only first token of the span then loose the bbox of whole span. Why not masking all tokens in the span?

jianglong-he-Infrrd avatar Mar 02 '23 15:03 jianglong-he-Infrrd

Yep that is right, I should have done that earlier, but I was not knowing that earlier. Am just reflecting that from sometime back, so would do that soon.

uakarsh avatar Mar 02 '23 16:03 uakarsh