Safetensors
GGUF
llama
Inference Endpoints
skdrx commited on
Commit
fe92590
·
verified ·
1 Parent(s): 82bf7fb

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ amd135m_bf16.gguf filter=lfs diff=lfs merge=lfs -text
37
+ amd135m_fp16.gguf filter=lfs diff=lfs merge=lfs -text
38
+ amd135m_q8.gguf filter=lfs diff=lfs merge=lfs -text
amd135m_bf16.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d253fa3a820e4008472e19eb0cbdc3ae5c69d010a067efca750fd1d3f968a40a
3
+ size 268980896
amd135m_fp16.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d4b4f722a85580d76f4851dd42ef943466d188de71ef0c2a59fc500ea5786c66
3
+ size 268980896
amd135m_q8.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f0db09b0c65f1ec6bcf8a13b3b450e28125655171acb6a5b47e1611db9d7c205
3
+ size 143274656
config.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "amd/AMD-Llama-135m",
3
+ "architectures": [
4
+ "LlamaForCausalLM"
5
+ ],
6
+ "attention_bias": false,
7
+ "attention_dropout": 0.0,
8
+ "bos_token_id": 1,
9
+ "eos_token_id": 2,
10
+ "hidden_act": "silu",
11
+ "hidden_size": 768,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 2048,
14
+ "max_position_embeddings": 2048,
15
+ "mlp_bias": false,
16
+ "model_type": "llama",
17
+ "num_attention_heads": 12,
18
+ "num_hidden_layers": 12,
19
+ "num_key_value_heads": 12,
20
+ "pad_token_id": 0,
21
+ "pretraining_tp": 1,
22
+ "rms_norm_eps": 1e-05,
23
+ "rope_scaling": null,
24
+ "rope_theta": 10000.0,
25
+ "tie_word_embeddings": false,
26
+ "torch_dtype": "bfloat16",
27
+ "transformers_version": "4.44.2",
28
+ "unsloth_version": "2024.9.post4",
29
+ "use_cache": true,
30
+ "vocab_size": 32000
31
+ }
generation_config.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 2,
5
+ "max_length": 2048,
6
+ "pad_token_id": 0,
7
+ "transformers_version": "4.44.2"
8
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8333515d755729417f5593c2e776d216570f10f24d3948b2ad4eb052199f2bb6
3
+ size 268224136
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:82d7feffe8983a20cd78a492dc69106cb475b16433273760a597034b8b9be8e6
3
+ size 438114938
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:386fcc8cc1089aade9450d86fb239ea3483f455fd2d78d8378645feecfec9d69
3
+ size 14244
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bfb47fd93045e0132eea1d4b710b51bcf56b3a502519f3c15df6e295c4cc3a52
3
+ size 1064
special_tokens_map.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": "</s>",
17
+ "unk_token": {
18
+ "content": "<unk>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ }
24
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
3
+ size 499723
tokenizer_config.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "add_prefix_space": null,
5
+ "added_tokens_decoder": {
6
+ "0": {
7
+ "content": "<unk>",
8
+ "lstrip": false,
9
+ "normalized": false,
10
+ "rstrip": false,
11
+ "single_word": false,
12
+ "special": true
13
+ },
14
+ "1": {
15
+ "content": "<s>",
16
+ "lstrip": false,
17
+ "normalized": false,
18
+ "rstrip": false,
19
+ "single_word": false,
20
+ "special": true
21
+ },
22
+ "2": {
23
+ "content": "</s>",
24
+ "lstrip": false,
25
+ "normalized": false,
26
+ "rstrip": false,
27
+ "single_word": false,
28
+ "special": true
29
+ }
30
+ },
31
+ "bos_token": "<s>",
32
+ "clean_up_tokenization_spaces": false,
33
+ "eos_token": "</s>",
34
+ "legacy": true,
35
+ "model_max_length": 1000000000000000019884624838656,
36
+ "pad_token": "</s>",
37
+ "sp_model_kwargs": {},
38
+ "spaces_between_special_tokens": false,
39
+ "tokenizer_class": "LlamaTokenizer",
40
+ "unk_token": "<unk>",
41
+ "use_default_system_prompt": true
42
+ }
trainer_state.json ADDED
@@ -0,0 +1,327 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 1.0,
5
+ "eval_steps": 500,
6
+ "global_step": 21249,
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.023530519083250975,
13
+ "grad_norm": 1.6875,
14
+ "learning_rate": 4.882347404583745e-05,
15
+ "loss": 0.9427,
16
+ "step": 500
17
+ },
18
+ {
19
+ "epoch": 0.04706103816650195,
20
+ "grad_norm": 1.75,
21
+ "learning_rate": 4.76469480916749e-05,
22
+ "loss": 0.8108,
23
+ "step": 1000
24
+ },
25
+ {
26
+ "epoch": 0.07059155724975293,
27
+ "grad_norm": 1.8671875,
28
+ "learning_rate": 4.647042213751235e-05,
29
+ "loss": 0.7777,
30
+ "step": 1500
31
+ },
32
+ {
33
+ "epoch": 0.0941220763330039,
34
+ "grad_norm": 1.6171875,
35
+ "learning_rate": 4.52938961833498e-05,
36
+ "loss": 0.7551,
37
+ "step": 2000
38
+ },
39
+ {
40
+ "epoch": 0.11765259541625488,
41
+ "grad_norm": 1.4765625,
42
+ "learning_rate": 4.411737022918726e-05,
43
+ "loss": 0.7373,
44
+ "step": 2500
45
+ },
46
+ {
47
+ "epoch": 0.14118311449950585,
48
+ "grad_norm": 1.6328125,
49
+ "learning_rate": 4.294084427502471e-05,
50
+ "loss": 0.727,
51
+ "step": 3000
52
+ },
53
+ {
54
+ "epoch": 0.16471363358275684,
55
+ "grad_norm": 1.84375,
56
+ "learning_rate": 4.1764318320862164e-05,
57
+ "loss": 0.718,
58
+ "step": 3500
59
+ },
60
+ {
61
+ "epoch": 0.1882441526660078,
62
+ "grad_norm": 1.7265625,
63
+ "learning_rate": 4.0587792366699614e-05,
64
+ "loss": 0.7153,
65
+ "step": 4000
66
+ },
67
+ {
68
+ "epoch": 0.2117746717492588,
69
+ "grad_norm": 1.5625,
70
+ "learning_rate": 3.9411266412537063e-05,
71
+ "loss": 0.7067,
72
+ "step": 4500
73
+ },
74
+ {
75
+ "epoch": 0.23530519083250975,
76
+ "grad_norm": 1.6796875,
77
+ "learning_rate": 3.823474045837451e-05,
78
+ "loss": 0.7037,
79
+ "step": 5000
80
+ },
81
+ {
82
+ "epoch": 0.2588357099157607,
83
+ "grad_norm": 1.8203125,
84
+ "learning_rate": 3.705821450421196e-05,
85
+ "loss": 0.6984,
86
+ "step": 5500
87
+ },
88
+ {
89
+ "epoch": 0.2823662289990117,
90
+ "grad_norm": 1.609375,
91
+ "learning_rate": 3.588168855004941e-05,
92
+ "loss": 0.6954,
93
+ "step": 6000
94
+ },
95
+ {
96
+ "epoch": 0.3058967480822627,
97
+ "grad_norm": 1.5859375,
98
+ "learning_rate": 3.470516259588686e-05,
99
+ "loss": 0.6948,
100
+ "step": 6500
101
+ },
102
+ {
103
+ "epoch": 0.3294272671655137,
104
+ "grad_norm": 1.515625,
105
+ "learning_rate": 3.352863664172432e-05,
106
+ "loss": 0.6908,
107
+ "step": 7000
108
+ },
109
+ {
110
+ "epoch": 0.35295778624876467,
111
+ "grad_norm": 1.6796875,
112
+ "learning_rate": 3.235211068756177e-05,
113
+ "loss": 0.6873,
114
+ "step": 7500
115
+ },
116
+ {
117
+ "epoch": 0.3764883053320156,
118
+ "grad_norm": 1.7109375,
119
+ "learning_rate": 3.117558473339922e-05,
120
+ "loss": 0.6876,
121
+ "step": 8000
122
+ },
123
+ {
124
+ "epoch": 0.4000188244152666,
125
+ "grad_norm": 1.5703125,
126
+ "learning_rate": 2.999905877923667e-05,
127
+ "loss": 0.6879,
128
+ "step": 8500
129
+ },
130
+ {
131
+ "epoch": 0.4235493434985176,
132
+ "grad_norm": 1.5859375,
133
+ "learning_rate": 2.882253282507412e-05,
134
+ "loss": 0.6862,
135
+ "step": 9000
136
+ },
137
+ {
138
+ "epoch": 0.4470798625817686,
139
+ "grad_norm": 1.8359375,
140
+ "learning_rate": 2.7646006870911574e-05,
141
+ "loss": 0.6829,
142
+ "step": 9500
143
+ },
144
+ {
145
+ "epoch": 0.4706103816650195,
146
+ "grad_norm": 1.6640625,
147
+ "learning_rate": 2.6469480916749024e-05,
148
+ "loss": 0.6852,
149
+ "step": 10000
150
+ },
151
+ {
152
+ "epoch": 0.4941409007482705,
153
+ "grad_norm": 1.5,
154
+ "learning_rate": 2.5292954962586474e-05,
155
+ "loss": 0.681,
156
+ "step": 10500
157
+ },
158
+ {
159
+ "epoch": 0.5176714198315214,
160
+ "grad_norm": 1.59375,
161
+ "learning_rate": 2.4116429008423927e-05,
162
+ "loss": 0.6798,
163
+ "step": 11000
164
+ },
165
+ {
166
+ "epoch": 0.5412019389147724,
167
+ "grad_norm": 1.6640625,
168
+ "learning_rate": 2.2939903054261376e-05,
169
+ "loss": 0.6803,
170
+ "step": 11500
171
+ },
172
+ {
173
+ "epoch": 0.5647324579980234,
174
+ "grad_norm": 1.6875,
175
+ "learning_rate": 2.176337710009883e-05,
176
+ "loss": 0.6799,
177
+ "step": 12000
178
+ },
179
+ {
180
+ "epoch": 0.5882629770812744,
181
+ "grad_norm": 1.875,
182
+ "learning_rate": 2.0586851145936283e-05,
183
+ "loss": 0.6761,
184
+ "step": 12500
185
+ },
186
+ {
187
+ "epoch": 0.6117934961645254,
188
+ "grad_norm": 1.578125,
189
+ "learning_rate": 1.9410325191773732e-05,
190
+ "loss": 0.675,
191
+ "step": 13000
192
+ },
193
+ {
194
+ "epoch": 0.6353240152477764,
195
+ "grad_norm": 1.7109375,
196
+ "learning_rate": 1.8233799237611182e-05,
197
+ "loss": 0.6785,
198
+ "step": 13500
199
+ },
200
+ {
201
+ "epoch": 0.6588545343310274,
202
+ "grad_norm": 1.8515625,
203
+ "learning_rate": 1.7057273283448632e-05,
204
+ "loss": 0.6782,
205
+ "step": 14000
206
+ },
207
+ {
208
+ "epoch": 0.6823850534142784,
209
+ "grad_norm": 1.5390625,
210
+ "learning_rate": 1.5880747329286085e-05,
211
+ "loss": 0.6761,
212
+ "step": 14500
213
+ },
214
+ {
215
+ "epoch": 0.7059155724975293,
216
+ "grad_norm": 1.6015625,
217
+ "learning_rate": 1.4704221375123536e-05,
218
+ "loss": 0.6795,
219
+ "step": 15000
220
+ },
221
+ {
222
+ "epoch": 0.7294460915807802,
223
+ "grad_norm": 1.8125,
224
+ "learning_rate": 1.3527695420960988e-05,
225
+ "loss": 0.6774,
226
+ "step": 15500
227
+ },
228
+ {
229
+ "epoch": 0.7529766106640312,
230
+ "grad_norm": 1.5546875,
231
+ "learning_rate": 1.2351169466798439e-05,
232
+ "loss": 0.6777,
233
+ "step": 16000
234
+ },
235
+ {
236
+ "epoch": 0.7765071297472822,
237
+ "grad_norm": 1.5859375,
238
+ "learning_rate": 1.1174643512635889e-05,
239
+ "loss": 0.6746,
240
+ "step": 16500
241
+ },
242
+ {
243
+ "epoch": 0.8000376488305332,
244
+ "grad_norm": 1.5234375,
245
+ "learning_rate": 9.998117558473342e-06,
246
+ "loss": 0.6782,
247
+ "step": 17000
248
+ },
249
+ {
250
+ "epoch": 0.8235681679137842,
251
+ "grad_norm": 1.5546875,
252
+ "learning_rate": 8.821591604310792e-06,
253
+ "loss": 0.6776,
254
+ "step": 17500
255
+ },
256
+ {
257
+ "epoch": 0.8470986869970352,
258
+ "grad_norm": 1.546875,
259
+ "learning_rate": 7.645065650148241e-06,
260
+ "loss": 0.6782,
261
+ "step": 18000
262
+ },
263
+ {
264
+ "epoch": 0.8706292060802862,
265
+ "grad_norm": 1.609375,
266
+ "learning_rate": 6.468539695985694e-06,
267
+ "loss": 0.6754,
268
+ "step": 18500
269
+ },
270
+ {
271
+ "epoch": 0.8941597251635371,
272
+ "grad_norm": 1.515625,
273
+ "learning_rate": 5.292013741823145e-06,
274
+ "loss": 0.6757,
275
+ "step": 19000
276
+ },
277
+ {
278
+ "epoch": 0.9176902442467881,
279
+ "grad_norm": 1.6015625,
280
+ "learning_rate": 4.1154877876605964e-06,
281
+ "loss": 0.6765,
282
+ "step": 19500
283
+ },
284
+ {
285
+ "epoch": 0.941220763330039,
286
+ "grad_norm": 1.5625,
287
+ "learning_rate": 2.938961833498047e-06,
288
+ "loss": 0.6747,
289
+ "step": 20000
290
+ },
291
+ {
292
+ "epoch": 0.96475128241329,
293
+ "grad_norm": 1.6171875,
294
+ "learning_rate": 1.7624358793354984e-06,
295
+ "loss": 0.677,
296
+ "step": 20500
297
+ },
298
+ {
299
+ "epoch": 0.988281801496541,
300
+ "grad_norm": 1.65625,
301
+ "learning_rate": 5.859099251729494e-07,
302
+ "loss": 0.6804,
303
+ "step": 21000
304
+ }
305
+ ],
306
+ "logging_steps": 500,
307
+ "max_steps": 21249,
308
+ "num_input_tokens_seen": 0,
309
+ "num_train_epochs": 1,
310
+ "save_steps": 500,
311
+ "stateful_callbacks": {
312
+ "TrainerControl": {
313
+ "args": {
314
+ "should_epoch_stop": false,
315
+ "should_evaluate": false,
316
+ "should_log": false,
317
+ "should_save": true,
318
+ "should_training_stop": true
319
+ },
320
+ "attributes": {}
321
+ }
322
+ },
323
+ "total_flos": 9.787078596423629e+17,
324
+ "train_batch_size": 48,
325
+ "trial_name": null,
326
+ "trial_params": null
327
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1e2916aefa37ef47e27ff2c952d0fffee6d84589454b757c68252e87aafeb3cc
3
+ size 5432