Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Idefics2: sync added image tokens with transformers (huggingface#2080)
Before this change, the number of reserved image tokens was not the same as the number of images. Fixes huggingface#2029. While at it, also remove all the image token handling duplication in `prepare_input`.
- Loading branch information