mirror of
https://github.com/Vision-CAIR/MiniGPT-4.git
synced 2025-04-24 22:50:46 +00:00
25 lines
458 B
YAML
25 lines
458 B
YAML
|
model:
|
||
|
arch: minigpt_v2
|
||
|
model_type: pretrain
|
||
|
max_txt_len: 500
|
||
|
end_sym: "</s>"
|
||
|
low_resource: True
|
||
|
prompt_template: '[INST] {} [/INST]'
|
||
|
ckpt: "please set this value to the path of pretrained checkpoint"
|
||
|
lora_r: 64
|
||
|
lora_alpha: 16
|
||
|
|
||
|
|
||
|
datasets:
|
||
|
cc_sbu_align:
|
||
|
vis_processor:
|
||
|
train:
|
||
|
name: "blip2_image_eval"
|
||
|
image_size: 448
|
||
|
text_processor:
|
||
|
train:
|
||
|
name: "blip_caption"
|
||
|
|
||
|
run:
|
||
|
task: image_text_pretrain
|