MiniGPT-4/eval_configs/minigptv2_benchmark_evaluation.yaml

80 lines
1.8 KiB
YAML
Raw Normal View History

2023-11-01 06:33:48 +00:00
model:
arch: minigpt_v2
model_type: pretrain
max_txt_len: 500
end_sym: "</s>"
low_resource: False
prompt_template: '[INST] {} [/INST]'
2023-11-01 08:51:39 +00:00
llama_model: ""
ckpt: ""
2023-11-01 06:33:48 +00:00
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"
2023-11-01 08:05:51 +00:00
evaluation_datasets:
refcoco:
2023-11-01 08:51:39 +00:00
eval_file_path: /path/to/eval/annotation/path
img_path: /path/to/eval/image/path
2023-11-01 08:05:51 +00:00
max_new_tokens: 20
batch_size: 10
refcocog:
eval_file_path: /path/to/eval/annotation/path
img_path: /path/to/eval/image/path
max_new_tokens: 20
batch_size: 10
refcoco+:
eval_file_path: /path/to/eval/annotation/path
img_path: /path/to/eval/image/path
max_new_tokens: 20
batch_size: 10
gqa:
eval_file_path: /path/to/eval/annotation/path
img_path: /path/to/eval/image/path
max_new_tokens: 20
batch_size: 10
okvqa:
2023-11-01 08:51:39 +00:00
eval_file_path: /path/to/eval/annotation/path
img_path: /path/to/eval/image/path
2023-11-01 08:05:51 +00:00
max_new_tokens: 20
batch_size: 10
vizwiz:
2023-11-01 08:51:39 +00:00
eval_file_path: /path/to/eval/annotation/path
img_path: /path/to/eval/image/path
2023-11-01 08:05:51 +00:00
max_new_tokens: 20
2023-11-01 08:53:21 +00:00
batch_size: 10
2023-11-01 08:05:51 +00:00
iconvqa:
eval_file_path: /path/to/eval/annotation/path
img_path: /path/to/eval/image/path
max_new_tokens: 20
batch_size: 10
vsr:
eval_file_path: cambridgeltl/vsr_zeroshot
img_path: /path/to/eval/image/path
max_new_tokens: 20
batch_size: 10
hm:
2023-11-01 08:51:39 +00:00
eval_file_path: /path/to/eval/annotation/path
2023-11-01 09:18:06 +00:00
img_path: /path/to/eval/image/path
2023-11-01 08:05:51 +00:00
max_new_tokens: 20
2023-11-01 09:18:06 +00:00
batch_size: 100
2023-11-01 08:05:51 +00:00
2023-11-01 06:33:48 +00:00
run:
task: image_text_pretrain
name: minigptv2_evaluation
2023-11-01 08:39:18 +00:00
save_path: /path/to/save/folder_path
2023-11-01 08:05:51 +00:00
2023-11-01 06:33:48 +00:00