-
Notifications
You must be signed in to change notification settings - Fork 28
/
timechat.yaml
48 lines (42 loc) · 1.11 KB
/
timechat.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
model:
arch: timechat
model_type: pretrain_llama_v2
freeze_vit: True
freeze_qformer: True
max_txt_len: 2048
end_sym: "</s>"
low_resource: False
frozen_llama_proj: True
frozen_video_Qformer: True
vit_model: "ckpt/eva-vit-g/eva_vit_g.pth"
llama_model: "ckpt/Video-LLaMA-2-7B-Finetuned/llama-2-7b-chat-hf/"
q_former_model: "ckpt/instruct-blip/instruct_blip_vicuna7b_trimmed.pth"
ckpt: "ckpt/timechat/timechat_7b.pth"
fusion_head_layers: 2
max_frame_pos: 96
fusion_header_type: "seqTransf"
use_grad_checkpoint: True
lora: True
lora_inference_mode: True
qformer_text_input: True
window_size: 32
stride: 32
datasets:
webvid:
vis_processor:
train:
name: "alpro_video_eval"
n_frms: 96
image_size: 224
text_processor:
train:
name: "blip_caption"
num_video_query_token: 32
tokenizer_name: "ckpt/Video-LLaMA-2-7B-Finetuned/llama-2-7b-chat-hf/"
model_type: "llama_v2"
num_frm: 96
sample_type: 'uniform'
max_txt_len: 2048
stride: 32
run:
task: video_text_pretrain