ptsv commited on
Commit
9037d27
·
verified ·
1 Parent(s): 9908f57

ptsv/gpt2-m_tinystories_upsampled_tom

Browse files
README.md ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: mit
4
+ base_model: openai-community/gpt2-medium
5
+ tags:
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: tinystories_upsampled_tom
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ [<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/ptsvil/tom-training/runs/t2roxoo7)
16
+ # tinystories_upsampled_tom
17
+
18
+ This model is a fine-tuned version of [openai-community/gpt2-medium](https://huggingface.co/openai-community/gpt2-medium) on an unknown dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 1.6461
21
+
22
+ ## Model description
23
+
24
+ More information needed
25
+
26
+ ## Intended uses & limitations
27
+
28
+ More information needed
29
+
30
+ ## Training and evaluation data
31
+
32
+ More information needed
33
+
34
+ ## Training procedure
35
+
36
+ ### Training hyperparameters
37
+
38
+ The following hyperparameters were used during training:
39
+ - learning_rate: 0.0001
40
+ - train_batch_size: 32
41
+ - eval_batch_size: 8
42
+ - seed: 42
43
+ - gradient_accumulation_steps: 8
44
+ - total_train_batch_size: 256
45
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
46
+ - lr_scheduler_type: linear
47
+ - lr_scheduler_warmup_steps: 1
48
+ - num_epochs: 3
49
+ - mixed_precision_training: Native AMP
50
+
51
+ ### Training results
52
+
53
+ | Training Loss | Epoch | Step | Validation Loss |
54
+ |:-------------:|:------:|:-----:|:---------------:|
55
+ | 1.8989 | 0.1051 | 400 | 1.8900 |
56
+ | 1.8563 | 0.2102 | 800 | 1.8378 |
57
+ | 1.8476 | 0.3153 | 1200 | 1.7993 |
58
+ | 1.8063 | 0.4204 | 1600 | 1.7859 |
59
+ | 1.7846 | 0.5255 | 2000 | 1.7627 |
60
+ | 1.7625 | 0.6306 | 2400 | 1.7536 |
61
+ | 1.7617 | 0.7357 | 2800 | 1.7368 |
62
+ | 1.7527 | 0.8408 | 3200 | 1.7257 |
63
+ | 1.7714 | 0.9459 | 3600 | 1.7172 |
64
+ | 1.6993 | 1.0510 | 4000 | 1.7162 |
65
+ | 1.6844 | 1.1561 | 4400 | 1.7071 |
66
+ | 1.6898 | 1.2612 | 4800 | 1.7007 |
67
+ | 1.6678 | 1.3663 | 5200 | 1.6925 |
68
+ | 1.7036 | 1.4714 | 5600 | 1.6887 |
69
+ | 1.6849 | 1.5765 | 6000 | 1.6817 |
70
+ | 1.6781 | 1.6816 | 6400 | 1.6764 |
71
+ | 1.6228 | 1.7867 | 6800 | 1.6712 |
72
+ | 1.6467 | 1.8918 | 7200 | 1.6679 |
73
+ | 1.6672 | 1.9969 | 7600 | 1.6619 |
74
+ | 1.6092 | 2.1020 | 8000 | 1.6652 |
75
+ | 1.6181 | 2.2071 | 8400 | 1.6615 |
76
+ | 1.6183 | 2.3122 | 8800 | 1.6566 |
77
+ | 1.6101 | 2.4173 | 9200 | 1.6573 |
78
+ | 1.6009 | 2.5224 | 9600 | 1.6515 |
79
+ | 1.6002 | 2.6275 | 10000 | 1.6520 |
80
+ | 1.6387 | 2.7326 | 10400 | 1.6497 |
81
+ | 1.6401 | 2.8377 | 10800 | 1.6477 |
82
+ | 1.6186 | 2.9428 | 11200 | 1.6466 |
83
+
84
+
85
+ ### Framework versions
86
+
87
+ - Transformers 4.44.1
88
+ - Pytorch 2.2.2
89
+ - Datasets 2.18.0
90
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "openai-community/gpt2-medium",
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": 1024,
16
+ "n_head": 16,
17
+ "n_inner": null,
18
+ "n_layer": 24,
19
+ "n_positions": 1024,
20
+ "n_special": 0,
21
+ "predict_special_tokens": true,
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.44.1",
39
+ "use_cache": true,
40
+ "vocab_size": 50257
41
+ }
ep1_upsampled.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5c0855659a1a72ee2365a25644cb7b6d2a2befd9ebd1a0e006ad22ce421a0b44
3
+ size 1942661742
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.44.1"
6
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ecfd075885635d6eff2c06f5b4980d6381e4a79686d34a00d50c669d59cf8618
3
+ size 1419322880
trainer_state.json ADDED
The diff for this file is too large to render. See raw diff
 
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:da8c89229ce8f727bebe47f319e8bdf92643a3e7474ce19057857af275747ad5
3
+ size 5240