yejinkim commited on
Commit
5ade49b
·
verified ·
1 Parent(s): 46181e1

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,124 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Qwen2VLForConditionalGeneration"
4
+ ],
5
+ "attention_dropout": 0.0,
6
+ "bos_token_id": 151643,
7
+ "dtype": "bfloat16",
8
+ "eos_token_id": 151645,
9
+ "hidden_act": "silu",
10
+ "hidden_size": 1536,
11
+ "image_token_id": 151655,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 8960,
14
+ "max_position_embeddings": 32768,
15
+ "max_window_layers": 28,
16
+ "model_type": "qwen2_vl",
17
+ "num_attention_heads": 12,
18
+ "num_hidden_layers": 28,
19
+ "num_key_value_heads": 2,
20
+ "rms_norm_eps": 1e-06,
21
+ "rope_scaling": {
22
+ "mrope_section": [
23
+ 16,
24
+ 24,
25
+ 24
26
+ ],
27
+ "rope_type": "default",
28
+ "type": "default"
29
+ },
30
+ "rope_theta": 1000000.0,
31
+ "sliding_window": 32768,
32
+ "text_config": {
33
+ "_name_or_path": "Qwen/Qwen2-VL-2B-Instruct",
34
+ "architectures": [
35
+ "Qwen2VLForConditionalGeneration"
36
+ ],
37
+ "attention_dropout": 0.0,
38
+ "bos_token_id": 151643,
39
+ "dtype": "bfloat16",
40
+ "eos_token_id": 151645,
41
+ "hidden_act": "silu",
42
+ "hidden_size": 1536,
43
+ "initializer_range": 0.02,
44
+ "intermediate_size": 8960,
45
+ "layer_types": [
46
+ "full_attention",
47
+ "full_attention",
48
+ "full_attention",
49
+ "full_attention",
50
+ "full_attention",
51
+ "full_attention",
52
+ "full_attention",
53
+ "full_attention",
54
+ "full_attention",
55
+ "full_attention",
56
+ "full_attention",
57
+ "full_attention",
58
+ "full_attention",
59
+ "full_attention",
60
+ "full_attention",
61
+ "full_attention",
62
+ "full_attention",
63
+ "full_attention",
64
+ "full_attention",
65
+ "full_attention",
66
+ "full_attention",
67
+ "full_attention",
68
+ "full_attention",
69
+ "full_attention",
70
+ "full_attention",
71
+ "full_attention",
72
+ "full_attention",
73
+ "full_attention"
74
+ ],
75
+ "max_position_embeddings": 32768,
76
+ "max_window_layers": 28,
77
+ "model_type": "qwen2_vl_text",
78
+ "num_attention_heads": 12,
79
+ "num_hidden_layers": 28,
80
+ "num_key_value_heads": 2,
81
+ "rms_norm_eps": 1e-06,
82
+ "rope_scaling": {
83
+ "mrope_section": [
84
+ 16,
85
+ 24,
86
+ 24
87
+ ],
88
+ "rope_type": "default",
89
+ "type": "default"
90
+ },
91
+ "rope_theta": 1000000.0,
92
+ "sliding_window": null,
93
+ "tie_word_embeddings": true,
94
+ "use_cache": true,
95
+ "use_sliding_window": false,
96
+ "vision_token_id": 151654,
97
+ "vocab_size": 151657
98
+ },
99
+ "transformers_version": "4.57.1",
100
+ "use_cache": true,
101
+ "use_sliding_window": false,
102
+ "video_token_id": 151656,
103
+ "vision_config": {
104
+ "depth": 32,
105
+ "dtype": "bfloat16",
106
+ "embed_dim": 1280,
107
+ "hidden_act": "quick_gelu",
108
+ "hidden_size": 1536,
109
+ "in_channels": 3,
110
+ "in_chans": 3,
111
+ "initializer_range": 0.02,
112
+ "mlp_ratio": 4,
113
+ "model_type": "qwen2_vl",
114
+ "num_heads": 16,
115
+ "patch_size": 14,
116
+ "spatial_merge_size": 2,
117
+ "spatial_patch_size": 14,
118
+ "temporal_patch_size": 2
119
+ },
120
+ "vision_end_token_id": 151653,
121
+ "vision_start_token_id": 151652,
122
+ "vision_token_id": 151654,
123
+ "vocab_size": 151936
124
+ }
generation_config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 151643,
3
+ "do_sample": true,
4
+ "eos_token_id": [
5
+ 151645,
6
+ 151643
7
+ ],
8
+ "pad_token_id": 151643,
9
+ "temperature": 0.01,
10
+ "top_k": 1,
11
+ "top_p": 0.001,
12
+ "transformers_version": "4.57.1"
13
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f5c531597218ebbe3e64617be61d8850a6a2d923997195318acffaeaa49364fc
3
+ size 4417193760
trainer_config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_id": "Qwen/Qwen2-VL-2B-Instruct",
3
+ "save_dir": "/workspace/mmu/checkpoints/qwen_vanilla_1e-4",
4
+ "forget_ratio": 5,
5
+ "batch_size": 4,
6
+ "lr": 0.0001,
7
+ "num_epochs": 1,
8
+ "gradient_accumulation": false,
9
+ "trainer": false
10
+ }
zero_shots/forget05/evalconfig.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_id": "Qwen/Qwen2-VL-2B-Instruct",
3
+ "cache_path": "/workspace/mmu/checkpoints/qwen_vanilla_1e-4",
4
+ "data_folder": "data/CLEAR",
5
+ "forget_cls_folder": "forget05_perturbed",
6
+ "forget_gen_folder": "forget05+tofu",
7
+ "retain_gen_folder": "retain95+tofu",
8
+ "retain_cls_folder": "retain_perturbed",
9
+ "realface_folder": "real_faces",
10
+ "realworld_folder": "real_world",
11
+ "output_folder": "/workspace/mmu/checkpoints/qwen_vanilla_1e-4/zero_shots/forget05_1",
12
+ "eval_list": "forget retain realface realworld",
13
+ "shot_num": "zero_shots"
14
+ }
zero_shots/forget05/final_evaluation_results.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "Forget Set Results 1": {
3
+ "classification": {
4
+ "VQA Accuracy": 0.48936170212765956
5
+ }
6
+ },
7
+ "Forget Set Results 2": {
8
+ "classification": {
9
+ "VQA Accuracy": 0.5319148936170213
10
+ }
11
+ },
12
+ "Retain Set Results": {
13
+ "classification": {
14
+ "VQA Accuracy": 0.4278481012658228
15
+ }
16
+ },
17
+ "Real Face Results": {
18
+ "classification": {
19
+ "VQA Accuracy": 0.9337748344370861
20
+ }
21
+ },
22
+ "Real World Results": {
23
+ "classification": {
24
+ "VQA Accuracy": 0.49591280653950953
25
+ }
26
+ }
27
+ }
zero_shots/forget05_retainF/evalconfig.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_id": "Qwen/Qwen2-VL-2B-Instruct",
3
+ "cache_path": "/workspace/mmu/checkpoints/qwen_vanilla_1e-4",
4
+ "data_folder": "data/CLEAR",
5
+ "forget_cls_folder": "forget05_perturbed",
6
+ "forget_gen_folder": "forget05+tofu",
7
+ "retain_gen_folder": "retain95+tofu",
8
+ "retain_cls_folder": "retain_perturbed",
9
+ "realface_folder": "real_faces",
10
+ "realworld_folder": "real_world",
11
+ "output_folder": "/workspace/mmu/checkpoints/qwen_vanilla_1e-4/zero_shots/forget05_retainF",
12
+ "eval_list": "forget retain realface realworld",
13
+ "shot_num": "zero_shots"
14
+ }
zero_shots/forget05_retainF/final_evaluation_results.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "Forget Set Results 1": {
3
+ "classification": {
4
+ "VQA Accuracy": 0.4148936170212766
5
+ }
6
+ },
7
+ "Forget Set Results 2": {
8
+ "classification": {
9
+ "VQA Accuracy": 0.43617021276595747
10
+ }
11
+ },
12
+ "Retain Set Results": {
13
+ "classification": {
14
+ "VQA Accuracy": 0.4278481012658228
15
+ }
16
+ },
17
+ "Real Face Results": {
18
+ "classification": {
19
+ "VQA Accuracy": 0.9337748344370861
20
+ }
21
+ },
22
+ "Real World Results": {
23
+ "classification": {
24
+ "VQA Accuracy": 0.49591280653950953
25
+ }
26
+ }
27
+ }
zero_shots/forget05_woFalse/evalconfig.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_id": "Qwen/Qwen2-VL-2B-Instruct",
3
+ "cache_path": "/workspace/mmu/checkpoints/qwen_vanilla_1e-4",
4
+ "data_folder": "data/CLEAR",
5
+ "forget_cls_folder": "forget05_perturbed",
6
+ "forget_gen_folder": "forget05+tofu",
7
+ "retain_gen_folder": "retain95+tofu",
8
+ "retain_cls_folder": "retain_perturbed",
9
+ "realface_folder": "real_faces",
10
+ "realworld_folder": "real_world",
11
+ "output_folder": "/workspace/mmu/checkpoints/qwen_vanilla_1e-4/zero_shots/forget05_woFalse",
12
+ "eval_list": "forget retain realface realworld",
13
+ "shot_num": "zero_shots"
14
+ }
zero_shots/forget05_woFalse/final_evaluation_results.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "Forget Set Results 1": {
3
+ "classification": {
4
+ "VQA Accuracy": 0.4148936170212766
5
+ }
6
+ },
7
+ "Forget Set Results 2": {
8
+ "classification": {
9
+ "VQA Accuracy": 0.43617021276595747
10
+ }
11
+ },
12
+ "Retain Set Results": {
13
+ "classification": {
14
+ "VQA Accuracy": 0.5088607594936709
15
+ }
16
+ },
17
+ "Real Face Results": {
18
+ "classification": {
19
+ "VQA Accuracy": 0.9337748344370861
20
+ }
21
+ },
22
+ "Real World Results": {
23
+ "classification": {
24
+ "VQA Accuracy": 0.49591280653950953
25
+ }
26
+ }
27
+ }
zero_shots/forget10/evalconfig.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_id": "Qwen/Qwen2-VL-2B-Instruct",
3
+ "cache_path": "/workspace/mmu/checkpoints/qwen_vanilla_1e-4",
4
+ "data_folder": "data/CLEAR",
5
+ "forget_cls_folder": "forget10_perturbed",
6
+ "forget_gen_folder": "forget10+tofu",
7
+ "retain_gen_folder": "retain90+tofu",
8
+ "retain_cls_folder": "retain_perturbed",
9
+ "realface_folder": "real_faces",
10
+ "realworld_folder": "real_world",
11
+ "output_folder": "/workspace/mmu/checkpoints/qwen_vanilla_1e-4/zero_shots/forget10",
12
+ "eval_list": "forget retain realface realworld",
13
+ "shot_num": "zero_shots"
14
+ }
zero_shots/forget10/final_evaluation_results.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "Forget Set Results 1": {
3
+ "classification": {
4
+ "VQA Accuracy": 0.4444444444444444
5
+ }
6
+ },
7
+ "Forget Set Results 2": {
8
+ "classification": {
9
+ "VQA Accuracy": 0.4603174603174603
10
+ }
11
+ },
12
+ "Retain Set Results": {
13
+ "classification": {
14
+ "VQA Accuracy": 0.4177215189873418
15
+ }
16
+ },
17
+ "Real Face Results": {
18
+ "classification": {
19
+ "VQA Accuracy": 0.9205298013245033
20
+ }
21
+ },
22
+ "Real World Results": {
23
+ "classification": {
24
+ "VQA Accuracy": 0.49318801089918257
25
+ }
26
+ }
27
+ }
zero_shots/forget10_retainF/evalconfig.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_id": "Qwen/Qwen2-VL-2B-Instruct",
3
+ "cache_path": "/workspace/mmu/checkpoints/qwen_vanilla_1e-4",
4
+ "data_folder": "data/CLEAR",
5
+ "forget_cls_folder": "forget10_perturbed",
6
+ "forget_gen_folder": "forget10+tofu",
7
+ "retain_gen_folder": "retain90+tofu",
8
+ "retain_cls_folder": "retain_perturbed",
9
+ "realface_folder": "real_faces",
10
+ "realworld_folder": "real_world",
11
+ "output_folder": "/workspace/mmu/checkpoints/qwen_vanilla_1e-4/zero_shots/forget10_retainF",
12
+ "eval_list": "forget retain realface realworld",
13
+ "shot_num": "zero_shots"
14
+ }
zero_shots/forget10_retainF/final_evaluation_results.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "Forget Set Results 1": {
3
+ "classification": {
4
+ "VQA Accuracy": 0.41798941798941797
5
+ }
6
+ },
7
+ "Forget Set Results 2": {
8
+ "classification": {
9
+ "VQA Accuracy": 0.3492063492063492
10
+ }
11
+ },
12
+ "Retain Set Results": {
13
+ "classification": {
14
+ "VQA Accuracy": 0.4177215189873418
15
+ }
16
+ },
17
+ "Real Face Results": {
18
+ "classification": {
19
+ "VQA Accuracy": 0.9205298013245033
20
+ }
21
+ },
22
+ "Real World Results": {
23
+ "classification": {
24
+ "VQA Accuracy": 0.49318801089918257
25
+ }
26
+ }
27
+ }
zero_shots/forget10_woFalse/evalconfig.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_id": "Qwen/Qwen2-VL-2B-Instruct",
3
+ "cache_path": "/workspace/mmu/checkpoints/qwen_vanilla_1e-4",
4
+ "data_folder": "data/CLEAR",
5
+ "forget_cls_folder": "forget10_perturbed",
6
+ "forget_gen_folder": "forget10+tofu",
7
+ "retain_gen_folder": "retain90+tofu",
8
+ "retain_cls_folder": "retain_perturbed",
9
+ "realface_folder": "real_faces",
10
+ "realworld_folder": "real_world",
11
+ "output_folder": "/workspace/mmu/checkpoints/qwen_vanilla_1e-4/zero_shots/forget10_woFalse",
12
+ "eval_list": "forget retain realface realworld",
13
+ "shot_num": "zero_shots"
14
+ }
zero_shots/forget10_woFalse/final_evaluation_results.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "Forget Set Results 1": {
3
+ "classification": {
4
+ "VQA Accuracy": 0.41798941798941797
5
+ }
6
+ },
7
+ "Forget Set Results 2": {
8
+ "classification": {
9
+ "VQA Accuracy": 0.3492063492063492
10
+ }
11
+ },
12
+ "Retain Set Results": {
13
+ "classification": {
14
+ "VQA Accuracy": 0.5088607594936709
15
+ }
16
+ },
17
+ "Real Face Results": {
18
+ "classification": {
19
+ "VQA Accuracy": 0.9205298013245033
20
+ }
21
+ },
22
+ "Real World Results": {
23
+ "classification": {
24
+ "VQA Accuracy": 0.49318801089918257
25
+ }
26
+ }
27
+ }