A custom projection layer was implemented to map the image features from the vision backbone to the input space of the language model, enabling seamless integration between the two modalities.
How to use
To run this app, follow these steps:
Install dependencies
This project uses uv for fast dependency management.
To install all dependencies, run:
uv sync
Run inference
To test the model and generate captions, run:
uv run inference.py
This will process your input images and output captions using the trained model.