-
Notifications
You must be signed in to change notification settings - Fork 27.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add: num_additional_image_tokens to models (#35052)
* Add: num_additional_image_tokens to models * docs: update docstring for num_additional_image_tokens in configuration files * Add num_additional_image_tokens to LlavaNextVideo model and update feature selection logic * revert * Fix: adjust num_image_tokens calculation in LlavaProcessor * Remove num_additional_image_tokens initialization from configuration files * Fix test error * revert * Fix: adjust num_image_tokens calculation in LlavaNextVideoProcessor * fix conflict * Fix: adjust num_image_tokens calculation in VideoLlavaProcessor * make style --------- Co-authored-by: Raushan Turganbay <[email protected]>
- Loading branch information
1 parent
657bb14
commit 29e74b7
Showing
6 changed files
with
14 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters