chasedreaminf commited on
Commit
b57c55a
·
verified ·
1 Parent(s): 464f3ba

Model save

Browse files
README.md ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ base_model: weqweasdas/gpt2-cpt-dutch
4
+ tags:
5
+ - trl
6
+ - sft
7
+ - generated_from_trainer
8
+ datasets:
9
+ - generator
10
+ model-index:
11
+ - name: gpt2-sft-dutch
12
+ results: []
13
+ ---
14
+
15
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
16
+ should probably proofread and complete it, then remove this comment. -->
17
+
18
+ # gpt2-sft-dutch
19
+
20
+ This model is a fine-tuned version of [weqweasdas/gpt2-cpt-dutch](https://huggingface.co/weqweasdas/gpt2-cpt-dutch) on the generator dataset.
21
+ It achieves the following results on the evaluation set:
22
+ - Loss: 2.9502
23
+
24
+ ## Model description
25
+
26
+ More information needed
27
+
28
+ ## Intended uses & limitations
29
+
30
+ More information needed
31
+
32
+ ## Training and evaluation data
33
+
34
+ More information needed
35
+
36
+ ## Training procedure
37
+
38
+ ### Training hyperparameters
39
+
40
+ The following hyperparameters were used during training:
41
+ - learning_rate: 2e-05
42
+ - train_batch_size: 8
43
+ - eval_batch_size: 8
44
+ - seed: 42
45
+ - distributed_type: multi-GPU
46
+ - num_devices: 4
47
+ - total_train_batch_size: 32
48
+ - total_eval_batch_size: 32
49
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
50
+ - lr_scheduler_type: cosine
51
+ - lr_scheduler_warmup_ratio: 0.1
52
+ - num_epochs: 1
53
+
54
+ ### Training results
55
+
56
+ | Training Loss | Epoch | Step | Validation Loss |
57
+ |:-------------:|:-----:|:----:|:---------------:|
58
+ | 3.1156 | 1.0 | 76 | 2.9502 |
59
+
60
+
61
+ ### Framework versions
62
+
63
+ - Transformers 4.44.2
64
+ - Pytorch 2.1.2
65
+ - Datasets 3.0.0
66
+ - Tokenizers 0.19.1
all_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "total_flos": 317731110912000.0,
4
+ "train_loss": 3.1433490953947367,
5
+ "train_runtime": 1149.309,
6
+ "train_samples": 1925,
7
+ "train_samples_per_second": 2.11,
8
+ "train_steps_per_second": 0.066
9
+ }
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
+ "transformers_version": "4.44.2",
6
+ "use_cache": false
7
+ }
runs/Sep28_14-43-08_ip-10-192-36-160/events.out.tfevents.1727534591.ip-10-192-36-160.3362089.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:19156893e9b5b719608d80f378001dfd02ca09ebb3601614faf085d63183d21d
3
- size 9072
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:410a26b6761641d638a0421c71ebb8328908112c8fb7d41d373fa93674e29d1b
3
+ size 9686
train_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "total_flos": 317731110912000.0,
4
+ "train_loss": 3.1433490953947367,
5
+ "train_runtime": 1149.309,
6
+ "train_samples": 1925,
7
+ "train_samples_per_second": 2.11,
8
+ "train_steps_per_second": 0.066
9
+ }
trainer_state.json ADDED
@@ -0,0 +1,162 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 1.0,
5
+ "eval_steps": 500,
6
+ "global_step": 76,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.013157894736842105,
13
+ "grad_norm": 2.890625,
14
+ "learning_rate": 2.5e-06,
15
+ "loss": 3.1602,
16
+ "step": 1
17
+ },
18
+ {
19
+ "epoch": 0.06578947368421052,
20
+ "grad_norm": 2.859375,
21
+ "learning_rate": 1.25e-05,
22
+ "loss": 3.2031,
23
+ "step": 5
24
+ },
25
+ {
26
+ "epoch": 0.13157894736842105,
27
+ "grad_norm": 2.953125,
28
+ "learning_rate": 1.9957341762950346e-05,
29
+ "loss": 3.2461,
30
+ "step": 10
31
+ },
32
+ {
33
+ "epoch": 0.19736842105263158,
34
+ "grad_norm": 2.46875,
35
+ "learning_rate": 1.948160647590966e-05,
36
+ "loss": 3.2055,
37
+ "step": 15
38
+ },
39
+ {
40
+ "epoch": 0.2631578947368421,
41
+ "grad_norm": 2.4375,
42
+ "learning_rate": 1.8502171357296144e-05,
43
+ "loss": 3.168,
44
+ "step": 20
45
+ },
46
+ {
47
+ "epoch": 0.32894736842105265,
48
+ "grad_norm": 2.234375,
49
+ "learning_rate": 1.7071067811865477e-05,
50
+ "loss": 3.15,
51
+ "step": 25
52
+ },
53
+ {
54
+ "epoch": 0.39473684210526316,
55
+ "grad_norm": 2.140625,
56
+ "learning_rate": 1.526432162877356e-05,
57
+ "loss": 3.1352,
58
+ "step": 30
59
+ },
60
+ {
61
+ "epoch": 0.4605263157894737,
62
+ "grad_norm": 2.046875,
63
+ "learning_rate": 1.3177914195819018e-05,
64
+ "loss": 3.1156,
65
+ "step": 35
66
+ },
67
+ {
68
+ "epoch": 0.5263157894736842,
69
+ "grad_norm": 1.9296875,
70
+ "learning_rate": 1.092268359463302e-05,
71
+ "loss": 3.1227,
72
+ "step": 40
73
+ },
74
+ {
75
+ "epoch": 0.5921052631578947,
76
+ "grad_norm": 1.890625,
77
+ "learning_rate": 8.618436450481182e-06,
78
+ "loss": 3.1273,
79
+ "step": 45
80
+ },
81
+ {
82
+ "epoch": 0.6578947368421053,
83
+ "grad_norm": 2.015625,
84
+ "learning_rate": 6.387583338128471e-06,
85
+ "loss": 3.1133,
86
+ "step": 50
87
+ },
88
+ {
89
+ "epoch": 0.7236842105263158,
90
+ "grad_norm": 1.9765625,
91
+ "learning_rate": 4.348635855774082e-06,
92
+ "loss": 3.125,
93
+ "step": 55
94
+ },
95
+ {
96
+ "epoch": 0.7894736842105263,
97
+ "grad_norm": 2.03125,
98
+ "learning_rate": 2.6099108277934105e-06,
99
+ "loss": 3.1,
100
+ "step": 60
101
+ },
102
+ {
103
+ "epoch": 0.8552631578947368,
104
+ "grad_norm": 2.09375,
105
+ "learning_rate": 1.2637760935363053e-06,
106
+ "loss": 3.1195,
107
+ "step": 65
108
+ },
109
+ {
110
+ "epoch": 0.9210526315789473,
111
+ "grad_norm": 1.953125,
112
+ "learning_rate": 3.817435682718096e-07,
113
+ "loss": 3.1187,
114
+ "step": 70
115
+ },
116
+ {
117
+ "epoch": 0.9868421052631579,
118
+ "grad_norm": 1.9609375,
119
+ "learning_rate": 1.0670251976275803e-08,
120
+ "loss": 3.1156,
121
+ "step": 75
122
+ },
123
+ {
124
+ "epoch": 1.0,
125
+ "eval_loss": 2.950244188308716,
126
+ "eval_runtime": 862.1559,
127
+ "eval_samples_per_second": 30.726,
128
+ "eval_steps_per_second": 0.96,
129
+ "step": 76
130
+ },
131
+ {
132
+ "epoch": 1.0,
133
+ "step": 76,
134
+ "total_flos": 317731110912000.0,
135
+ "train_loss": 3.1433490953947367,
136
+ "train_runtime": 1149.309,
137
+ "train_samples_per_second": 2.11,
138
+ "train_steps_per_second": 0.066
139
+ }
140
+ ],
141
+ "logging_steps": 5,
142
+ "max_steps": 76,
143
+ "num_input_tokens_seen": 0,
144
+ "num_train_epochs": 1,
145
+ "save_steps": 100,
146
+ "stateful_callbacks": {
147
+ "TrainerControl": {
148
+ "args": {
149
+ "should_epoch_stop": false,
150
+ "should_evaluate": false,
151
+ "should_log": false,
152
+ "should_save": true,
153
+ "should_training_stop": true
154
+ },
155
+ "attributes": {}
156
+ }
157
+ },
158
+ "total_flos": 317731110912000.0,
159
+ "train_batch_size": 8,
160
+ "trial_name": null,
161
+ "trial_params": null
162
+ }