cuba6112 commited on
Commit
d56ef52
1 Parent(s): b0495b7

Training in progress, step 800

Browse files
README.md ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - generated_from_trainer
4
+ model-index:
5
+ - name: gpt2-finetuned-wikitext2
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-finetuned-wikitext2
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.3475
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: 5e-05
36
+ - train_batch_size: 8
37
+ - eval_batch_size: 8
38
+ - seed: 42
39
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
40
+ - lr_scheduler_type: linear
41
+ - lr_scheduler_warmup_steps: 500
42
+ - num_epochs: 3
43
+
44
+ ### Training results
45
+
46
+ | Training Loss | Epoch | Step | Validation Loss |
47
+ |:-------------:|:------:|:-----:|:---------------:|
48
+ | No log | 0.0871 | 400 | 5.7421 |
49
+ | 7.4433 | 0.1743 | 800 | 5.4424 |
50
+ | 6.1443 | 0.2614 | 1200 | 5.2904 |
51
+ | 5.8799 | 0.3486 | 1600 | 5.1782 |
52
+ | 5.77 | 0.4357 | 2000 | 5.0820 |
53
+ | 5.77 | 0.5229 | 2400 | 5.0147 |
54
+ | 5.6037 | 0.6100 | 2800 | 4.9651 |
55
+ | 5.4824 | 0.6972 | 3200 | 4.9089 |
56
+ | 5.4682 | 0.7843 | 3600 | 4.8641 |
57
+ | 5.3475 | 0.8715 | 4000 | 4.8143 |
58
+ | 5.3475 | 0.9586 | 4400 | 4.7679 |
59
+ | 5.2798 | 1.0458 | 4800 | 4.7325 |
60
+ | 5.1551 | 1.1329 | 5200 | 4.7000 |
61
+ | 5.0839 | 1.2200 | 5600 | 4.6673 |
62
+ | 5.0434 | 1.3072 | 6000 | 4.6397 |
63
+ | 5.0434 | 1.3943 | 6400 | 4.6196 |
64
+ | 5.0249 | 1.4815 | 6800 | 4.5872 |
65
+ | 4.9359 | 1.5686 | 7200 | 4.5554 |
66
+ | 4.9433 | 1.6558 | 7600 | 4.5342 |
67
+ | 4.8964 | 1.7429 | 8000 | 4.5158 |
68
+ | 4.8964 | 1.8301 | 8400 | 4.4937 |
69
+ | 4.8849 | 1.9172 | 8800 | 4.4816 |
70
+ | 4.7968 | 2.0044 | 9200 | 4.4569 |
71
+ | 4.7129 | 2.0915 | 9600 | 4.4388 |
72
+ | 4.6853 | 2.1786 | 10000 | 4.4255 |
73
+ | 4.6853 | 2.2658 | 10400 | 4.4210 |
74
+ | 4.6771 | 2.3529 | 10800 | 4.4021 |
75
+ | 4.6467 | 2.4401 | 11200 | 4.3909 |
76
+ | 4.6257 | 2.5272 | 11600 | 4.3823 |
77
+ | 4.6341 | 2.6144 | 12000 | 4.3720 |
78
+ | 4.6341 | 2.7015 | 12400 | 4.3636 |
79
+ | 4.5929 | 2.7887 | 12800 | 4.3574 |
80
+ | 4.6096 | 2.8758 | 13200 | 4.3508 |
81
+ | 4.5891 | 2.9630 | 13600 | 4.3479 |
82
+
83
+
84
+ ### Framework versions
85
+
86
+ - Transformers 4.40.0
87
+ - Pytorch 2.3.1+cu118
88
+ - Datasets 2.20.0
89
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "gpt2",
3
+ "activation_function": "gelu_new",
4
+ "architectures": [
5
+ "GPT2LMHeadModel"
6
+ ],
7
+ "attn_pdrop": 0.1,
8
+ "bos_token_id": 50256,
9
+ "embd_pdrop": 0.1,
10
+ "eos_token_id": 50256,
11
+ "initializer_range": 0.02,
12
+ "layer_norm_epsilon": 1e-05,
13
+ "model_type": "gpt2",
14
+ "n_ctx": 1024,
15
+ "n_embd": 768,
16
+ "n_head": 12,
17
+ "n_inner": null,
18
+ "n_layer": 12,
19
+ "n_positions": 1024,
20
+ "reorder_and_upcast_attn": false,
21
+ "resid_pdrop": 0.1,
22
+ "scale_attn_by_inverse_layer_idx": false,
23
+ "scale_attn_weights": true,
24
+ "summary_activation": null,
25
+ "summary_first_dropout": 0.1,
26
+ "summary_proj_to_labels": true,
27
+ "summary_type": "cls_index",
28
+ "summary_use_proj": true,
29
+ "task_specific_params": {
30
+ "text-generation": {
31
+ "do_sample": true,
32
+ "max_length": 50
33
+ }
34
+ },
35
+ "torch_dtype": "float32",
36
+ "transformers_version": "4.40.0",
37
+ "use_cache": true,
38
+ "vocab_size": 50257
39
+ }
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.40.0"
6
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f4ccd26bd9f0ccd61e5d75700bd97ff0765e47dc8da154d0632a738014ec1750
3
+ size 497774208
runs/Jun30_14-53-49_Delta6112/events.out.tfevents.1719773630.Delta6112.7476.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7fb55881f8700e0ed18ab7af971447f0817270318a58e7d8c5820cacf670cd2d
3
+ size 20021
runs/Jun30_14-53-49_Delta6112/events.out.tfevents.1719777035.Delta6112.7476.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ee50bb0ee9e52d3fe65d52a0a8eff1f6fceb0018637f06524a4d045498f56362
3
+ size 359
runs/Jun30_17-38-53_Delta6112/events.out.tfevents.1719783534.Delta6112.24560.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aba24191f63836a34d4aa83270b507c0e010616911c32e9d8a5bf98763d9e81d
3
+ size 5678
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7df904fbdd3781a1cfe4099933a79a75b285a525cab02fee4c12cca4989b6ab3
3
+ size 4984