End of training
Browse files- README.md +76 -0
- all_results.json +15 -0
- eval_results.json +9 -0
- generation_config.json +6 -0
- last-checkpoint/model.safetensors +1 -1
- last-checkpoint/optimizer.pt +1 -1
- last-checkpoint/rng_state.pth +1 -1
- last-checkpoint/scheduler.pt +1 -1
- last-checkpoint/trainer_state.json +4 -39
- last-checkpoint/training_args.bin +1 -1
- runs/Sep16_13-23-58_13ea5bdc15fa/events.out.tfevents.1726497240.13ea5bdc15fa.1753.1 +3 -0
- train_results.json +9 -0
README.md
ADDED
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: mit
|
4 |
+
base_model: gpt2-medium
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
model-index:
|
8 |
+
- name: chessgpt-medium-l
|
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 |
+
# chessgpt-medium-l
|
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: 0.7634
|
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: 0.0003
|
39 |
+
- train_batch_size: 16
|
40 |
+
- eval_batch_size: 8
|
41 |
+
- seed: 42
|
42 |
+
- gradient_accumulation_steps: 4
|
43 |
+
- total_train_batch_size: 64
|
44 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
45 |
+
- lr_scheduler_type: linear
|
46 |
+
- lr_scheduler_warmup_ratio: 0.2
|
47 |
+
- num_epochs: 1
|
48 |
+
- mixed_precision_training: Native AMP
|
49 |
+
|
50 |
+
### Training results
|
51 |
+
|
52 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
53 |
+
|:-------------:|:-----:|:-----:|:---------------:|
|
54 |
+
| 1.4326 | 0.064 | 1000 | 1.3596 |
|
55 |
+
| 1.2424 | 0.128 | 2000 | 1.1829 |
|
56 |
+
| 1.1278 | 0.192 | 3000 | 1.0753 |
|
57 |
+
| 1.0296 | 0.256 | 4000 | 0.9877 |
|
58 |
+
| 0.9605 | 0.32 | 5000 | 0.9224 |
|
59 |
+
| 0.9193 | 0.384 | 6000 | 0.8874 |
|
60 |
+
| 0.8911 | 0.448 | 7000 | 0.8600 |
|
61 |
+
| 0.8707 | 0.512 | 8000 | 0.8405 |
|
62 |
+
| 0.8521 | 0.576 | 9000 | 0.8221 |
|
63 |
+
| 0.8391 | 0.64 | 10000 | 0.8089 |
|
64 |
+
| 0.8242 | 0.704 | 11000 | 0.7972 |
|
65 |
+
| 0.8146 | 0.768 | 12000 | 0.7858 |
|
66 |
+
| 0.8047 | 0.832 | 13000 | 0.7769 |
|
67 |
+
| 0.7974 | 0.896 | 14000 | 0.7701 |
|
68 |
+
| 0.7916 | 0.96 | 15000 | 0.7651 |
|
69 |
+
|
70 |
+
|
71 |
+
### Framework versions
|
72 |
+
|
73 |
+
- Transformers 4.44.2
|
74 |
+
- Pytorch 2.4.0+cu121
|
75 |
+
- Datasets 3.0.0
|
76 |
+
- Tokenizers 0.19.1
|
all_results.json
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"eval_loss": 0.7633727192878723,
|
4 |
+
"eval_runtime": 465.9005,
|
5 |
+
"eval_samples": 125000,
|
6 |
+
"eval_samples_per_second": 53.66,
|
7 |
+
"eval_steps_per_second": 6.707,
|
8 |
+
"perplexity": 2.145500201330361,
|
9 |
+
"total_flos": 6.467778978579087e+17,
|
10 |
+
"train_loss": 0.0316199453125,
|
11 |
+
"train_runtime": 3118.7762,
|
12 |
+
"train_samples": 1000000,
|
13 |
+
"train_samples_per_second": 320.639,
|
14 |
+
"train_steps_per_second": 5.01
|
15 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"eval_loss": 0.7633727192878723,
|
4 |
+
"eval_runtime": 465.9005,
|
5 |
+
"eval_samples": 125000,
|
6 |
+
"eval_samples_per_second": 53.66,
|
7 |
+
"eval_steps_per_second": 6.707,
|
8 |
+
"perplexity": 2.145500201330361
|
9 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 50256,
|
4 |
+
"eos_token_id": 50256,
|
5 |
+
"transformers_version": "4.44.2"
|
6 |
+
}
|
last-checkpoint/model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 1419322880
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:41a75d7e56e510ebd0246ce6077f7354b2bd08eea3d6dee1c2821fad0b717483
|
3 |
size 1419322880
|
last-checkpoint/optimizer.pt
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 2838829242
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cdda7b415287871e7541ee48a885b2f659eb3612ac4d4d7b96967e2bc6a4b09e
|
3 |
size 2838829242
|
last-checkpoint/rng_state.pth
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 14244
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:11aeff85cf180f6e39d390f0c73b4191a0057f4e10e837cdc8d0d52f2ba5ed37
|
3 |
size 14244
|
last-checkpoint/scheduler.pt
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 1064
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4e6cddd194702ba3d5358e4dca8328bb3cc2b0f59539c04abda492cb8ee76e8b
|
3 |
size 1064
|
last-checkpoint/trainer_state.json
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
{
|
2 |
"best_metric": null,
|
3 |
"best_model_checkpoint": null,
|
4 |
-
"epoch":
|
5 |
"eval_steps": 1000,
|
6 |
-
"global_step":
|
7 |
"is_hyper_param_search": false,
|
8 |
"is_local_process_zero": true,
|
9 |
"is_world_process_zero": true,
|
@@ -967,41 +967,6 @@
|
|
967 |
"eval_samples_per_second": 53.702,
|
968 |
"eval_steps_per_second": 6.713,
|
969 |
"step": 15000
|
970 |
-
},
|
971 |
-
{
|
972 |
-
"epoch": 0.968,
|
973 |
-
"grad_norm": 0.30145466327667236,
|
974 |
-
"learning_rate": 1.2095999999999999e-05,
|
975 |
-
"loss": 0.794,
|
976 |
-
"step": 15125
|
977 |
-
},
|
978 |
-
{
|
979 |
-
"epoch": 0.976,
|
980 |
-
"grad_norm": 0.25297385454177856,
|
981 |
-
"learning_rate": 9.095999999999999e-06,
|
982 |
-
"loss": 0.7907,
|
983 |
-
"step": 15250
|
984 |
-
},
|
985 |
-
{
|
986 |
-
"epoch": 0.984,
|
987 |
-
"grad_norm": 0.24243755638599396,
|
988 |
-
"learning_rate": 6.096e-06,
|
989 |
-
"loss": 0.7901,
|
990 |
-
"step": 15375
|
991 |
-
},
|
992 |
-
{
|
993 |
-
"epoch": 0.992,
|
994 |
-
"grad_norm": 0.25872665643692017,
|
995 |
-
"learning_rate": 3.0959999999999997e-06,
|
996 |
-
"loss": 0.7887,
|
997 |
-
"step": 15500
|
998 |
-
},
|
999 |
-
{
|
1000 |
-
"epoch": 1.0,
|
1001 |
-
"grad_norm": 0.28159773349761963,
|
1002 |
-
"learning_rate": 9.6e-08,
|
1003 |
-
"loss": 0.789,
|
1004 |
-
"step": 15625
|
1005 |
}
|
1006 |
],
|
1007 |
"logging_steps": 125,
|
@@ -1016,12 +981,12 @@
|
|
1016 |
"should_evaluate": false,
|
1017 |
"should_log": false,
|
1018 |
"should_save": true,
|
1019 |
-
"should_training_stop":
|
1020 |
},
|
1021 |
"attributes": {}
|
1022 |
}
|
1023 |
},
|
1024 |
-
"total_flos": 6.
|
1025 |
"train_batch_size": 16,
|
1026 |
"trial_name": null,
|
1027 |
"trial_params": null
|
|
|
1 |
{
|
2 |
"best_metric": null,
|
3 |
"best_model_checkpoint": null,
|
4 |
+
"epoch": 0.96,
|
5 |
"eval_steps": 1000,
|
6 |
+
"global_step": 15000,
|
7 |
"is_hyper_param_search": false,
|
8 |
"is_local_process_zero": true,
|
9 |
"is_world_process_zero": true,
|
|
|
967 |
"eval_samples_per_second": 53.702,
|
968 |
"eval_steps_per_second": 6.713,
|
969 |
"step": 15000
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
970 |
}
|
971 |
],
|
972 |
"logging_steps": 125,
|
|
|
981 |
"should_evaluate": false,
|
982 |
"should_log": false,
|
983 |
"should_save": true,
|
984 |
+
"should_training_stop": false
|
985 |
},
|
986 |
"attributes": {}
|
987 |
}
|
988 |
},
|
989 |
+
"total_flos": 6.209723238342328e+17,
|
990 |
"train_batch_size": 16,
|
991 |
"trial_name": null,
|
992 |
"trial_params": null
|
last-checkpoint/training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 5176
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:be9e8ac997489bca24294854a2e24893ea0dbb73701c8abc575eda07c340f6fc
|
3 |
size 5176
|
runs/Sep16_13-23-58_13ea5bdc15fa/events.out.tfevents.1726497240.13ea5bdc15fa.1753.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:09e7e4cf7b275b8cdfeebb58237571c1a9723517914ba4c43010e097e57011d5
|
3 |
+
size 359
|
train_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"total_flos": 6.467778978579087e+17,
|
4 |
+
"train_loss": 0.0316199453125,
|
5 |
+
"train_runtime": 3118.7762,
|
6 |
+
"train_samples": 1000000,
|
7 |
+
"train_samples_per_second": 320.639,
|
8 |
+
"train_steps_per_second": 5.01
|
9 |
+
}
|