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-v6
|
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-v6
|
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.7752
|
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 |
+
| 5.2893 | 0.0030 | 5 | 4.4359 |
|
51 |
+
| 1.9121 | 0.0059 | 10 | 1.6234 |
|
52 |
+
| 1.5379 | 0.0089 | 15 | 1.5644 |
|
53 |
+
| 1.4848 | 0.0118 | 20 | 1.4063 |
|
54 |
+
| 1.3139 | 0.0148 | 25 | 1.2141 |
|
55 |
+
| 1.3932 | 0.0177 | 30 | 1.1964 |
|
56 |
+
| 1.0851 | 0.0207 | 35 | 1.2140 |
|
57 |
+
| 1.4024 | 0.0236 | 40 | 1.1328 |
|
58 |
+
| 1.0103 | 0.0266 | 45 | 1.0825 |
|
59 |
+
| 1.0929 | 0.0295 | 50 | 1.0315 |
|
60 |
+
| 1.0656 | 0.0325 | 55 | 1.1649 |
|
61 |
+
| 1.2373 | 0.0354 | 60 | 1.0288 |
|
62 |
+
| 0.9401 | 0.0384 | 65 | 1.0114 |
|
63 |
+
| 1.0497 | 0.0413 | 70 | 1.0588 |
|
64 |
+
| 1.045 | 0.0443 | 75 | 0.9853 |
|
65 |
+
| 0.8332 | 0.0472 | 80 | 1.0362 |
|
66 |
+
| 0.9828 | 0.0502 | 85 | 0.9737 |
|
67 |
+
| 0.9275 | 0.0531 | 90 | 0.9487 |
|
68 |
+
| 0.98 | 0.0561 | 95 | 0.9751 |
|
69 |
+
| 0.9864 | 0.0590 | 100 | 0.9215 |
|
70 |
+
| 0.9425 | 0.0620 | 105 | 0.9404 |
|
71 |
+
| 0.965 | 0.0649 | 110 | 0.9259 |
|
72 |
+
| 0.9435 | 0.0679 | 115 | 0.9167 |
|
73 |
+
| 0.9628 | 0.0708 | 120 | 0.9259 |
|
74 |
+
| 0.9193 | 0.0738 | 125 | 0.8986 |
|
75 |
+
| 0.9385 | 0.0767 | 130 | 0.9031 |
|
76 |
+
| 0.8773 | 0.0797 | 135 | 0.8952 |
|
77 |
+
| 0.7856 | 0.0826 | 140 | 0.8779 |
|
78 |
+
| 0.9448 | 0.0856 | 145 | 0.8809 |
|
79 |
+
| 0.8727 | 0.0885 | 150 | 0.8683 |
|
80 |
+
| 0.9208 | 0.0915 | 155 | 0.8790 |
|
81 |
+
| 0.8647 | 0.0945 | 160 | 0.8663 |
|
82 |
+
| 0.8454 | 0.0974 | 165 | 0.8706 |
|
83 |
+
| 0.9631 | 0.1004 | 170 | 0.8615 |
|
84 |
+
| 0.8628 | 0.1033 | 175 | 0.8588 |
|
85 |
+
| 0.9279 | 0.1063 | 180 | 0.8537 |
|
86 |
+
| 0.862 | 0.1092 | 185 | 0.8468 |
|
87 |
+
| 0.9091 | 0.1122 | 190 | 0.8471 |
|
88 |
+
| 0.8762 | 0.1151 | 195 | 0.8434 |
|
89 |
+
| 0.8887 | 0.1181 | 200 | 0.8431 |
|
90 |
+
| 0.823 | 0.1210 | 205 | 0.8388 |
|
91 |
+
| 0.8025 | 0.1240 | 210 | 0.8356 |
|
92 |
+
| 0.8372 | 0.1269 | 215 | 0.8315 |
|
93 |
+
| 0.7744 | 0.1299 | 220 | 0.8251 |
|
94 |
+
| 0.8919 | 0.1328 | 225 | 0.8212 |
|
95 |
+
| 0.7742 | 0.1358 | 230 | 0.8206 |
|
96 |
+
| 0.8345 | 0.1387 | 235 | 0.8170 |
|
97 |
+
| 0.8442 | 0.1417 | 240 | 0.8162 |
|
98 |
+
| 0.8268 | 0.1446 | 245 | 0.8149 |
|
99 |
+
| 0.8138 | 0.1476 | 250 | 0.8102 |
|
100 |
+
| 0.8336 | 0.1505 | 255 | 0.8086 |
|
101 |
+
| 0.889 | 0.1535 | 260 | 0.8088 |
|
102 |
+
| 0.7523 | 0.1564 | 265 | 0.8057 |
|
103 |
+
| 0.7892 | 0.1594 | 270 | 0.8049 |
|
104 |
+
| 0.7574 | 0.1623 | 275 | 0.8002 |
|
105 |
+
| 0.8518 | 0.1653 | 280 | 0.7987 |
|
106 |
+
| 0.8566 | 0.1682 | 285 | 0.7990 |
|
107 |
+
| 0.7946 | 0.1712 | 290 | 0.7967 |
|
108 |
+
| 0.8028 | 0.1741 | 295 | 0.7942 |
|
109 |
+
| 0.8159 | 0.1771 | 300 | 0.7932 |
|
110 |
+
| 0.7905 | 0.1800 | 305 | 0.7901 |
|
111 |
+
| 0.8025 | 0.1830 | 310 | 0.7899 |
|
112 |
+
| 0.7278 | 0.1860 | 315 | 0.7889 |
|
113 |
+
| 0.8105 | 0.1889 | 320 | 0.7878 |
|
114 |
+
| 0.7161 | 0.1919 | 325 | 0.7869 |
|
115 |
+
| 0.7971 | 0.1948 | 330 | 0.7847 |
|
116 |
+
| 0.7943 | 0.1978 | 335 | 0.7841 |
|
117 |
+
| 0.7868 | 0.2007 | 340 | 0.7831 |
|
118 |
+
| 0.7387 | 0.2037 | 345 | 0.7814 |
|
119 |
+
| 0.8157 | 0.2066 | 350 | 0.7804 |
|
120 |
+
| 0.8196 | 0.2096 | 355 | 0.7797 |
|
121 |
+
| 0.8074 | 0.2125 | 360 | 0.7793 |
|
122 |
+
| 0.8144 | 0.2155 | 365 | 0.7783 |
|
123 |
+
| 0.7863 | 0.2184 | 370 | 0.7775 |
|
124 |
+
| 0.7865 | 0.2214 | 375 | 0.7769 |
|
125 |
+
| 0.8075 | 0.2243 | 380 | 0.7765 |
|
126 |
+
| 0.8684 | 0.2273 | 385 | 0.7762 |
|
127 |
+
| 0.7657 | 0.2302 | 390 | 0.7759 |
|
128 |
+
| 0.7928 | 0.2332 | 395 | 0.7757 |
|
129 |
+
| 0.8031 | 0.2361 | 400 | 0.7755 |
|
130 |
+
| 0.738 | 0.2391 | 405 | 0.7753 |
|
131 |
+
| 0.7716 | 0.2420 | 410 | 0.7752 |
|
132 |
+
| 0.7283 | 0.2450 | 415 | 0.7752 |
|
133 |
+
| 0.8095 | 0.2479 | 420 | 0.7752 |
|
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:fce251499eb68f80ad8dd12494b9909b092a02b89df459366d7c3a667ca888e0
|
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:e978ef716c4f44a98a9ef030edc95542db00ac9372ee4fb93acb4b3c8e6025c1
|
3 |
+
size 5240
|