Skip to content

Latest commit

 

History

History
34 lines (20 loc) · 1.05 KB

File metadata and controls

34 lines (20 loc) · 1.05 KB

MiniGPT-5

Prepare

Environment

For the environment, you can follow the instructions in the MiniGPT-5 official repository.

Data and checkpoints

  1. Use the following commands to link CoMM dataset to the correct path:
ln -s ../../datasets/ ./datasets/CoMM
  1. Download Vicuna_7B and put it to ./checkpoints/Vicuna_7B

  2. Download prerained_minigpt4_7b.pth and put it to ./config/prerained_minigpt4_7b.pth

  3. Download stage1_cc3m.ckpt and put it to ./checkpoints/stage1_cc3m.ckpt

  4. Download our fine-tuned checkpoint and unzip it to ./checkpoints/MiniGPT-5

Inference

Use the following command to run inference:

bash eval.sh MiniGPT5 best_model val_data.pth

Training

bash train.sh