minigpt4.py
This script executes the MiniGPT-4 model within a modal container.
The user can interact with the MiniGPT-4 model by asking the questions from openadapt/vision/questions.txt about the images in openadapt/vision/images.
To run this script, make sure you have created a modal token by running the following:
Usage:
Note: Since this script is being run in a container with large model weights, the first time it is run, it will take a long time, but subsequent runs should be relatively fast.
Last updated