Add Ovis2 model and processor implementation #37088
thisisiron
marked this pull request as ready for review 311 days ago
thisisiron
changed the title [WIP] Add Ovis2 model and processor implementation Add Ovis2 model and processor implementation 311 days ago
Add Ovis2 model and processor implementation
b3bfa35d
Apply style fixes
51c9efd3
Add unit tests for Ovis2 image processing and processor
98915086
Refactor image processing functions for clarity and efficiency
fde1b2a7
Add Ovis2 ImageProcessorFast
6b0e5d47
Refactor Ovis2 code
6b8ae7ea
Refactor Ovis2 model components and update processor functionality
91f72b21
Fix repo consistency issues for Ovis2: docstring, config cleanup
aacbab35
Update Ovis2 model integration tests
7305a22d
Update Ovis2 configuration and processing classes for improved documeā¦
355a91cd
thisisiron
force pushed
from
725e76af
to
355a91cd
311 days ago
Remove duplicate entry for 'ovis2' in VLM_CLASS_NAMES
ac232e05
Fix conflict
16d71f89
Fix import order
a7b5094e
Update image processor class names
4d560431
Update Ovis2 model structure
7f1cbc0d
Refactor Ovis2 configuration
a4e37e65
Merge remote-tracking branch 'upstream/main' into add-ovis2
11a2a095
Fix typos
59996598
Refactor Ovis2 model classes and remove unused code
f66426c8
Fix typos
ae1ea0db
Refactor Ovis2 model initialization
4e540b53
Fiix typos
83a7cca7
Merge branch 'main' into add-ovis2
234edb2a
Remove Ovis2 model mapping from MODEL_MAPPING_NAMES in modeling_auto.py
db597773
Add license and update type hints
b604a701
Refactor token function and update docstring handling
f26717d6
Add license
890abdca
Merge branch 'main' into add-ovis2
97e84a4d
Merge branch 'main' into add-ovis2
67a45ab6
Merge branch 'main' into add-ovis2
764e74f0
Add Ovis2 model support and update documentation
178fc10f
Refactor Ovis2 model structure and enhance multimodal capabilities
2e278a4d
Update Ovis2 weight mapping for consistency and clarity in key patterns
17afef9c
Remove unused 'grids' parameter from Ovis2 model and Update processinā¦
1a87ab35
Refactor Ovis2 model test structure to include Ovis2Model
f3c498e0
Merge branch 'main' into add-ovis2
ec0ffd56
Add optional disable_grouping param to Ovis2ImageProcessorFast
0f418e86
Refactor type hints in Ovis2 modules
afd50aa8
Add licensing information in Ovis2 modules and tests
bdbcb229
Refactor Ovis2 model by removing unused methods
cd369a67
Refactor Ovis2 model tests by renaming test classes and removing skipā¦
b459f505
Merge branch 'main' into add-ovis2
4ae2f709
Refactor Ovis2 model output classes
57abe357
Refactor Ovis2 weight conversion and Update model embedding classes
541dc7f7
Merge branch 'main' into add-ovis2
5e7846ca
Refactor Ovis2 model imports and remove unused functions
d13eaea5
Enhance vision configuration extraction in Ovis2 weight conversion
a10e3db6
Refactor Ovis2 model's forward method to remove interpolation option
0501e0f2
Update Ovis2 model documentation
c19231f8
Merge branch 'main' into add-ovis2
60831410
Refactor Ovis2 model input handling and tokenizer configuration
c27bf250
Merge branch 'main' into add-ovis2
58c0c0a7
Update return type hints in Ovis2 model
94fd529e
Merge branch 'main' into add-ovis2
8402244a
Remove commented-out code
2cd3837e
fix config for tests and remove key mappings
1a5f6a99
Update tokenizer configuration to use add_special_tokens method
e9197221
Merge branch 'main' into add-ovis2
2de5a941
Merge branch 'add-ovis2' of https://github.com/thisisiron/transformerā¦
e7e24641
skip torchscript
d9a8599b
Fix image placeholder generation in Ovis2Processor
94ba3aae
Merge branch 'add-ovis2' of https://github.com/thisisiron/transformerā¦
8392223d
Merge branch 'main' into add-ovis2
0f19c79b
Refactor Ovis2 model to rename visual_table to visual_embeddings_table
d335aaac
Enhance Ovis2 model by adding vision_feature_select_strategy parameter
91e924ca
Refactor Ovis2 model weights conversion and architecture
3b02fe1d
Refactor Ovis2 model by removing vision_feature_select_strategy paramā¦
73761609
Merge branch 'main' into add-ovis2
683d3e99
Update Ovis2 model examples
a8ffbd4e
Refactor Ovis2 model
432a7183
Update Ovis2 model
1d4a1e96
Update Ovis2 model configuration
933cadda
Merge branch 'main' into add-ovis2
9ecdd76b
Refactor Ovis2 model test setup
c024a105
Merge branch 'main' into add-ovis2
5fb78702
Merge branch 'main' into add-ovis2
3fcdb3a0
Refactor flash attention support
a48468a5
Merge branch 'main' into add-ovis2
5b021656
Refactor
b5b2eb6c
Fix typo
5e9c276e
Refactor
0f3163ac
Refactor model classes
0c13cfc8
Update expected output in Ovis2
8d495eee
Refactor docstrings
9d995c38
Fix
ccfdb43a
Merge branch 'main' into add-ovis2
192cc10a
Fix
cfe3a3b8
Fix
530aad06
Update input in tests
5d928257
Merge branch 'main' into add-ovis2
7bb0e2bb
Fix
c4a83b61
Merge branch 'main' into add-ovis2
ac31c2a7
Fix get_decoder method
7b780295
Refactor
c230e725
Refactor Ovis2
3b0a94a8
Merge branch 'main' into add-ovis2
7cff46ba
Fix
9afdbad3
Fix
bd69fb59
Fix test
3ed0cb67
Add get_placeholder_mask
2b0621cf
Merge branch 'main' into add-ovis2
11802a43
Merge branch 'main' into add-ovis2
38b6f15a
Refactor Ovis2 model tests
0e7d6edf
Fix
7ce5c4e1
Refactor
0c6571d1
Merge branch 'main' into add-ovis2
13010fae
Fix
2773182d
Fix
8642f7d8
Fix Ovis2 test
62f2023e
Merge branch 'main' into add-ovis2
dd47f25b
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub