ninagroot commited on
Commit
a9cbe2b
·
verified ·
1 Parent(s): 1bc2b6b

ninagroot/GPT2-705Mtest

Browse files
README.md ADDED
@@ -0,0 +1,98 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - generated_from_trainer
4
+ model-index:
5
+ - name: GPT2-705M
6
+ results: []
7
+ ---
8
+
9
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
10
+ should probably proofread and complete it, then remove this comment. -->
11
+
12
+ # GPT2-705M
13
+
14
+ This model is a fine-tuned version of [](https://huggingface.co/) on an unknown dataset.
15
+ It achieves the following results on the evaluation set:
16
+ - Loss: 4.1692
17
+
18
+ ## Model description
19
+
20
+ More information needed
21
+
22
+ ## Intended uses & limitations
23
+
24
+ More information needed
25
+
26
+ ## Training and evaluation data
27
+
28
+ More information needed
29
+
30
+ ## Training procedure
31
+
32
+ ### Training hyperparameters
33
+
34
+ The following hyperparameters were used during training:
35
+ - learning_rate: 0.00025
36
+ - train_batch_size: 16
37
+ - eval_batch_size: 8
38
+ - seed: 42
39
+ - gradient_accumulation_steps: 8
40
+ - total_train_batch_size: 128
41
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
42
+ - lr_scheduler_type: cosine
43
+ - lr_scheduler_warmup_steps: 50
44
+ - num_epochs: 40
45
+ - mixed_precision_training: Native AMP
46
+
47
+ ### Training results
48
+
49
+ | Training Loss | Epoch | Step | Validation Loss |
50
+ |:-------------:|:-----:|:----:|:---------------:|
51
+ | 6.9278 | 1.0 | 3 | 6.8982 |
52
+ | 6.2619 | 2.0 | 6 | 6.3736 |
53
+ | 5.5361 | 3.0 | 9 | 6.0513 |
54
+ | 5.3332 | 4.0 | 12 | 5.3785 |
55
+ | 5.5741 | 5.0 | 15 | 5.3255 |
56
+ | 4.6819 | 6.0 | 18 | 4.9017 |
57
+ | 4.2971 | 7.0 | 21 | 4.5924 |
58
+ | 4.1379 | 8.0 | 24 | 4.3890 |
59
+ | 4.014 | 9.0 | 27 | 4.1882 |
60
+ | 3.8136 | 10.0 | 30 | 3.9852 |
61
+ | 3.6263 | 11.0 | 33 | 3.8839 |
62
+ | 3.4951 | 12.0 | 36 | 3.8463 |
63
+ | 3.1734 | 13.0 | 39 | 3.7403 |
64
+ | 3.3178 | 14.0 | 42 | 3.6179 |
65
+ | 2.9869 | 15.0 | 45 | 3.5469 |
66
+ | 2.8614 | 16.0 | 48 | 3.4918 |
67
+ | 2.7445 | 17.0 | 51 | 3.4338 |
68
+ | 2.6014 | 18.0 | 54 | 3.4071 |
69
+ | 2.5147 | 19.0 | 57 | 3.4175 |
70
+ | 2.5795 | 20.0 | 60 | 3.3969 |
71
+ | 2.38 | 21.0 | 63 | 3.4091 |
72
+ | 2.1579 | 22.0 | 66 | 3.4791 |
73
+ | 2.202 | 23.0 | 69 | 3.5244 |
74
+ | 2.0225 | 24.0 | 72 | 3.5956 |
75
+ | 1.9019 | 25.0 | 75 | 3.6241 |
76
+ | 1.8023 | 26.0 | 78 | 3.6849 |
77
+ | 1.7232 | 27.0 | 81 | 3.7259 |
78
+ | 1.6271 | 28.0 | 84 | 3.8172 |
79
+ | 1.4719 | 29.0 | 87 | 3.8680 |
80
+ | 1.3646 | 30.0 | 90 | 3.9362 |
81
+ | 1.2769 | 31.0 | 93 | 3.9921 |
82
+ | 1.2041 | 32.0 | 96 | 4.0741 |
83
+ | 1.0735 | 33.0 | 99 | 4.0879 |
84
+ | 1.042 | 34.0 | 102 | 4.1016 |
85
+ | 0.9854 | 35.0 | 105 | 4.1211 |
86
+ | 0.9374 | 36.0 | 108 | 4.1667 |
87
+ | 0.8552 | 37.0 | 111 | 4.1515 |
88
+ | 0.8455 | 38.0 | 114 | 4.1612 |
89
+ | 0.8147 | 39.0 | 117 | 4.1692 |
90
+ | 0.7733 | 40.0 | 120 | 4.1692 |
91
+
92
+
93
+ ### Framework versions
94
+
95
+ - Transformers 4.39.1
96
+ - Pytorch 2.1.2+cu121
97
+ - Datasets 2.16.1
98
+ - Tokenizers 0.15.0
config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation_function": "gelu_new",
3
+ "architectures": [
4
+ "GPT2LMHeadModel"
5
+ ],
6
+ "attn_pdrop": 0.0,
7
+ "bos_token_id": 50256,
8
+ "embd_pdrop": 0.0,
9
+ "eos_token_id": 50256,
10
+ "initializer_range": 0.02,
11
+ "layer_norm_epsilon": 1e-05,
12
+ "model_type": "gpt2",
13
+ "n_embd": 1536,
14
+ "n_head": 8,
15
+ "n_inner": null,
16
+ "n_layer": 24,
17
+ "n_positions": 256,
18
+ "pad_token_id": 0,
19
+ "reorder_and_upcast_attn": false,
20
+ "resid_pdrop": 0.0,
21
+ "scale_attn_by_inverse_layer_idx": false,
22
+ "scale_attn_weights": true,
23
+ "summary_activation": null,
24
+ "summary_first_dropout": 0.1,
25
+ "summary_proj_to_labels": true,
26
+ "summary_type": "cls_index",
27
+ "summary_use_proj": true,
28
+ "torch_dtype": "float32",
29
+ "transformers_version": "4.39.1",
30
+ "use_cache": true,
31
+ "vocab_size": 4388
32
+ }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 50256,
4
+ "eos_token_id": 50256,
5
+ "pad_token_id": 0,
6
+ "transformers_version": "4.39.1"
7
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5b43c9a47230fe97124a40fb61d15f2b6f4c9a806433103a83e28c12d92a5196
3
+ size 2748401440
runs/Apr18_20-17-44_gcn59.local.snellius.surf.nl/events.out.tfevents.1713464276.gcn59.local.snellius.surf.nl.992823.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a0bae0680c3dc222401c4fd40bfb7e81ad124c6294bf805beb0a57fd29cc89c8
3
+ size 40505
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ebf14cdba58dbfbada67ce9a4a8ab11e55fe5977cad0cb6058aee1b75371f6ec
3
+ size 4984