Spaces:
Sleeping
Sleeping
saicharan1234
commited on
Commit
•
414ea93
1
Parent(s):
05f358a
Update eval_configs/minigpt4_eval.yaml
Browse files
eval_configs/minigpt4_eval.yaml
CHANGED
@@ -1,15 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
1 |
model:
|
2 |
arch: mini_gpt4
|
3 |
-
model_type:
|
|
|
|
|
4 |
max_txt_len: 160
|
5 |
end_sym: "###"
|
6 |
-
|
7 |
prompt_template: '###Human: {} ###Assistant: '
|
8 |
ckpt: 'prerained_minigpt4_7b.pth'
|
9 |
|
10 |
|
11 |
datasets:
|
12 |
-
|
13 |
vis_processor:
|
14 |
train:
|
15 |
name: "blip2_image_eval"
|
@@ -20,3 +27,4 @@ datasets:
|
|
20 |
|
21 |
run:
|
22 |
task: image_text_pretrain
|
|
|
|
1 |
+
# Copyright (c) 2022, salesforce.com, inc.
|
2 |
+
# All rights reserved.
|
3 |
+
# SPDX-License-Identifier: BSD-3-Clause
|
4 |
+
# For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/BSD-3-Clause
|
5 |
+
|
6 |
model:
|
7 |
arch: mini_gpt4
|
8 |
+
model_type: pretrain_vicuna
|
9 |
+
freeze_vit: True
|
10 |
+
freeze_qformer: True
|
11 |
max_txt_len: 160
|
12 |
end_sym: "###"
|
13 |
+
prompt_path: "prompts/alignment.txt"
|
14 |
prompt_template: '###Human: {} ###Assistant: '
|
15 |
ckpt: 'prerained_minigpt4_7b.pth'
|
16 |
|
17 |
|
18 |
datasets:
|
19 |
+
cc_align:
|
20 |
vis_processor:
|
21 |
train:
|
22 |
name: "blip2_image_eval"
|
|
|
27 |
|
28 |
run:
|
29 |
task: image_text_pretrain
|
30 |
+
|