End of training
Browse files- README.md +141 -0
- config.json +30 -0
- generation_config.json +7 -0
- model.safetensors +3 -0
- special_tokens_map.json +24 -0
- tokenizer.json +0 -0
- tokenizer.model +3 -0
- tokenizer_config.json +42 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,141 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: apache-2.0
|
4 |
+
base_model: amd/AMD-Llama-135m
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
model-index:
|
8 |
+
- name: amdchess-v5
|
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 |
+
# amdchess-v5
|
16 |
+
|
17 |
+
This model is a fine-tuned version of [amd/AMD-Llama-135m](https://huggingface.co/amd/AMD-Llama-135m) on an unknown dataset.
|
18 |
+
It achieves the following results on the evaluation set:
|
19 |
+
- Loss: 0.7610
|
20 |
+
|
21 |
+
## Model description
|
22 |
+
|
23 |
+
More information needed
|
24 |
+
|
25 |
+
## Intended uses & limitations
|
26 |
+
|
27 |
+
More information needed
|
28 |
+
|
29 |
+
## Training and evaluation data
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Training procedure
|
34 |
+
|
35 |
+
### Training hyperparameters
|
36 |
+
|
37 |
+
The following hyperparameters were used during training:
|
38 |
+
- learning_rate: 3e-05
|
39 |
+
- train_batch_size: 8
|
40 |
+
- eval_batch_size: 8
|
41 |
+
- seed: 42
|
42 |
+
- optimizer: Use grokadamw with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
43 |
+
- lr_scheduler_type: cosine
|
44 |
+
- num_epochs: 0.25
|
45 |
+
|
46 |
+
### Training results
|
47 |
+
|
48 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
49 |
+
|:-------------:|:------:|:----:|:---------------:|
|
50 |
+
| 2.9045 | 0.0030 | 5 | 2.7322 |
|
51 |
+
| 1.5833 | 0.0059 | 10 | 1.7005 |
|
52 |
+
| 1.5115 | 0.0089 | 15 | 1.3183 |
|
53 |
+
| 1.0591 | 0.0118 | 20 | 1.3213 |
|
54 |
+
| 1.1079 | 0.0148 | 25 | 1.1174 |
|
55 |
+
| 1.1004 | 0.0177 | 30 | 1.1248 |
|
56 |
+
| 1.0783 | 0.0207 | 35 | 1.0751 |
|
57 |
+
| 1.0209 | 0.0236 | 40 | 1.0297 |
|
58 |
+
| 1.0955 | 0.0266 | 45 | 1.0330 |
|
59 |
+
| 1.1106 | 0.0295 | 50 | 1.0172 |
|
60 |
+
| 1.0855 | 0.0325 | 55 | 0.9780 |
|
61 |
+
| 0.979 | 0.0354 | 60 | 0.9635 |
|
62 |
+
| 0.8885 | 0.0384 | 65 | 0.9590 |
|
63 |
+
| 0.9195 | 0.0413 | 70 | 0.9452 |
|
64 |
+
| 0.9518 | 0.0443 | 75 | 0.9325 |
|
65 |
+
| 0.9609 | 0.0472 | 80 | 0.9332 |
|
66 |
+
| 0.9327 | 0.0502 | 85 | 0.9229 |
|
67 |
+
| 0.9621 | 0.0531 | 90 | 0.9157 |
|
68 |
+
| 0.9956 | 0.0561 | 95 | 0.9094 |
|
69 |
+
| 0.8193 | 0.0590 | 100 | 0.8958 |
|
70 |
+
| 0.9361 | 0.0620 | 105 | 0.8915 |
|
71 |
+
| 0.9039 | 0.0649 | 110 | 0.8882 |
|
72 |
+
| 0.8757 | 0.0679 | 115 | 0.8813 |
|
73 |
+
| 0.8875 | 0.0708 | 120 | 0.8776 |
|
74 |
+
| 0.8989 | 0.0738 | 125 | 0.8805 |
|
75 |
+
| 0.9478 | 0.0767 | 130 | 0.8706 |
|
76 |
+
| 0.9132 | 0.0797 | 135 | 0.8645 |
|
77 |
+
| 0.8755 | 0.0826 | 140 | 0.8607 |
|
78 |
+
| 0.9304 | 0.0856 | 145 | 0.8559 |
|
79 |
+
| 0.8711 | 0.0885 | 150 | 0.8466 |
|
80 |
+
| 0.8511 | 0.0915 | 155 | 0.8480 |
|
81 |
+
| 0.8768 | 0.0945 | 160 | 0.8410 |
|
82 |
+
| 0.6914 | 0.0974 | 165 | 0.8407 |
|
83 |
+
| 0.8625 | 0.1004 | 170 | 0.8342 |
|
84 |
+
| 0.8219 | 0.1033 | 175 | 0.8370 |
|
85 |
+
| 0.9106 | 0.1063 | 180 | 0.8296 |
|
86 |
+
| 0.8512 | 0.1092 | 185 | 0.8253 |
|
87 |
+
| 0.8286 | 0.1122 | 190 | 0.8251 |
|
88 |
+
| 0.9075 | 0.1151 | 195 | 0.8214 |
|
89 |
+
| 0.8733 | 0.1181 | 200 | 0.8199 |
|
90 |
+
| 0.7881 | 0.1210 | 205 | 0.8164 |
|
91 |
+
| 0.9131 | 0.1240 | 210 | 0.8150 |
|
92 |
+
| 0.8421 | 0.1269 | 215 | 0.8104 |
|
93 |
+
| 0.8589 | 0.1299 | 220 | 0.8083 |
|
94 |
+
| 0.7674 | 0.1328 | 225 | 0.8065 |
|
95 |
+
| 0.8566 | 0.1358 | 230 | 0.8065 |
|
96 |
+
| 0.8657 | 0.1387 | 235 | 0.8019 |
|
97 |
+
| 0.7534 | 0.1417 | 240 | 0.7992 |
|
98 |
+
| 0.7988 | 0.1446 | 245 | 0.7970 |
|
99 |
+
| 0.8197 | 0.1476 | 250 | 0.7937 |
|
100 |
+
| 0.8175 | 0.1505 | 255 | 0.7931 |
|
101 |
+
| 0.8831 | 0.1535 | 260 | 0.7915 |
|
102 |
+
| 0.8714 | 0.1564 | 265 | 0.7882 |
|
103 |
+
| 0.8097 | 0.1594 | 270 | 0.7864 |
|
104 |
+
| 0.7864 | 0.1623 | 275 | 0.7849 |
|
105 |
+
| 0.7521 | 0.1653 | 280 | 0.7845 |
|
106 |
+
| 0.8208 | 0.1682 | 285 | 0.7820 |
|
107 |
+
| 0.7658 | 0.1712 | 290 | 0.7802 |
|
108 |
+
| 0.8623 | 0.1741 | 295 | 0.7782 |
|
109 |
+
| 0.8526 | 0.1771 | 300 | 0.7765 |
|
110 |
+
| 0.8304 | 0.1800 | 305 | 0.7749 |
|
111 |
+
| 0.823 | 0.1830 | 310 | 0.7737 |
|
112 |
+
| 0.762 | 0.1860 | 315 | 0.7726 |
|
113 |
+
| 0.7545 | 0.1889 | 320 | 0.7715 |
|
114 |
+
| 0.7818 | 0.1919 | 325 | 0.7699 |
|
115 |
+
| 0.7601 | 0.1948 | 330 | 0.7699 |
|
116 |
+
| 0.7414 | 0.1978 | 335 | 0.7689 |
|
117 |
+
| 0.8397 | 0.2007 | 340 | 0.7682 |
|
118 |
+
| 0.8282 | 0.2037 | 345 | 0.7668 |
|
119 |
+
| 0.7676 | 0.2066 | 350 | 0.7655 |
|
120 |
+
| 0.7768 | 0.2096 | 355 | 0.7644 |
|
121 |
+
| 0.7249 | 0.2125 | 360 | 0.7639 |
|
122 |
+
| 0.7633 | 0.2155 | 365 | 0.7635 |
|
123 |
+
| 0.721 | 0.2184 | 370 | 0.7632 |
|
124 |
+
| 0.798 | 0.2214 | 375 | 0.7624 |
|
125 |
+
| 0.7601 | 0.2243 | 380 | 0.7620 |
|
126 |
+
| 0.8439 | 0.2273 | 385 | 0.7618 |
|
127 |
+
| 0.777 | 0.2302 | 390 | 0.7616 |
|
128 |
+
| 0.6739 | 0.2332 | 395 | 0.7614 |
|
129 |
+
| 0.802 | 0.2361 | 400 | 0.7612 |
|
130 |
+
| 0.7868 | 0.2391 | 405 | 0.7611 |
|
131 |
+
| 0.6621 | 0.2420 | 410 | 0.7610 |
|
132 |
+
| 0.7723 | 0.2450 | 415 | 0.7610 |
|
133 |
+
| 0.8052 | 0.2479 | 420 | 0.7610 |
|
134 |
+
|
135 |
+
|
136 |
+
### Framework versions
|
137 |
+
|
138 |
+
- Transformers 4.46.0
|
139 |
+
- Pytorch 2.5.0+cu121
|
140 |
+
- Datasets 3.0.2
|
141 |
+
- Tokenizers 0.20.1
|
config.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"head_dim": 64,
|
11 |
+
"hidden_act": "silu",
|
12 |
+
"hidden_size": 768,
|
13 |
+
"initializer_range": 0.02,
|
14 |
+
"intermediate_size": 2048,
|
15 |
+
"max_position_embeddings": 2048,
|
16 |
+
"mlp_bias": false,
|
17 |
+
"model_type": "llama",
|
18 |
+
"num_attention_heads": 12,
|
19 |
+
"num_hidden_layers": 12,
|
20 |
+
"num_key_value_heads": 12,
|
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": "float32",
|
27 |
+
"transformers_version": "4.46.0",
|
28 |
+
"use_cache": true,
|
29 |
+
"vocab_size": 32000
|
30 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 1,
|
4 |
+
"eos_token_id": 2,
|
5 |
+
"pad_token_id": 0,
|
6 |
+
"transformers_version": "4.46.0"
|
7 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4517d2393f6d439b99eebcb66714b40e583d4954cf93fd7eca5c1fd56c49a38c
|
3 |
+
size 536435744
|
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": "<unk>",
|
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": "<unk>",
|
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 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3fd427410f34d30407390a76185c3548c49dbc08ead080515ad2ae4355763d9c
|
3 |
+
size 5240
|