End of training
Browse files- README.md +72 -0
- all_results.json +15 -0
- eval_results.json +9 -0
- generation_config.json +6 -0
- model.safetensors +1 -1
- train_results.json +9 -0
README.md
ADDED
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: mit
|
4 |
+
base_model: gpt2-medium
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
model-index:
|
8 |
+
- name: chessgpt2-medium-s
|
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 |
+
# chessgpt2-medium-s
|
16 |
+
|
17 |
+
This model is a fine-tuned version of [gpt2-medium](https://huggingface.co/gpt2-medium) on an unknown dataset.
|
18 |
+
It achieves the following results on the evaluation set:
|
19 |
+
- Loss: 1.0790
|
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: 5e-05
|
39 |
+
- train_batch_size: 32
|
40 |
+
- eval_batch_size: 8
|
41 |
+
- seed: 42
|
42 |
+
- gradient_accumulation_steps: 2
|
43 |
+
- total_train_batch_size: 64
|
44 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
45 |
+
- lr_scheduler_type: cosine
|
46 |
+
- lr_scheduler_warmup_ratio: 0.025
|
47 |
+
- num_epochs: 3
|
48 |
+
- mixed_precision_training: Native AMP
|
49 |
+
|
50 |
+
### Training results
|
51 |
+
|
52 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
53 |
+
|:-------------:|:------:|:-----:|:---------------:|
|
54 |
+
| 2.3553 | 0.2560 | 1000 | 1.7539 |
|
55 |
+
| 1.6483 | 0.5119 | 2000 | 1.4751 |
|
56 |
+
| 1.4597 | 0.7679 | 3000 | 1.3417 |
|
57 |
+
| 1.3504 | 1.0238 | 4000 | 1.2587 |
|
58 |
+
| 1.2717 | 1.2798 | 5000 | 1.2104 |
|
59 |
+
| 1.2263 | 1.5357 | 6000 | 1.1654 |
|
60 |
+
| 1.1899 | 1.7917 | 7000 | 1.1346 |
|
61 |
+
| 1.154 | 2.0476 | 8000 | 1.1105 |
|
62 |
+
| 1.1124 | 2.3036 | 9000 | 1.0941 |
|
63 |
+
| 1.1002 | 2.5595 | 10000 | 1.0835 |
|
64 |
+
| 1.093 | 2.8155 | 11000 | 1.0790 |
|
65 |
+
|
66 |
+
|
67 |
+
### Framework versions
|
68 |
+
|
69 |
+
- Transformers 4.44.2
|
70 |
+
- Pytorch 2.4.1+cu121
|
71 |
+
- Datasets 3.0.1
|
72 |
+
- Tokenizers 0.19.1
|
all_results.json
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 3.0,
|
3 |
+
"eval_loss": 1.0790187120437622,
|
4 |
+
"eval_runtime": 300.3896,
|
5 |
+
"eval_samples": 22063,
|
6 |
+
"eval_samples_per_second": 73.448,
|
7 |
+
"eval_steps_per_second": 9.181,
|
8 |
+
"perplexity": 2.941791389777784,
|
9 |
+
"total_flos": 4.61198337106772e+17,
|
10 |
+
"train_loss": 1.3434544682004388,
|
11 |
+
"train_runtime": 53992.4682,
|
12 |
+
"train_samples": 250048,
|
13 |
+
"train_samples_per_second": 13.893,
|
14 |
+
"train_steps_per_second": 0.217
|
15 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 3.0,
|
3 |
+
"eval_loss": 1.0790187120437622,
|
4 |
+
"eval_runtime": 300.3896,
|
5 |
+
"eval_samples": 22063,
|
6 |
+
"eval_samples_per_second": 73.448,
|
7 |
+
"eval_steps_per_second": 9.181,
|
8 |
+
"perplexity": 2.941791389777784
|
9 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 0,
|
4 |
+
"eos_token_id": 1,
|
5 |
+
"transformers_version": "4.44.2"
|
6 |
+
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 1212421632
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:be280c58eb0f28a12cc4aadd15c573a3d04b576a6f77cd971df921315f510e42
|
3 |
size 1212421632
|
train_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 3.0,
|
3 |
+
"total_flos": 4.61198337106772e+17,
|
4 |
+
"train_loss": 1.3434544682004388,
|
5 |
+
"train_runtime": 53992.4682,
|
6 |
+
"train_samples": 250048,
|
7 |
+
"train_samples_per_second": 13.893,
|
8 |
+
"train_steps_per_second": 0.217
|
9 |
+
}
|