Idefics2: sync added image tokens with transformers (#2080)
Before this change, the number of reserved image tokens was not the same as the number of images. Fixes #2029. While at it, also remove all the image token handling duplication in `prepare_input`.
Showing
This diff is collapsed.
Please register or sign in to comment