MKS3099 commited on
Commit
7cfa0d3
1 Parent(s): 3c18dca

Training completed!

Browse files
README.md ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model: gpt2
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ - f1
9
+ model-index:
10
+ - name: gpt2-finetuned-stationary-update
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # gpt2-finetuned-stationary-update
18
+
19
+ This model is a fine-tuned version of [gpt2](https://huggingface.co/gpt2) on the None dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 0.6156
22
+ - Accuracy: 0.7067
23
+ - F1: 0.6780
24
+
25
+ ## Model description
26
+
27
+ More information needed
28
+
29
+ ## Intended uses & limitations
30
+
31
+ More information needed
32
+
33
+ ## Training and evaluation data
34
+
35
+ More information needed
36
+
37
+ ## Training procedure
38
+
39
+ ### Training hyperparameters
40
+
41
+ The following hyperparameters were used during training:
42
+ - learning_rate: 2e-05
43
+ - train_batch_size: 64
44
+ - eval_batch_size: 64
45
+ - seed: 42
46
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
47
+ - lr_scheduler_type: linear
48
+ - num_epochs: 10
49
+
50
+ ### Training results
51
+
52
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
53
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
54
+ | 0.6691 | 1.0 | 38 | 0.6355 | 0.6667 | 0.5333 |
55
+ | 0.6204 | 2.0 | 76 | 0.6287 | 0.69 | 0.6342 |
56
+ | 0.5971 | 3.0 | 114 | 0.6185 | 0.6867 | 0.6287 |
57
+ | 0.5875 | 4.0 | 152 | 0.6268 | 0.68 | 0.5831 |
58
+ | 0.5494 | 5.0 | 190 | 0.6000 | 0.6967 | 0.6420 |
59
+ | 0.5272 | 6.0 | 228 | 0.6156 | 0.69 | 0.6180 |
60
+ | 0.5026 | 7.0 | 266 | 0.6364 | 0.6833 | 0.6201 |
61
+ | 0.4789 | 8.0 | 304 | 0.6179 | 0.71 | 0.6703 |
62
+ | 0.4742 | 9.0 | 342 | 0.6198 | 0.7033 | 0.6693 |
63
+ | 0.4528 | 10.0 | 380 | 0.6156 | 0.7067 | 0.6780 |
64
+
65
+
66
+ ### Framework versions
67
+
68
+ - Transformers 4.35.2
69
+ - Pytorch 2.1.0+cu118
70
+ - Datasets 2.15.0
71
+ - Tokenizers 0.15.0
added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "[PAD]": 50257
3
+ }
config.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "gpt2",
3
+ "activation_function": "gelu_new",
4
+ "architectures": [
5
+ "GPT2ForSequenceClassification"
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
+ "pad_token_id": 50257,
21
+ "problem_type": "single_label_classification",
22
+ "reorder_and_upcast_attn": false,
23
+ "resid_pdrop": 0.1,
24
+ "scale_attn_by_inverse_layer_idx": false,
25
+ "scale_attn_weights": true,
26
+ "summary_activation": null,
27
+ "summary_first_dropout": 0.1,
28
+ "summary_proj_to_labels": true,
29
+ "summary_type": "cls_index",
30
+ "summary_use_proj": true,
31
+ "task_specific_params": {
32
+ "text-generation": {
33
+ "do_sample": true,
34
+ "max_length": 50
35
+ }
36
+ },
37
+ "torch_dtype": "float32",
38
+ "transformers_version": "4.35.2",
39
+ "use_cache": true,
40
+ "vocab_size": 50257
41
+ }
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:fca6b2afa97ad5bb97c4b6a94d09e37c52bd8abf0133b06e826178ed1868b266
3
+ size 497780432
runs/Dec13_13-24-28_2da5916a0ce0/events.out.tfevents.1702473873.2da5916a0ce0.344.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9f46e3ef9151029a7b5360f58bd9879adff69aaa88316e72232345523546b479
3
+ size 4493
runs/Dec13_13-24-28_2da5916a0ce0/events.out.tfevents.1702473888.2da5916a0ce0.344.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:28ff8f71426a09c3de2640afc24fc850a631e254b7326a0700345b73c73fc39c
3
+ size 4493
runs/Dec13_13-26-26_2da5916a0ce0/events.out.tfevents.1702473989.2da5916a0ce0.344.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:896944d39a104ace9bc3f35f9a26c81f4b194e3a78b726d75f6f368eb40b6dd2
3
+ size 4493
runs/Dec13_13-27-30_2da5916a0ce0/events.out.tfevents.1702474053.2da5916a0ce0.344.3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:db11312d979dd51a44661ace9a6112bc0d10e902e83969fbd93dc9dc7bd61987
3
+ size 10102
special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": {
17
+ "content": "[PAD]",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "<|endoftext|>",
25
+ "lstrip": false,
26
+ "normalized": true,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ }
30
+ }
tokenizer_config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "50257": {
14
+ "content": "[PAD]",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ }
21
+ },
22
+ "bos_token": "<|endoftext|>",
23
+ "clean_up_tokenization_spaces": true,
24
+ "eos_token": "<|endoftext|>",
25
+ "errors": "replace",
26
+ "model_max_length": 1024,
27
+ "pad_token": "[PAD]",
28
+ "tokenizer_class": "GPT2Tokenizer",
29
+ "unk_token": "<|endoftext|>"
30
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:750e75fda9a497468a0aeb8703e805992c590aaf0a5e6486e70827435c08003c
3
+ size 4600
vocab.json ADDED
The diff for this file is too large to render. See raw diff