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-v7
|
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-v7
|
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.7964
|
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 OptimizerNames.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 |
+
| 6.2092 | 0.0030 | 5 | 5.2057 |
|
51 |
+
| 1.9922 | 0.0059 | 10 | 1.8157 |
|
52 |
+
| 1.7403 | 0.0089 | 15 | 1.6004 |
|
53 |
+
| 1.3742 | 0.0118 | 20 | 1.3543 |
|
54 |
+
| 1.3517 | 0.0148 | 25 | 1.2096 |
|
55 |
+
| 1.215 | 0.0177 | 30 | 1.1421 |
|
56 |
+
| 1.2121 | 0.0207 | 35 | 1.1437 |
|
57 |
+
| 1.097 | 0.0236 | 40 | 1.0869 |
|
58 |
+
| 1.1186 | 0.0266 | 45 | 1.0722 |
|
59 |
+
| 1.0991 | 0.0295 | 50 | 1.0526 |
|
60 |
+
| 0.9758 | 0.0325 | 55 | 1.0194 |
|
61 |
+
| 0.9827 | 0.0354 | 60 | 1.0219 |
|
62 |
+
| 1.0428 | 0.0384 | 65 | 0.9899 |
|
63 |
+
| 0.9846 | 0.0413 | 70 | 1.0065 |
|
64 |
+
| 0.996 | 0.0443 | 75 | 0.9968 |
|
65 |
+
| 0.9908 | 0.0472 | 80 | 0.9694 |
|
66 |
+
| 1.0172 | 0.0502 | 85 | 0.9688 |
|
67 |
+
| 0.9956 | 0.0531 | 90 | 0.9557 |
|
68 |
+
| 0.9629 | 0.0561 | 95 | 0.9466 |
|
69 |
+
| 1.0187 | 0.0590 | 100 | 0.9421 |
|
70 |
+
| 0.9079 | 0.0620 | 105 | 0.9248 |
|
71 |
+
| 0.8152 | 0.0649 | 110 | 0.9273 |
|
72 |
+
| 0.953 | 0.0679 | 115 | 0.9179 |
|
73 |
+
| 0.9545 | 0.0708 | 120 | 0.9109 |
|
74 |
+
| 0.8649 | 0.0738 | 125 | 0.9023 |
|
75 |
+
| 0.9308 | 0.0767 | 130 | 0.8915 |
|
76 |
+
| 0.9197 | 0.0797 | 135 | 0.8992 |
|
77 |
+
| 0.9684 | 0.0826 | 140 | 0.8931 |
|
78 |
+
| 0.9329 | 0.0856 | 145 | 0.8973 |
|
79 |
+
| 0.8679 | 0.0885 | 150 | 0.8864 |
|
80 |
+
| 0.8754 | 0.0915 | 155 | 0.8890 |
|
81 |
+
| 0.8532 | 0.0945 | 160 | 0.8793 |
|
82 |
+
| 0.8818 | 0.0974 | 165 | 0.8777 |
|
83 |
+
| 0.9161 | 0.1004 | 170 | 0.8765 |
|
84 |
+
| 0.7303 | 0.1033 | 175 | 0.8744 |
|
85 |
+
| 0.9087 | 0.1063 | 180 | 0.8697 |
|
86 |
+
| 0.884 | 0.1092 | 185 | 0.8648 |
|
87 |
+
| 0.9259 | 0.1122 | 190 | 0.8589 |
|
88 |
+
| 0.866 | 0.1151 | 195 | 0.8574 |
|
89 |
+
| 0.8716 | 0.1181 | 200 | 0.8517 |
|
90 |
+
| 0.8068 | 0.1210 | 205 | 0.8488 |
|
91 |
+
| 0.8382 | 0.1240 | 210 | 0.8478 |
|
92 |
+
| 0.8372 | 0.1269 | 215 | 0.8462 |
|
93 |
+
| 0.8477 | 0.1299 | 220 | 0.8433 |
|
94 |
+
| 0.838 | 0.1328 | 225 | 0.8425 |
|
95 |
+
| 0.8585 | 0.1358 | 230 | 0.8403 |
|
96 |
+
| 0.892 | 0.1387 | 235 | 0.8378 |
|
97 |
+
| 0.8794 | 0.1417 | 240 | 0.8360 |
|
98 |
+
| 0.8468 | 0.1446 | 245 | 0.8321 |
|
99 |
+
| 0.8417 | 0.1476 | 250 | 0.8305 |
|
100 |
+
| 0.8785 | 0.1505 | 255 | 0.8267 |
|
101 |
+
| 0.9016 | 0.1535 | 260 | 0.8258 |
|
102 |
+
| 0.86 | 0.1564 | 265 | 0.8243 |
|
103 |
+
| 0.8777 | 0.1594 | 270 | 0.8214 |
|
104 |
+
| 0.6465 | 0.1623 | 275 | 0.8210 |
|
105 |
+
| 0.7967 | 0.1653 | 280 | 0.8186 |
|
106 |
+
| 0.774 | 0.1682 | 285 | 0.8173 |
|
107 |
+
| 0.7545 | 0.1712 | 290 | 0.8162 |
|
108 |
+
| 0.8684 | 0.1741 | 295 | 0.8147 |
|
109 |
+
| 0.7596 | 0.1771 | 300 | 0.8132 |
|
110 |
+
| 0.8279 | 0.1800 | 305 | 0.8108 |
|
111 |
+
| 0.7538 | 0.1830 | 310 | 0.8087 |
|
112 |
+
| 0.848 | 0.1860 | 315 | 0.8075 |
|
113 |
+
| 0.8526 | 0.1889 | 320 | 0.8064 |
|
114 |
+
| 0.8053 | 0.1919 | 325 | 0.8057 |
|
115 |
+
| 0.8598 | 0.1948 | 330 | 0.8040 |
|
116 |
+
| 0.8076 | 0.1978 | 335 | 0.8026 |
|
117 |
+
| 0.7292 | 0.2007 | 340 | 0.8028 |
|
118 |
+
| 0.8058 | 0.2037 | 345 | 0.8015 |
|
119 |
+
| 0.8 | 0.2066 | 350 | 0.8003 |
|
120 |
+
| 0.8038 | 0.2096 | 355 | 0.8002 |
|
121 |
+
| 0.7639 | 0.2125 | 360 | 0.7998 |
|
122 |
+
| 0.7838 | 0.2155 | 365 | 0.7991 |
|
123 |
+
| 0.8139 | 0.2184 | 370 | 0.7986 |
|
124 |
+
| 0.844 | 0.2214 | 375 | 0.7982 |
|
125 |
+
| 0.7417 | 0.2243 | 380 | 0.7978 |
|
126 |
+
| 0.7987 | 0.2273 | 385 | 0.7975 |
|
127 |
+
| 0.8319 | 0.2302 | 390 | 0.7971 |
|
128 |
+
| 0.7383 | 0.2332 | 395 | 0.7968 |
|
129 |
+
| 0.7886 | 0.2361 | 400 | 0.7966 |
|
130 |
+
| 0.8127 | 0.2391 | 405 | 0.7965 |
|
131 |
+
| 0.8213 | 0.2420 | 410 | 0.7964 |
|
132 |
+
| 0.7952 | 0.2450 | 415 | 0.7964 |
|
133 |
+
| 0.8518 | 0.2479 | 420 | 0.7964 |
|
134 |
+
|
135 |
+
|
136 |
+
### Framework versions
|
137 |
+
|
138 |
+
- Transformers 4.46.0
|
139 |
+
- Pytorch 2.4.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:148a59b5389b914762afc99d5db4925b350eca596a0688472ec6d0b7bf805cbd
|
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:965a0e4a15e5cbc98e11442ee11678c164f9ede43a31ab8e99e18b3a17d64dd1
|
3 |
+
size 5240
|