End of training
Browse files- README.md +156 -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,156 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.6367
|
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: 1
|
45 |
+
|
46 |
+
### Training results
|
47 |
+
|
48 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
49 |
+
|:-------------:|:------:|:----:|:---------------:|
|
50 |
+
| 1.4763 | 0.0100 | 17 | 1.4222 |
|
51 |
+
| 1.0937 | 0.0201 | 34 | 1.1053 |
|
52 |
+
| 1.0732 | 0.0301 | 51 | 1.0270 |
|
53 |
+
| 0.991 | 0.0401 | 68 | 0.9671 |
|
54 |
+
| 1.0235 | 0.0502 | 85 | 0.9474 |
|
55 |
+
| 0.8849 | 0.0602 | 102 | 0.9239 |
|
56 |
+
| 0.9108 | 0.0702 | 119 | 0.8907 |
|
57 |
+
| 0.8907 | 0.0803 | 136 | 0.8745 |
|
58 |
+
| 0.8685 | 0.0903 | 153 | 0.8619 |
|
59 |
+
| 0.9375 | 0.1004 | 170 | 0.8547 |
|
60 |
+
| 0.7897 | 0.1104 | 187 | 0.8412 |
|
61 |
+
| 0.8594 | 0.1204 | 204 | 0.8293 |
|
62 |
+
| 0.8495 | 0.1305 | 221 | 0.8226 |
|
63 |
+
| 0.8618 | 0.1405 | 238 | 0.8129 |
|
64 |
+
| 0.8643 | 0.1505 | 255 | 0.8052 |
|
65 |
+
| 0.7375 | 0.1606 | 272 | 0.7985 |
|
66 |
+
| 0.7322 | 0.1706 | 289 | 0.7953 |
|
67 |
+
| 0.7991 | 0.1806 | 306 | 0.7923 |
|
68 |
+
| 0.8269 | 0.1907 | 323 | 0.7856 |
|
69 |
+
| 0.8031 | 0.2007 | 340 | 0.7776 |
|
70 |
+
| 0.7605 | 0.2107 | 357 | 0.7737 |
|
71 |
+
| 0.804 | 0.2208 | 374 | 0.7664 |
|
72 |
+
| 0.7683 | 0.2308 | 391 | 0.7600 |
|
73 |
+
| 0.7667 | 0.2409 | 408 | 0.7610 |
|
74 |
+
| 0.7823 | 0.2509 | 425 | 0.7508 |
|
75 |
+
| 0.7608 | 0.2609 | 442 | 0.7484 |
|
76 |
+
| 0.7291 | 0.2710 | 459 | 0.7457 |
|
77 |
+
| 0.8157 | 0.2810 | 476 | 0.7393 |
|
78 |
+
| 0.7526 | 0.2910 | 493 | 0.7353 |
|
79 |
+
| 0.7099 | 0.3011 | 510 | 0.7360 |
|
80 |
+
| 0.8242 | 0.3111 | 527 | 0.7331 |
|
81 |
+
| 0.7849 | 0.3211 | 544 | 0.7285 |
|
82 |
+
| 0.7558 | 0.3312 | 561 | 0.7224 |
|
83 |
+
| 0.6278 | 0.3412 | 578 | 0.7225 |
|
84 |
+
| 0.7135 | 0.3512 | 595 | 0.7197 |
|
85 |
+
| 0.6425 | 0.3613 | 612 | 0.7180 |
|
86 |
+
| 0.7721 | 0.3713 | 629 | 0.7137 |
|
87 |
+
| 0.8091 | 0.3813 | 646 | 0.7097 |
|
88 |
+
| 0.7518 | 0.3914 | 663 | 0.7063 |
|
89 |
+
| 0.7299 | 0.4014 | 680 | 0.7053 |
|
90 |
+
| 0.7563 | 0.4115 | 697 | 0.7051 |
|
91 |
+
| 0.658 | 0.4215 | 714 | 0.6997 |
|
92 |
+
| 0.7096 | 0.4315 | 731 | 0.6966 |
|
93 |
+
| 0.7555 | 0.4416 | 748 | 0.6954 |
|
94 |
+
| 0.7292 | 0.4516 | 765 | 0.6936 |
|
95 |
+
| 0.6349 | 0.4616 | 782 | 0.6908 |
|
96 |
+
| 0.6996 | 0.4717 | 799 | 0.6892 |
|
97 |
+
| 0.6849 | 0.4817 | 816 | 0.6892 |
|
98 |
+
| 0.7023 | 0.4917 | 833 | 0.6847 |
|
99 |
+
| 0.6547 | 0.5018 | 850 | 0.6850 |
|
100 |
+
| 0.7549 | 0.5118 | 867 | 0.6826 |
|
101 |
+
| 0.6987 | 0.5218 | 884 | 0.6798 |
|
102 |
+
| 0.648 | 0.5319 | 901 | 0.6796 |
|
103 |
+
| 0.7308 | 0.5419 | 918 | 0.6775 |
|
104 |
+
| 0.7245 | 0.5519 | 935 | 0.6756 |
|
105 |
+
| 0.6915 | 0.5620 | 952 | 0.6745 |
|
106 |
+
| 0.7287 | 0.5720 | 969 | 0.6716 |
|
107 |
+
| 0.739 | 0.5821 | 986 | 0.6704 |
|
108 |
+
| 0.7168 | 0.5921 | 1003 | 0.6686 |
|
109 |
+
| 0.685 | 0.6021 | 1020 | 0.6671 |
|
110 |
+
| 0.7183 | 0.6122 | 1037 | 0.6656 |
|
111 |
+
| 0.7138 | 0.6222 | 1054 | 0.6644 |
|
112 |
+
| 0.6738 | 0.6322 | 1071 | 0.6620 |
|
113 |
+
| 0.634 | 0.6423 | 1088 | 0.6611 |
|
114 |
+
| 0.703 | 0.6523 | 1105 | 0.6606 |
|
115 |
+
| 0.6538 | 0.6623 | 1122 | 0.6584 |
|
116 |
+
| 0.7167 | 0.6724 | 1139 | 0.6564 |
|
117 |
+
| 0.6717 | 0.6824 | 1156 | 0.6545 |
|
118 |
+
| 0.6633 | 0.6924 | 1173 | 0.6538 |
|
119 |
+
| 0.6035 | 0.7025 | 1190 | 0.6535 |
|
120 |
+
| 0.6444 | 0.7125 | 1207 | 0.6514 |
|
121 |
+
| 0.7171 | 0.7226 | 1224 | 0.6502 |
|
122 |
+
| 0.7157 | 0.7326 | 1241 | 0.6489 |
|
123 |
+
| 0.7028 | 0.7426 | 1258 | 0.6480 |
|
124 |
+
| 0.681 | 0.7527 | 1275 | 0.6479 |
|
125 |
+
| 0.6711 | 0.7627 | 1292 | 0.6464 |
|
126 |
+
| 0.7113 | 0.7727 | 1309 | 0.6454 |
|
127 |
+
| 0.7329 | 0.7828 | 1326 | 0.6454 |
|
128 |
+
| 0.694 | 0.7928 | 1343 | 0.6436 |
|
129 |
+
| 0.6304 | 0.8028 | 1360 | 0.6431 |
|
130 |
+
| 0.7129 | 0.8129 | 1377 | 0.6420 |
|
131 |
+
| 0.6531 | 0.8229 | 1394 | 0.6411 |
|
132 |
+
| 0.6791 | 0.8329 | 1411 | 0.6406 |
|
133 |
+
| 0.6963 | 0.8430 | 1428 | 0.6401 |
|
134 |
+
| 0.6285 | 0.8530 | 1445 | 0.6402 |
|
135 |
+
| 0.6484 | 0.8630 | 1462 | 0.6398 |
|
136 |
+
| 0.6505 | 0.8731 | 1479 | 0.6394 |
|
137 |
+
| 0.6985 | 0.8831 | 1496 | 0.6389 |
|
138 |
+
| 0.6643 | 0.8932 | 1513 | 0.6386 |
|
139 |
+
| 0.6292 | 0.9032 | 1530 | 0.6381 |
|
140 |
+
| 0.6237 | 0.9132 | 1547 | 0.6377 |
|
141 |
+
| 0.6159 | 0.9233 | 1564 | 0.6375 |
|
142 |
+
| 0.7027 | 0.9333 | 1581 | 0.6372 |
|
143 |
+
| 0.7068 | 0.9433 | 1598 | 0.6371 |
|
144 |
+
| 0.6021 | 0.9534 | 1615 | 0.6369 |
|
145 |
+
| 0.6812 | 0.9634 | 1632 | 0.6368 |
|
146 |
+
| 0.6805 | 0.9734 | 1649 | 0.6368 |
|
147 |
+
| 0.628 | 0.9835 | 1666 | 0.6367 |
|
148 |
+
| 0.6507 | 0.9935 | 1683 | 0.6367 |
|
149 |
+
|
150 |
+
|
151 |
+
### Framework versions
|
152 |
+
|
153 |
+
- Transformers 4.46.1
|
154 |
+
- Pytorch 2.5.0+cu121
|
155 |
+
- Datasets 3.1.0
|
156 |
+
- 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.1",
|
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.1"
|
7 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2d94d46ac29d3b942cf57d13d4d45a0360118b99b2a4fba392d37c9aae36bde3
|
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:97d16277a30dc1696719c53ff03b46b45b5a2f1fb8a362b9dcc1871eb8986285
|
3 |
+
size 5176
|