aipib commited on
Commit
26bfb2e
1 Parent(s): 6ef3f6d

End of training

Browse files
README.md CHANGED
@@ -1,3 +1,57 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ library_name: peft
4
+ tags:
5
+ - generated_from_trainer
6
+ base_model: HuggingFaceTB/SmolLM-135M-Instruct
7
+ model-index:
8
+ - name: smollm-ft-onlyqa-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-onlyqa-adapter
16
+
17
+ This model is a fine-tuned version of [HuggingFaceTB/SmolLM-135M-Instruct](https://huggingface.co/HuggingFaceTB/SmolLM-135M-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: 4
41
+ - total_train_batch_size: 4
42
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
43
+ - lr_scheduler_type: linear
44
+ - lr_scheduler_warmup_steps: 5
45
+ - num_epochs: 4
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-135M-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.05,
15
+ "megatron_config": null,
16
+ "megatron_core": "megatron.core",
17
+ "modules_to_save": null,
18
+ "peft_type": "LORA",
19
+ "r": 32,
20
+ "rank_pattern": {},
21
+ "revision": null,
22
+ "target_modules": [
23
+ "self_attn.v_proj",
24
+ "mlp.down_proj",
25
+ "self_attn.q_proj",
26
+ "self_attn.o_proj",
27
+ "mlp.gate_proj",
28
+ "mlp.up_proj",
29
+ "self_attn.k_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:3c58005299e0c2425c71624cbd289f112945877da3d126ab2d0e20008ed7a365
3
+ size 39131224
runs/Jul23_11-19-29_MasanoMacBook-Air-2283.local/events.out.tfevents.1721701169.MasanoMacBook-Air-2283.local ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3f0d310d004ec74be56767c18cff03121e9d8185443dcf71805b3052429cdd72
3
+ size 4883
runs/Jul23_11-22-11_MasanoMacBook-Air-2283.local/events.out.tfevents.1721701331.MasanoMacBook-Air-2283.local ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9bc0a7d852940d40707beed7169610a90b74eb2f5308ffd219f6102e6fb6b8ad
3
+ size 5503
runs/Jul23_12-27-17_MasanoMacBook-Air-2283.local/events.out.tfevents.1721705237.MasanoMacBook-Air-2283.local ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f576b296bb26ce22a5ae823a31cac7c98bebaf8eb1d4acb08f0e0a24240bb166
3
+ size 9783
trainer_state.json ADDED
@@ -0,0 +1,196 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 3.9646017699115044,
5
+ "eval_steps": 500,
6
+ "global_step": 112,
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.17699115044247787,
13
+ "grad_norm": 0.28110718727111816,
14
+ "learning_rate": 0.001,
15
+ "loss": 2.0914,
16
+ "step": 5
17
+ },
18
+ {
19
+ "epoch": 0.35398230088495575,
20
+ "grad_norm": 0.4683087170124054,
21
+ "learning_rate": 0.0009532710280373832,
22
+ "loss": 68.6106,
23
+ "step": 10
24
+ },
25
+ {
26
+ "epoch": 0.5309734513274337,
27
+ "grad_norm": 0.391385018825531,
28
+ "learning_rate": 0.0009065420560747663,
29
+ "loss": 6.5177369285288705e+28,
30
+ "step": 15
31
+ },
32
+ {
33
+ "epoch": 0.7079646017699115,
34
+ "grad_norm": 0.28258973360061646,
35
+ "learning_rate": 0.0008598130841121495,
36
+ "loss": 1.3377,
37
+ "step": 20
38
+ },
39
+ {
40
+ "epoch": 0.8849557522123894,
41
+ "grad_norm": 0.19995203614234924,
42
+ "learning_rate": 0.0008130841121495327,
43
+ "loss": 1.3511,
44
+ "step": 25
45
+ },
46
+ {
47
+ "epoch": 1.0619469026548674,
48
+ "grad_norm": 0.19121702015399933,
49
+ "learning_rate": 0.0007663551401869159,
50
+ "loss": 1.2251,
51
+ "step": 30
52
+ },
53
+ {
54
+ "epoch": 1.238938053097345,
55
+ "grad_norm": 0.24388529360294342,
56
+ "learning_rate": 0.0007196261682242991,
57
+ "loss": 140.8433,
58
+ "step": 35
59
+ },
60
+ {
61
+ "epoch": 1.415929203539823,
62
+ "grad_norm": 0.2640773355960846,
63
+ "learning_rate": 0.0006728971962616822,
64
+ "loss": 105.5469,
65
+ "step": 40
66
+ },
67
+ {
68
+ "epoch": 1.592920353982301,
69
+ "grad_norm": 0.21957242488861084,
70
+ "learning_rate": 0.0006261682242990654,
71
+ "loss": 1.1374,
72
+ "step": 45
73
+ },
74
+ {
75
+ "epoch": 1.7699115044247788,
76
+ "grad_norm": 0.2884615957736969,
77
+ "learning_rate": 0.0005794392523364486,
78
+ "loss": 4.329361321642949e+28,
79
+ "step": 50
80
+ },
81
+ {
82
+ "epoch": 1.9469026548672566,
83
+ "grad_norm": 0.3385254442691803,
84
+ "learning_rate": 0.0005327102803738317,
85
+ "loss": 1.0632,
86
+ "step": 55
87
+ },
88
+ {
89
+ "epoch": 2.1238938053097347,
90
+ "grad_norm": 0.2307429313659668,
91
+ "learning_rate": 0.00048598130841121494,
92
+ "loss": 0.8567,
93
+ "step": 60
94
+ },
95
+ {
96
+ "epoch": 2.3008849557522124,
97
+ "grad_norm": 0.22807413339614868,
98
+ "learning_rate": 0.00043925233644859815,
99
+ "loss": 0.8818,
100
+ "step": 65
101
+ },
102
+ {
103
+ "epoch": 2.47787610619469,
104
+ "grad_norm": 0.3359227478504181,
105
+ "learning_rate": 0.0003925233644859813,
106
+ "loss": 1.4346974010152121e+29,
107
+ "step": 70
108
+ },
109
+ {
110
+ "epoch": 2.6548672566371683,
111
+ "grad_norm": 0.35234493017196655,
112
+ "learning_rate": 0.00034579439252336447,
113
+ "loss": 105.9515,
114
+ "step": 75
115
+ },
116
+ {
117
+ "epoch": 2.831858407079646,
118
+ "grad_norm": 0.2722542881965637,
119
+ "learning_rate": 0.00029906542056074763,
120
+ "loss": 1.0193,
121
+ "step": 80
122
+ },
123
+ {
124
+ "epoch": 3.0088495575221237,
125
+ "grad_norm": 0.2476160079240799,
126
+ "learning_rate": 0.00025233644859813084,
127
+ "loss": 0.9268,
128
+ "step": 85
129
+ },
130
+ {
131
+ "epoch": 3.185840707964602,
132
+ "grad_norm": 0.2469383180141449,
133
+ "learning_rate": 0.00020560747663551403,
134
+ "loss": 0.8098,
135
+ "step": 90
136
+ },
137
+ {
138
+ "epoch": 3.3628318584070795,
139
+ "grad_norm": 0.2519451975822449,
140
+ "learning_rate": 0.0001588785046728972,
141
+ "loss": 0.8464,
142
+ "step": 95
143
+ },
144
+ {
145
+ "epoch": 3.5398230088495577,
146
+ "grad_norm": 0.29985764622688293,
147
+ "learning_rate": 0.00011214953271028037,
148
+ "loss": 1.3981207458798617e+29,
149
+ "step": 100
150
+ },
151
+ {
152
+ "epoch": 3.7168141592920354,
153
+ "grad_norm": 1.0310410261154175,
154
+ "learning_rate": 6.542056074766355e-05,
155
+ "loss": 6.232082018900711e+27,
156
+ "step": 105
157
+ },
158
+ {
159
+ "epoch": 3.893805309734513,
160
+ "grad_norm": 0.25868210196495056,
161
+ "learning_rate": 1.8691588785046727e-05,
162
+ "loss": 0.8616,
163
+ "step": 110
164
+ },
165
+ {
166
+ "epoch": 3.9646017699115044,
167
+ "step": 112,
168
+ "total_flos": 127914559565184.0,
169
+ "train_loss": 1.7767182107594924e+28,
170
+ "train_runtime": 1986.7669,
171
+ "train_samples_per_second": 0.228,
172
+ "train_steps_per_second": 0.056
173
+ }
174
+ ],
175
+ "logging_steps": 5,
176
+ "max_steps": 112,
177
+ "num_input_tokens_seen": 0,
178
+ "num_train_epochs": 4,
179
+ "save_steps": 500,
180
+ "stateful_callbacks": {
181
+ "TrainerControl": {
182
+ "args": {
183
+ "should_epoch_stop": false,
184
+ "should_evaluate": false,
185
+ "should_log": false,
186
+ "should_save": false,
187
+ "should_training_stop": false
188
+ },
189
+ "attributes": {}
190
+ }
191
+ },
192
+ "total_flos": 127914559565184.0,
193
+ "train_batch_size": 1,
194
+ "trial_name": null,
195
+ "trial_params": null
196
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6416ae0d260f12f2a4806e523aae6855d34cd9ef9b9aa1f96399c9c082a0a11e
3
+ size 5112