Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
gordonhu608 committed Sep 13, 2023
1 parent e1be31c commit b45425a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,23 +89,23 @@ After downloading the training datasets and specify their path in [dataset confi
1. Pretraining of BLIVA's visual assistant branch

```Shell
torchrun --nnodes=1 --nproc_per_node=8\
torchrun --nnodes=1 --nproc_per_node=8 \
train.py \
--cfg-path train_configs/pretrain_bliva_vicuna.yaml
```

2. Instruction Finetuning BLIVA

```Shell
torchrun --nnodes=1 --nproc_per_node=8\
torchrun --nnodes=1 --nproc_per_node=8 \
train.py \
--cfg-path train_configs/finetune_bliva_vicuna.yaml
```

Or, we also support training Vicuna7b together with BLIVA using LoRA during the second step, by default we don't use this version.

```Shell
torchrun --nnodes=1 --nproc_per_node=8\
torchrun --nnodes=1 --nproc_per_node=8 \
train.py \
--cfg-path train_configs/finetune_bliva_and_vicuna.yaml
```
Expand Down

0 comments on commit b45425a

Please sign in to comment.