Skip to content

Idefics3#152

Merged
sonam-pankaj95 merged 4 commits into
mainfrom
idefics3
Jun 25, 2025
Merged

Idefics3#152
sonam-pankaj95 merged 4 commits into
mainfrom
idefics3

Conversation

@akshayballal95

Copy link
Copy Markdown
Collaborator

No description provided.

- Introduced a new module `idefics3` in the models directory, which includes a new `processing.rs` file.
- Implemented the `Idefics3ImageProcessor` struct with methods for image resizing, splitting, rescaling, and normalization.
- Updated the main models module to include the new `idefics3` module alongside existing modules.
- Enhanced image processing capabilities to support various preprocessing tasks for vision models.
- Introduced a new `colsmol_ort` module for ColSmol embedding, including the `OrtColSmolEmbedder` struct with methods for embedding images, files, and queries.
- Added a new example in `colsmol.rs` demonstrating how to use the ColSmol embedder with command-line argument parsing.
- Updated the `mod.rs` file to include the new `colsmol_ort` module under the `embeddings/local` directory.
- Enhanced the `Idefics3ImageProcessor` with additional preprocessing capabilities for better integration with the ColSmol model.
- Implemented tests for the new embedding functionality to ensure reliability and correctness.
- Updated `colpali.py` to enable loading of the Colpali model directly, while commenting out the ONNX model loading for clarity.
- Enhanced the `ColpaliModel` in `colpali.rs` to support both Colpali and ColSmol models based on the model ID provided.
- Introduced a new `ColSmolEmbedder` in `colsmol.rs` for embedding images and files, with improved preprocessing capabilities.
- Updated the `colsmol` module in `mod.rs` to include the new `ColSmolEmbedder`.
- Refactored example usage in `colsmol.rs` to demonstrate the new embedding functionality with command-line argument parsing.
- Added tests for the new embedding features to ensure reliability and correctness.
@sonam-pankaj95

Copy link
Copy Markdown
Collaborator

New range of modern models, here we come.

@sonam-pankaj95 sonam-pankaj95 merged commit ae8b1f3 into main Jun 25, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants