Fix modeling code (typos/bugs)
#5
by
Xenova HF Staff - opened
Same as https://huggingface.co/microsoft/Florence-2-large/discussions/12
Two changes:
- Fix
Florence2Seq2SeqLMOutput - Only set
attention_maskdevice if inputs_embeds is not None
leoxiaobin changed pull request status to
merged