-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yaml
58 lines (49 loc) · 1.65 KB
/
config.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
49
50
51
52
53
54
55
56
57
58
ALL_MODALITIES: ["text", "special", "special_text", "image", "video", "audio","prompt"]
ALL_MODILITY_SPLIT_TYPES: # store modality and index
prompt:
6: "prompt"
special_text_as_one:
2: "special_text"
3: "image"
4: "video"
5: "audio"
special_text_separate:
0: "text"
1: "special"
3: "image"
4: "video"
5: "audio"
MLLM_MODALITIES: # subset of ALL_MODALITIES
qwen2_vl:
text_vqa: ["text", "special", "special_text", "image", "prompt"]
coco_caption: ["text", "special", "special_text", "image", "prompt"]
mmlu: ["text", "special", "prompt"]
msvd_qa: ["text", "special", "special_text", "video", "prompt"]
qwen2_audio:
mmlu: ["text", "special", "prompt"]
libri: ["text", "special", "special_text", "audio", "prompt"]
vocal_sound: ["text", "special", "special_text", "audio", "prompt"]
ALL_SELECT_STRATEGIES: ["uniform", "adaptive", "LA_MU", "LU_MA", "random"]
ALL_DATASETS: ["test", "text_vqa", "coco_caption", "mmlu", "msvd_qa", "libri", "vocal_sound"]
ALL_SELECT_RATIO: [0.001, 0.005, 0.01, 0.015, 0.02, 0.05, 0.1]
ALL_IMPORTANCE_METRIC_TYPES: ['prob', 'mean', 'max', 'attn_k', 'attn_q']
ALL_SAVE_SAMPLE_NUMS: [10, 100, 500, 1000, 2500, 5000, 10000]
ALL_SAMPLE_NUMS:
test: 1
text_vqa: 5000
coco_caption: 5000
mmlu: 14042
msvd_qa: 13157
libri: 2620
vocal_sound: 20977
ALL_IMPORTANCE_METRIC_WEIGHTS:
- [1, 0, 0, 0, 0] # prob
- [0, 1, 0, 0, 0] # mean
- [0, 0, 1, 0, 0] # max
- [0, 0, 0, 1, 0] # attn_k
- [0, 0, 0, 0, 1] # attn_q
- [0, 0.5, 0.5, 0, 0]
- [0, 0, 0, 0.5, 0.5]
- [0, 0.25, 0.25, 0.5, 0]
- [0, 0.25, 0.25, 0, 0.5]
- [0.2, 0.2, 0.2, 0.2, 0.2]