Spaces:
Sleeping
Sleeping
Update minigpt4/configs/models/minigpt4.yaml
Browse files
minigpt4/configs/models/minigpt4.yaml
CHANGED
@@ -1,39 +1,39 @@
|
|
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 |
-
|
9 |
-
# vit encoder
|
10 |
-
image_size: 224
|
11 |
-
drop_path_rate: 0
|
12 |
-
use_grad_checkpoint: False
|
13 |
-
vit_precision: "fp16"
|
14 |
-
freeze_vit: True
|
15 |
-
freeze_qformer: True
|
16 |
-
|
17 |
-
# Q-Former
|
18 |
-
num_query_token: 32
|
19 |
-
|
20 |
-
# Vicuna
|
21 |
-
llama_model: "vicuna"
|
22 |
-
|
23 |
-
# generation configs
|
24 |
-
prompt: ""
|
25 |
-
|
26 |
-
|
27 |
-
preprocess:
|
28 |
-
vis_processor:
|
29 |
-
train:
|
30 |
-
name: "blip2_image_train"
|
31 |
-
image_size: 224
|
32 |
-
eval:
|
33 |
-
name: "blip2_image_eval"
|
34 |
-
image_size: 224
|
35 |
-
text_processor:
|
36 |
-
train:
|
37 |
-
name: "blip_caption"
|
38 |
-
eval:
|
39 |
-
name: "blip_caption"
|
|
|
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 |
+
|
9 |
+
# vit encoder
|
10 |
+
image_size: 224
|
11 |
+
drop_path_rate: 0
|
12 |
+
use_grad_checkpoint: False
|
13 |
+
vit_precision: "fp16"
|
14 |
+
freeze_vit: True
|
15 |
+
freeze_qformer: True
|
16 |
+
|
17 |
+
# Q-Former
|
18 |
+
num_query_token: 32
|
19 |
+
|
20 |
+
# Vicuna
|
21 |
+
llama_model: "/data/vicuna-7b"
|
22 |
+
|
23 |
+
# generation configs
|
24 |
+
prompt: ""
|
25 |
+
|
26 |
+
|
27 |
+
preprocess:
|
28 |
+
vis_processor:
|
29 |
+
train:
|
30 |
+
name: "blip2_image_train"
|
31 |
+
image_size: 224
|
32 |
+
eval:
|
33 |
+
name: "blip2_image_eval"
|
34 |
+
image_size: 224
|
35 |
+
text_processor:
|
36 |
+
train:
|
37 |
+
name: "blip_caption"
|
38 |
+
eval:
|
39 |
+
name: "blip_caption"
|