mirror of
https://github.com/open-compass/opencompass.git
synced 2025-05-30 16:03:24 +08:00

* fix typos in configs/multimodal/llava/README.md * fix typos in configs/multimodal/minigpt_4/README.md
27 lines
460 B
Markdown
27 lines
460 B
Markdown
# MiniGPT-4
|
|
|
|
### Prepare the environment
|
|
|
|
```sh
|
|
cd opencompass/multimodal/models/minigpt_4
|
|
git clone https://github.com/Vision-CAIR/MiniGPT-4.git
|
|
```
|
|
|
|
Then prepare the environment according to this [doc](https://github.com/Vision-CAIR/MiniGPT-4)
|
|
|
|
### Start evaluation
|
|
|
|
#### Slurm
|
|
|
|
```sh
|
|
cd $root
|
|
python run.py configs/multimodal/tasks.py --mm-eval --slurm -p $PARTITION
|
|
```
|
|
|
|
#### PyTorch
|
|
|
|
```sh
|
|
cd $root
|
|
python run.py configs/multimodal/tasks.py --mm-eval
|
|
```
|