aipib commited on
Commit
5815a92
·
verified ·
1 Parent(s): 50ed2b1

End of training

Browse files
README.md ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ library_name: peft
4
+ tags:
5
+ - generated_from_trainer
6
+ base_model: HuggingFaceTB/SmolLM-360M-Instruct
7
+ model-index:
8
+ - name: smollm-ft-llmhuman-example-adapter
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ # smollm-ft-llmhuman-example-adapter
16
+
17
+ This model is a fine-tuned version of [HuggingFaceTB/SmolLM-360M-Instruct](https://huggingface.co/HuggingFaceTB/SmolLM-360M-Instruct) on the None dataset.
18
+
19
+ ## Model description
20
+
21
+ More information needed
22
+
23
+ ## Intended uses & limitations
24
+
25
+ More information needed
26
+
27
+ ## Training and evaluation data
28
+
29
+ More information needed
30
+
31
+ ## Training procedure
32
+
33
+ ### Training hyperparameters
34
+
35
+ The following hyperparameters were used during training:
36
+ - learning_rate: 0.001
37
+ - train_batch_size: 1
38
+ - eval_batch_size: 8
39
+ - seed: 42
40
+ - gradient_accumulation_steps: 2
41
+ - total_train_batch_size: 2
42
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
43
+ - lr_scheduler_type: linear
44
+ - lr_scheduler_warmup_steps: 10
45
+ - num_epochs: 1
46
+
47
+ ### Training results
48
+
49
+
50
+
51
+ ### Framework versions
52
+
53
+ - PEFT 0.11.1
54
+ - Transformers 4.41.1
55
+ - Pytorch 2.3.0
56
+ - Datasets 2.20.0
57
+ - Tokenizers 0.19.1
adapter_config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "HuggingFaceTB/SmolLM-360M-Instruct",
5
+ "bias": "none",
6
+ "fan_in_fan_out": false,
7
+ "inference_mode": true,
8
+ "init_lora_weights": true,
9
+ "layer_replication": null,
10
+ "layers_pattern": null,
11
+ "layers_to_transform": null,
12
+ "loftq_config": {},
13
+ "lora_alpha": 32,
14
+ "lora_dropout": 0.0,
15
+ "megatron_config": null,
16
+ "megatron_core": "megatron.core",
17
+ "modules_to_save": null,
18
+ "peft_type": "LORA",
19
+ "r": 8,
20
+ "rank_pattern": {},
21
+ "revision": null,
22
+ "target_modules": [
23
+ "self_attn.k_proj",
24
+ "mlp.down_proj",
25
+ "mlp.up_proj",
26
+ "self_attn.q_proj",
27
+ "mlp.gate_proj",
28
+ "self_attn.o_proj",
29
+ "self_attn.v_proj"
30
+ ],
31
+ "task_type": "CAUSAL_LM",
32
+ "use_dora": false,
33
+ "use_rslora": false
34
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bbe4e92b319da74312b9e14ce10bac56dd77024c8f1879684a3f716b1928e339
3
+ size 17425352
runs/Jul23_16-45-10_MasanoMacBook-Air-2283.local/events.out.tfevents.1721720710.MasanoMacBook-Air-2283.local ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:db70a7133e455219200f0f4b1627d2efbf40208033a71a2e8569caf94e9e5020
3
+ size 4915
runs/Jul23_16-45-40_MasanoMacBook-Air-2283.local/events.out.tfevents.1721720740.MasanoMacBook-Air-2283.local ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:832d8b702d10c655359d69899499e62d2ca18b3ad442fb195867f2bf7816b123
3
+ size 5536
runs/Jul23_17-32-47_MasanoMacBook-Air-2283.local/events.out.tfevents.1721723567.MasanoMacBook-Air-2283.local ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:00d74f99b52e2f5bccab4243f690e795237b59568ca0e6fb73285a5fbc2d9b2e
3
+ size 5949
runs/Jul23_19-05-32_MasanoMacBook-Air-2283.local/events.out.tfevents.1721729132.MasanoMacBook-Air-2283.local ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9d1c2c59e9abe318c09187f2ce876bc2a7974746de6dcc74ac0d609b8ca52f31
3
+ size 10519
trainer_state.json ADDED
@@ -0,0 +1,217 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0.9990205680705191,
5
+ "eval_steps": 500,
6
+ "global_step": 510,
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.039177277179236046,
13
+ "grad_norm": 0.5212510228157043,
14
+ "learning_rate": 0.00098,
15
+ "loss": 1.6695,
16
+ "step": 20
17
+ },
18
+ {
19
+ "epoch": 0.07835455435847209,
20
+ "grad_norm": 0.46687546372413635,
21
+ "learning_rate": 0.00094,
22
+ "loss": 1.4897,
23
+ "step": 40
24
+ },
25
+ {
26
+ "epoch": 0.11753183153770813,
27
+ "grad_norm": 0.3956817388534546,
28
+ "learning_rate": 0.0009000000000000001,
29
+ "loss": 1.1361,
30
+ "step": 60
31
+ },
32
+ {
33
+ "epoch": 0.15670910871694418,
34
+ "grad_norm": 0.6187575459480286,
35
+ "learning_rate": 0.00086,
36
+ "loss": 1.1006,
37
+ "step": 80
38
+ },
39
+ {
40
+ "epoch": 0.1958863858961802,
41
+ "grad_norm": 0.5952175259590149,
42
+ "learning_rate": 0.00082,
43
+ "loss": 1.1829,
44
+ "step": 100
45
+ },
46
+ {
47
+ "epoch": 0.23506366307541626,
48
+ "grad_norm": 0.5533424019813538,
49
+ "learning_rate": 0.0007800000000000001,
50
+ "loss": 1.1187,
51
+ "step": 120
52
+ },
53
+ {
54
+ "epoch": 0.2742409402546523,
55
+ "grad_norm": 0.49875837564468384,
56
+ "learning_rate": 0.00074,
57
+ "loss": 1.1533,
58
+ "step": 140
59
+ },
60
+ {
61
+ "epoch": 0.31341821743388837,
62
+ "grad_norm": 0.3221249580383301,
63
+ "learning_rate": 0.0007,
64
+ "loss": 1.0684,
65
+ "step": 160
66
+ },
67
+ {
68
+ "epoch": 0.3525954946131244,
69
+ "grad_norm": 0.4444270730018616,
70
+ "learning_rate": 0.00066,
71
+ "loss": 0.9958,
72
+ "step": 180
73
+ },
74
+ {
75
+ "epoch": 0.3917727717923604,
76
+ "grad_norm": 0.3522554337978363,
77
+ "learning_rate": 0.00062,
78
+ "loss": 1.0248,
79
+ "step": 200
80
+ },
81
+ {
82
+ "epoch": 0.4309500489715965,
83
+ "grad_norm": 0.5420783162117004,
84
+ "learning_rate": 0.00058,
85
+ "loss": 0.8882,
86
+ "step": 220
87
+ },
88
+ {
89
+ "epoch": 0.4701273261508325,
90
+ "grad_norm": 0.390200674533844,
91
+ "learning_rate": 0.00054,
92
+ "loss": 1.057,
93
+ "step": 240
94
+ },
95
+ {
96
+ "epoch": 0.5093046033300686,
97
+ "grad_norm": 0.29798322916030884,
98
+ "learning_rate": 0.0005,
99
+ "loss": 0.9993,
100
+ "step": 260
101
+ },
102
+ {
103
+ "epoch": 0.5484818805093046,
104
+ "grad_norm": 0.32027778029441833,
105
+ "learning_rate": 0.00046,
106
+ "loss": 31543.7594,
107
+ "step": 280
108
+ },
109
+ {
110
+ "epoch": 0.5876591576885406,
111
+ "grad_norm": 0.3356141746044159,
112
+ "learning_rate": 0.00042,
113
+ "loss": 1.0387,
114
+ "step": 300
115
+ },
116
+ {
117
+ "epoch": 0.6268364348677767,
118
+ "grad_norm": 0.4466319680213928,
119
+ "learning_rate": 0.00038,
120
+ "loss": 1.0035,
121
+ "step": 320
122
+ },
123
+ {
124
+ "epoch": 0.6660137120470128,
125
+ "grad_norm": 0.34509071707725525,
126
+ "learning_rate": 0.00034,
127
+ "loss": 1.079,
128
+ "step": 340
129
+ },
130
+ {
131
+ "epoch": 0.7051909892262488,
132
+ "grad_norm": 0.3388811945915222,
133
+ "learning_rate": 0.0003,
134
+ "loss": 0.8813,
135
+ "step": 360
136
+ },
137
+ {
138
+ "epoch": 0.7443682664054848,
139
+ "grad_norm": 0.42653968930244446,
140
+ "learning_rate": 0.00026000000000000003,
141
+ "loss": 0.9738,
142
+ "step": 380
143
+ },
144
+ {
145
+ "epoch": 0.7835455435847208,
146
+ "grad_norm": 0.41174277663230896,
147
+ "learning_rate": 0.00022,
148
+ "loss": 1.0102,
149
+ "step": 400
150
+ },
151
+ {
152
+ "epoch": 0.8227228207639569,
153
+ "grad_norm": 0.2753573954105377,
154
+ "learning_rate": 0.00017999999999999998,
155
+ "loss": 0.9923,
156
+ "step": 420
157
+ },
158
+ {
159
+ "epoch": 0.861900097943193,
160
+ "grad_norm": 0.4338860809803009,
161
+ "learning_rate": 0.00014000000000000001,
162
+ "loss": 0.9225,
163
+ "step": 440
164
+ },
165
+ {
166
+ "epoch": 0.901077375122429,
167
+ "grad_norm": 0.3668128252029419,
168
+ "learning_rate": 0.0001,
169
+ "loss": 1.0012,
170
+ "step": 460
171
+ },
172
+ {
173
+ "epoch": 0.940254652301665,
174
+ "grad_norm": 0.20731355249881744,
175
+ "learning_rate": 6e-05,
176
+ "loss": 0.9247,
177
+ "step": 480
178
+ },
179
+ {
180
+ "epoch": 0.9794319294809011,
181
+ "grad_norm": 0.2774331867694855,
182
+ "learning_rate": 2e-05,
183
+ "loss": 1.0422,
184
+ "step": 500
185
+ },
186
+ {
187
+ "epoch": 0.9990205680705191,
188
+ "step": 510,
189
+ "total_flos": 468651156894720.0,
190
+ "train_loss": 1238.0412948421404,
191
+ "train_runtime": 10118.6641,
192
+ "train_samples_per_second": 0.101,
193
+ "train_steps_per_second": 0.05
194
+ }
195
+ ],
196
+ "logging_steps": 20,
197
+ "max_steps": 510,
198
+ "num_input_tokens_seen": 0,
199
+ "num_train_epochs": 1,
200
+ "save_steps": 500,
201
+ "stateful_callbacks": {
202
+ "TrainerControl": {
203
+ "args": {
204
+ "should_epoch_stop": false,
205
+ "should_evaluate": false,
206
+ "should_log": false,
207
+ "should_save": true,
208
+ "should_training_stop": false
209
+ },
210
+ "attributes": {}
211
+ }
212
+ },
213
+ "total_flos": 468651156894720.0,
214
+ "train_batch_size": 1,
215
+ "trial_name": null,
216
+ "trial_params": null
217
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d9f3eca93d9e76b523a72774c24ef0c7aa51bb1fddc158e2a6dc1fbaafa7b268
3
+ size 5112