Xiaodong commited on
Commit
f6d4aee
1 Parent(s): 2428d76
README.md ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ ---
4
+ ## Training procedure
5
+
6
+ ### Framework versions
7
+
8
+ - PEFT 0.4.0
9
+ - PEFT 0.4.0
10
+ - PEFT 0.4.0
11
+
12
+ - PEFT 0.4.0
adapter_config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "auto_mapping": null,
3
+ "base_model_name_or_path": "/mnt/workspace/llava-v1.5-7b",
4
+ "bias": "none",
5
+ "fan_in_fan_out": false,
6
+ "inference_mode": true,
7
+ "init_lora_weights": true,
8
+ "layers_pattern": null,
9
+ "layers_to_transform": null,
10
+ "lora_alpha": 128,
11
+ "lora_dropout": 0.05,
12
+ "modules_to_save": null,
13
+ "peft_type": "LORA",
14
+ "r": 64,
15
+ "revision": null,
16
+ "target_modules": [
17
+ "up_proj",
18
+ "o_proj",
19
+ "gate_proj",
20
+ "v_proj",
21
+ "q_proj",
22
+ "down_proj",
23
+ "k_proj"
24
+ ],
25
+ "task_type": "CAUSAL_LM"
26
+ }
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ea1c0eee3823d932ae6b05f4f437c281246e157523628bb7204f1d9d620b6025
3
+ size 319970957
config.json ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/mnt/workspace/llava-v1.5-7b",
3
+ "architectures": [
4
+ "LlavaLlamaForCausalLM"
5
+ ],
6
+ "bos_token_id": 1,
7
+ "eos_token_id": 2,
8
+ "freeze_mm_mlp_adapter": false,
9
+ "freeze_mm_vision_resampler": false,
10
+ "hidden_act": "silu",
11
+ "hidden_size": 4096,
12
+ "image_aspect_ratio": "pad",
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 11008,
15
+ "max_length": 4096,
16
+ "max_position_embeddings": 4096,
17
+ "mm_hidden_size": 1024,
18
+ "mm_projector_lr": 2e-05,
19
+ "mm_projector_type": "mlp2x_gelu",
20
+ "mm_resampler_type": null,
21
+ "mm_use_im_patch_token": false,
22
+ "mm_use_im_start_end": false,
23
+ "mm_vision_select_feature": "patch",
24
+ "mm_vision_select_layer": -2,
25
+ "mm_vision_tower": "/mnt/workspace/clip-vit-large-patch14-336",
26
+ "model_type": "llava",
27
+ "num_attention_heads": 32,
28
+ "num_hidden_layers": 32,
29
+ "num_key_value_heads": 32,
30
+ "pad_token_id": 0,
31
+ "pretraining_tp": 1,
32
+ "rms_norm_eps": 1e-05,
33
+ "rope_scaling": null,
34
+ "tie_word_embeddings": false,
35
+ "tokenizer_model_max_length": 2048,
36
+ "tokenizer_padding_side": "right",
37
+ "torch_dtype": "float16",
38
+ "transformers_version": "4.31.0",
39
+ "tune_mm_mlp_adapter": false,
40
+ "tune_mm_vision_resampler": false,
41
+ "unfreeze_mm_vision_tower": false,
42
+ "use_cache": true,
43
+ "use_mm_proj": true,
44
+ "vocab_size": 32000
45
+ }
non_lora_trainables.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f36ea34e146410d35253848d460896e2e24ea77dd661c531d472884c2d8b16ea
3
+ size 41961191
trainer_state.json ADDED
@@ -0,0 +1,115 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 4.8,
5
+ "global_step": 15,
6
+ "is_hyper_param_search": false,
7
+ "is_local_process_zero": true,
8
+ "is_world_process_zero": true,
9
+ "log_history": [
10
+ {
11
+ "epoch": 0.32,
12
+ "learning_rate": 0.0002,
13
+ "loss": 1.2863,
14
+ "step": 1
15
+ },
16
+ {
17
+ "epoch": 0.64,
18
+ "learning_rate": 0.00019749279121818235,
19
+ "loss": 1.2544,
20
+ "step": 2
21
+ },
22
+ {
23
+ "epoch": 0.96,
24
+ "learning_rate": 0.0001900968867902419,
25
+ "loss": 1.0333,
26
+ "step": 3
27
+ },
28
+ {
29
+ "epoch": 1.28,
30
+ "learning_rate": 0.000178183148246803,
31
+ "loss": 0.9202,
32
+ "step": 4
33
+ },
34
+ {
35
+ "epoch": 1.6,
36
+ "learning_rate": 0.00016234898018587337,
37
+ "loss": 0.8506,
38
+ "step": 5
39
+ },
40
+ {
41
+ "epoch": 1.92,
42
+ "learning_rate": 0.00014338837391175582,
43
+ "loss": 0.7345,
44
+ "step": 6
45
+ },
46
+ {
47
+ "epoch": 2.24,
48
+ "learning_rate": 0.00012225209339563145,
49
+ "loss": 0.6905,
50
+ "step": 7
51
+ },
52
+ {
53
+ "epoch": 2.56,
54
+ "learning_rate": 0.0001,
55
+ "loss": 0.6544,
56
+ "step": 8
57
+ },
58
+ {
59
+ "epoch": 2.88,
60
+ "learning_rate": 7.774790660436858e-05,
61
+ "loss": 0.6118,
62
+ "step": 9
63
+ },
64
+ {
65
+ "epoch": 3.2,
66
+ "learning_rate": 5.6611626088244194e-05,
67
+ "loss": 0.5865,
68
+ "step": 10
69
+ },
70
+ {
71
+ "epoch": 3.52,
72
+ "learning_rate": 3.7651019814126654e-05,
73
+ "loss": 0.5699,
74
+ "step": 11
75
+ },
76
+ {
77
+ "epoch": 3.84,
78
+ "learning_rate": 2.181685175319702e-05,
79
+ "loss": 0.505,
80
+ "step": 12
81
+ },
82
+ {
83
+ "epoch": 4.16,
84
+ "learning_rate": 9.903113209758096e-06,
85
+ "loss": 0.4942,
86
+ "step": 13
87
+ },
88
+ {
89
+ "epoch": 4.48,
90
+ "learning_rate": 2.5072087818176382e-06,
91
+ "loss": 0.5002,
92
+ "step": 14
93
+ },
94
+ {
95
+ "epoch": 4.8,
96
+ "learning_rate": 0.0,
97
+ "loss": 0.4813,
98
+ "step": 15
99
+ },
100
+ {
101
+ "epoch": 4.8,
102
+ "step": 15,
103
+ "total_flos": 4296337784832.0,
104
+ "train_loss": 0.7448747992515564,
105
+ "train_runtime": 1150.9521,
106
+ "train_samples_per_second": 0.869,
107
+ "train_steps_per_second": 0.013
108
+ }
109
+ ],
110
+ "max_steps": 15,
111
+ "num_train_epochs": 5,
112
+ "total_flos": 4296337784832.0,
113
+ "trial_name": null,
114
+ "trial_params": null
115
+ }