JulianS commited on
Commit
6800480
1 Parent(s): c4453ff

End of training

Browse files
README.md ADDED
@@ -0,0 +1,99 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: gpt2
3
+ tags:
4
+ - generated_from_trainer
5
+ model-index:
6
+ - name: basho_haiku_gpt2_test
7
+ results: []
8
+ ---
9
+
10
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
11
+ should probably proofread and complete it, then remove this comment. -->
12
+
13
+ # basho_haiku_gpt2_test
14
+
15
+ This model is a fine-tuned version of [gpt2](https://huggingface.co/gpt2) on an unknown dataset.
16
+ It achieves the following results on the evaluation set:
17
+ - Loss: 0.7002
18
+
19
+ ## Model description
20
+
21
+ More information needed
22
+
23
+ ## Intended uses & limitations
24
+
25
+ More information needed
26
+
27
+ ## Training and evaluation data
28
+
29
+ More information needed
30
+
31
+ ## Training procedure
32
+
33
+ ### Training hyperparameters
34
+
35
+ The following hyperparameters were used during training:
36
+ - learning_rate: 5e-05
37
+ - train_batch_size: 1
38
+ - eval_batch_size: 8
39
+ - seed: 42
40
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
41
+ - lr_scheduler_type: linear
42
+ - num_epochs: 5
43
+
44
+ ### Training results
45
+
46
+ | Training Loss | Epoch | Step | Validation Loss |
47
+ |:-------------:|:-----:|:----:|:---------------:|
48
+ | 0.9095 | 0.11 | 100 | 0.6605 |
49
+ | 0.6638 | 0.22 | 200 | 0.6303 |
50
+ | 0.6456 | 0.33 | 300 | 0.6163 |
51
+ | 0.6421 | 0.45 | 400 | 0.6139 |
52
+ | 0.6421 | 0.56 | 500 | 0.6069 |
53
+ | 0.6182 | 0.67 | 600 | 0.5944 |
54
+ | 0.6277 | 0.78 | 700 | 0.5910 |
55
+ | 0.6409 | 0.89 | 800 | 0.5878 |
56
+ | 0.6047 | 1.0 | 900 | 0.5807 |
57
+ | 0.4944 | 1.11 | 1000 | 0.5847 |
58
+ | 0.4878 | 1.23 | 1100 | 0.5897 |
59
+ | 0.4706 | 1.34 | 1200 | 0.5947 |
60
+ | 0.4829 | 1.45 | 1300 | 0.5866 |
61
+ | 0.4742 | 1.56 | 1400 | 0.5875 |
62
+ | 0.4555 | 1.67 | 1500 | 0.5884 |
63
+ | 0.4713 | 1.78 | 1600 | 0.5890 |
64
+ | 0.4669 | 1.9 | 1700 | 0.5848 |
65
+ | 0.475 | 2.01 | 1800 | 0.5838 |
66
+ | 0.3762 | 2.12 | 1900 | 0.6123 |
67
+ | 0.3703 | 2.23 | 2000 | 0.6172 |
68
+ | 0.3772 | 2.34 | 2100 | 0.6118 |
69
+ | 0.3731 | 2.45 | 2200 | 0.6090 |
70
+ | 0.3662 | 2.56 | 2300 | 0.6151 |
71
+ | 0.3894 | 2.68 | 2400 | 0.6132 |
72
+ | 0.3663 | 2.79 | 2500 | 0.6195 |
73
+ | 0.368 | 2.9 | 2600 | 0.6163 |
74
+ | 0.3735 | 3.01 | 2700 | 0.6191 |
75
+ | 0.3006 | 3.12 | 2800 | 0.6518 |
76
+ | 0.3071 | 3.23 | 2900 | 0.6603 |
77
+ | 0.2898 | 3.34 | 3000 | 0.6629 |
78
+ | 0.2986 | 3.46 | 3100 | 0.6648 |
79
+ | 0.3107 | 3.57 | 3200 | 0.6558 |
80
+ | 0.3064 | 3.68 | 3300 | 0.6568 |
81
+ | 0.3052 | 3.79 | 3400 | 0.6633 |
82
+ | 0.3069 | 3.9 | 3500 | 0.6626 |
83
+ | 0.2872 | 4.01 | 3600 | 0.6641 |
84
+ | 0.2711 | 4.12 | 3700 | 0.6848 |
85
+ | 0.2584 | 4.24 | 3800 | 0.6944 |
86
+ | 0.2606 | 4.35 | 3900 | 0.7007 |
87
+ | 0.2538 | 4.46 | 4000 | 0.7029 |
88
+ | 0.2481 | 4.57 | 4100 | 0.7014 |
89
+ | 0.2466 | 4.68 | 4200 | 0.7006 |
90
+ | 0.25 | 4.79 | 4300 | 0.6990 |
91
+ | 0.2568 | 4.91 | 4400 | 0.7002 |
92
+
93
+
94
+ ### Framework versions
95
+
96
+ - Transformers 4.38.2
97
+ - Pytorch 2.0.1+cu117
98
+ - Datasets 2.18.0
99
+ - Tokenizers 0.15.2
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.38.2",
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.38.2"
6
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a408710a7eb9d12998f8796af6dba9f2d64048e59e839e048f5701e516739a96
3
+ size 497774208
special_tokens_map.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<|endoftext|>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "<|endoftext|>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": "<|endoftext|>",
17
+ "unk_token": {
18
+ "content": "<|endoftext|>",
19
+ "lstrip": false,
20
+ "normalized": true,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ }
24
+ }
tokenizer_config.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_prefix_space": false,
4
+ "added_tokens_decoder": {
5
+ "50256": {
6
+ "content": "<|endoftext|>",
7
+ "lstrip": false,
8
+ "normalized": true,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ }
13
+ },
14
+ "bos_token": "<|endoftext|>",
15
+ "clean_up_tokenization_spaces": true,
16
+ "eos_token": "<|endoftext|>",
17
+ "errors": "replace",
18
+ "model_max_length": 1024,
19
+ "pad_token": "<|endoftext|>",
20
+ "tokenizer_class": "GPT2Tokenizer",
21
+ "unk_token": "<|endoftext|>"
22
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:561b607bc1e4db2afd1536ba7aef5b1044eb4e17cc9c47f115d6003d416a9f08
3
+ size 4411
vocab.json ADDED
The diff for this file is too large to render. See raw diff