MiniGPT-4/minigpt4/configs/models/minigpt4_llama2.yaml
2023-10-13 00:14:34 +03:00

30 lines
545 B
YAML

model:
arch: minigpt4
# vit encoder
image_size: 224
drop_path_rate: 0
use_grad_checkpoint: False
vit_precision: "fp16"
freeze_vit: True
has_qformer: False
# generation configs
prompt: ""
llama_model: "/path/to/llama2/weight"
preprocess:
vis_processor:
train:
name: "blip2_image_train"
image_size: 224
eval:
name: "blip2_image_eval"
image_size: 224
text_processor:
train:
name: "blip_caption"
eval:
name: "blip_caption"