maghwa commited on
Commit
e58fbf2
·
verified ·
1 Parent(s): 86aeb25

Upload folder using huggingface_hub

Browse files
adapter_config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "HuggingFaceM4/idefics2-8b",
5
+ "bias": "none",
6
+ "eva_config": null,
7
+ "exclude_modules": null,
8
+ "fan_in_fan_out": false,
9
+ "inference_mode": false,
10
+ "init_lora_weights": "gaussian",
11
+ "layer_replication": null,
12
+ "layers_pattern": null,
13
+ "layers_to_transform": null,
14
+ "loftq_config": {},
15
+ "lora_alpha": 8,
16
+ "lora_bias": false,
17
+ "lora_dropout": 0.1,
18
+ "megatron_config": null,
19
+ "megatron_core": "megatron.core",
20
+ "modules_to_save": null,
21
+ "peft_type": "LORA",
22
+ "r": 8,
23
+ "rank_pattern": {},
24
+ "revision": null,
25
+ "target_modules": ".*(text_model|modality_projection|perceiver_resampler).*(down_proj|gate_proj|up_proj|k_proj|q_proj|v_proj|o_proj).*$",
26
+ "task_type": null,
27
+ "use_dora": false,
28
+ "use_rslora": false
29
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:068aae5d0c77389ac936394e6e1e51828ce7dbfddc32b35360aa741102391ac5
3
+ size 93378688
generation_config.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bad_words_ids": [
4
+ [
5
+ 32000
6
+ ],
7
+ [
8
+ 32001
9
+ ]
10
+ ],
11
+ "bos_token_id": 1,
12
+ "eos_token_id": [
13
+ 2,
14
+ 32002
15
+ ],
16
+ "pad_token_id": 0,
17
+ "transformers_version": "4.48.0.dev0"
18
+ }
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:73055732f94173d88649be38d1d0bb0ee3a6955edb6f4b9ae82b888c6ff73bdd
3
+ size 187031330
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bdcd4833fd052e5c9ba87b1f46218b43ed44d1629e5173241cdf27417b09254e
3
+ size 14244
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cc05265a8fb71c036a181f9a95927c2d349e77bd2dfa09f654d934bb618d8bb3
3
+ size 1064
trainer_state.json ADDED
@@ -0,0 +1,117 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 4.928,
5
+ "eval_steps": 500,
6
+ "global_step": 310,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.4,
13
+ "grad_norm": 81.96082305908203,
14
+ "learning_rate": 4.4000000000000006e-05,
15
+ "loss": 58.2628,
16
+ "step": 25
17
+ },
18
+ {
19
+ "epoch": 0.8,
20
+ "grad_norm": 36.536678314208984,
21
+ "learning_rate": 9.4e-05,
22
+ "loss": 2.1587,
23
+ "step": 50
24
+ },
25
+ {
26
+ "epoch": 1.192,
27
+ "grad_norm": 30.483903884887695,
28
+ "learning_rate": 9.153846153846155e-05,
29
+ "loss": 1.7083,
30
+ "step": 75
31
+ },
32
+ {
33
+ "epoch": 1.592,
34
+ "grad_norm": 24.5040225982666,
35
+ "learning_rate": 8.192307692307693e-05,
36
+ "loss": 1.5561,
37
+ "step": 100
38
+ },
39
+ {
40
+ "epoch": 1.992,
41
+ "grad_norm": 23.667861938476562,
42
+ "learning_rate": 7.23076923076923e-05,
43
+ "loss": 1.3954,
44
+ "step": 125
45
+ },
46
+ {
47
+ "epoch": 2.384,
48
+ "grad_norm": 19.942045211791992,
49
+ "learning_rate": 6.307692307692308e-05,
50
+ "loss": 0.7723,
51
+ "step": 150
52
+ },
53
+ {
54
+ "epoch": 2.784,
55
+ "grad_norm": 22.397857666015625,
56
+ "learning_rate": 5.346153846153846e-05,
57
+ "loss": 0.7796,
58
+ "step": 175
59
+ },
60
+ {
61
+ "epoch": 3.176,
62
+ "grad_norm": 17.26620101928711,
63
+ "learning_rate": 4.384615384615385e-05,
64
+ "loss": 0.6446,
65
+ "step": 200
66
+ },
67
+ {
68
+ "epoch": 3.576,
69
+ "grad_norm": 15.945826530456543,
70
+ "learning_rate": 3.4230769230769234e-05,
71
+ "loss": 0.4756,
72
+ "step": 225
73
+ },
74
+ {
75
+ "epoch": 3.976,
76
+ "grad_norm": 20.171337127685547,
77
+ "learning_rate": 2.461538461538462e-05,
78
+ "loss": 0.4989,
79
+ "step": 250
80
+ },
81
+ {
82
+ "epoch": 4.368,
83
+ "grad_norm": 14.564436912536621,
84
+ "learning_rate": 1.5e-05,
85
+ "loss": 0.2846,
86
+ "step": 275
87
+ },
88
+ {
89
+ "epoch": 4.768,
90
+ "grad_norm": 15.490738868713379,
91
+ "learning_rate": 5.3846153846153855e-06,
92
+ "loss": 0.3187,
93
+ "step": 300
94
+ }
95
+ ],
96
+ "logging_steps": 25,
97
+ "max_steps": 310,
98
+ "num_input_tokens_seen": 0,
99
+ "num_train_epochs": 5,
100
+ "save_steps": 25,
101
+ "stateful_callbacks": {
102
+ "TrainerControl": {
103
+ "args": {
104
+ "should_epoch_stop": false,
105
+ "should_evaluate": false,
106
+ "should_log": false,
107
+ "should_save": true,
108
+ "should_training_stop": true
109
+ },
110
+ "attributes": {}
111
+ }
112
+ },
113
+ "total_flos": 2.4681387557982144e+16,
114
+ "train_batch_size": 2,
115
+ "trial_name": null,
116
+ "trial_params": null
117
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ea690f467f3a18fa3bbdf739bdcdbf01448dfe968ce14b534a8133312948b08d
3
+ size 5368