add confidence scores for `od` and `description_with_bboxes` tasks

#25

This feature is added to florence-2-large model but missing in the base model: https://huggingface.co/microsoft/Florence-2-large/discussions/56

cc: @haipingwu

@leoxiaobin can you please compare this pr to https://huggingface.co/microsoft/Florence-2-large/commit/f0acedbf9b780e04fe1f9111fcf53187388f3d03

I tried to copy the same changes here.

leoxiaobin changed pull request status to merged

Sign up or log in to comment