transformers/tests/models/vipllava
Victor SANH 0f2f0c634f
Fix `_merge_input_ids_with_image_features` for llava model (#28333)
* fix `_merge_input_ids_with_image_features` for llava model

* Update src/transformers/models/llava/modeling_llava.py

Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com>

* adress comments

* style and tests

* ooops

* test the backward too

* Apply suggestions from code review

Co-authored-by: Younes Belkada <49240599+younesbelkada@users.noreply.github.com>

* Update tests/models/vipllava/test_modeling_vipllava.py

* style and quality

---------

Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com>
Co-authored-by: Younes Belkada <49240599+younesbelkada@users.noreply.github.com>
2024-01-10 08:33:33 +01:00
..
__init__.py Adds VIP-llava to transformers (#27932) 2023-12-13 10:42:24 +01:00
test_modeling_vipllava.py Fix `_merge_input_ids_with_image_features` for llava model (#28333) 2024-01-10 08:33:33 +01:00