dakwi commited on
Commit
350a17b
1 Parent(s): 68470b4

End of training

Browse files
README.md ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-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
+ # chessgpt2-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.8574
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.1756 | 0.1280 | 2000 | 1.5178 |
55
+ | 1.4207 | 0.2560 | 4000 | 1.2728 |
56
+ | 1.265 | 0.3839 | 6000 | 1.1726 |
57
+ | 1.1852 | 0.5119 | 8000 | 1.1138 |
58
+ | 1.1321 | 0.6399 | 10000 | 1.0720 |
59
+ | 1.0931 | 0.7679 | 12000 | 1.0384 |
60
+ | 1.0621 | 0.8958 | 14000 | 1.0097 |
61
+ | 1.0319 | 1.0238 | 16000 | 0.9891 |
62
+ | 0.9981 | 1.1518 | 18000 | 0.9680 |
63
+ | 0.9816 | 1.2798 | 20000 | 0.9498 |
64
+ | 0.9655 | 1.4077 | 22000 | 0.9360 |
65
+ | 0.951 | 1.5357 | 24000 | 0.9219 |
66
+ | 0.9386 | 1.6637 | 26000 | 0.9094 |
67
+ | 0.9264 | 1.7917 | 28000 | 0.8974 |
68
+ | 0.9154 | 1.9196 | 30000 | 0.8876 |
69
+ | 0.8973 | 2.0476 | 32000 | 0.8804 |
70
+ | 0.8734 | 2.1756 | 34000 | 0.8743 |
71
+ | 0.8684 | 2.3036 | 36000 | 0.8683 |
72
+ | 0.8638 | 2.4315 | 38000 | 0.8647 |
73
+ | 0.86 | 2.5595 | 40000 | 0.8611 |
74
+ | 0.8581 | 2.6875 | 42000 | 0.8589 |
75
+ | 0.8557 | 2.8155 | 44000 | 0.8579 |
76
+ | 0.8556 | 2.9434 | 46000 | 0.8574 |
77
+
78
+
79
+ ### Framework versions
80
+
81
+ - Transformers 4.44.2
82
+ - Pytorch 2.4.1+cu121
83
+ - Datasets 3.0.1
84
+ - Tokenizers 0.19.1
all_results.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "eval_loss": 0.8574004173278809,
4
+ "eval_runtime": 423.69,
5
+ "eval_samples": 31921,
6
+ "eval_samples_per_second": 75.34,
7
+ "eval_steps_per_second": 9.42,
8
+ "perplexity": 2.357025440119543,
9
+ "total_flos": 1.8462142604897157e+18,
10
+ "train_loss": 0.19927044710540576,
11
+ "train_runtime": 48883.7053,
12
+ "train_samples": 1000192,
13
+ "train_samples_per_second": 61.382,
14
+ "train_steps_per_second": 0.959
15
+ }
eval_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "eval_loss": 0.8574004173278809,
4
+ "eval_runtime": 423.69,
5
+ "eval_samples": 31921,
6
+ "eval_samples_per_second": 75.34,
7
+ "eval_steps_per_second": 9.42,
8
+ "perplexity": 2.357025440119543
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:7ad22409dd3402ca2ecb2d47072950a781c2354f8fe3126a2eb8ae11d06d6f91
3
  size 1212421632
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:70c18e946f85425f6567052844e41d2867eeaebc42b9d0914dd8b574b0a90250
3
  size 1212421632
train_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "total_flos": 1.8462142604897157e+18,
4
+ "train_loss": 0.19927044710540576,
5
+ "train_runtime": 48883.7053,
6
+ "train_samples": 1000192,
7
+ "train_samples_per_second": 61.382,
8
+ "train_steps_per_second": 0.959
9
+ }