craa commited on
Commit
ea5bd16
·
verified ·
1 Parent(s): fb1351b

Training in progress, step 10000

Browse files
README.md ADDED
@@ -0,0 +1,111 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ tags:
4
+ - generated_from_trainer
5
+ datasets:
6
+ - craa/100M
7
+ metrics:
8
+ - accuracy
9
+ model-index:
10
+ - name: 100M_8397
11
+ results:
12
+ - task:
13
+ name: Causal Language Modeling
14
+ type: text-generation
15
+ dataset:
16
+ name: craa/100M
17
+ type: craa/100M
18
+ metrics:
19
+ - name: Accuracy
20
+ type: accuracy
21
+ value: 0.39711088454620164
22
+ ---
23
+
24
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
25
+ should probably proofread and complete it, then remove this comment. -->
26
+
27
+ # 100M_8397
28
+
29
+ This model is a fine-tuned version of [](https://huggingface.co/) on the craa/100M dataset.
30
+ It achieves the following results on the evaluation set:
31
+ - Loss: 3.2698
32
+ - Accuracy: 0.3971
33
+
34
+ ## Model description
35
+
36
+ More information needed
37
+
38
+ ## Intended uses & limitations
39
+
40
+ More information needed
41
+
42
+ ## Training and evaluation data
43
+
44
+ More information needed
45
+
46
+ ## Training procedure
47
+
48
+ ### Training hyperparameters
49
+
50
+ The following hyperparameters were used during training:
51
+ - learning_rate: 0.0006
52
+ - train_batch_size: 32
53
+ - eval_batch_size: 16
54
+ - seed: 8397
55
+ - gradient_accumulation_steps: 5
56
+ - total_train_batch_size: 160
57
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.98) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
58
+ - lr_scheduler_type: linear
59
+ - lr_scheduler_warmup_steps: 100
60
+ - num_epochs: 20.0
61
+ - mixed_precision_training: Native AMP
62
+
63
+ ### Training results
64
+
65
+ | Training Loss | Epoch | Step | Accuracy | Validation Loss |
66
+ |:-------------:|:-------:|:-----:|:--------:|:---------------:|
67
+ | 21.3858 | 0.5391 | 1000 | 0.3000 | 4.1883 |
68
+ | 19.0764 | 1.0782 | 2000 | 0.3387 | 3.7939 |
69
+ | 18.4093 | 1.6173 | 3000 | 0.3536 | 3.6363 |
70
+ | 17.6272 | 2.1563 | 4000 | 0.3624 | 3.5476 |
71
+ | 17.4682 | 2.6954 | 5000 | 0.3687 | 3.4876 |
72
+ | 16.9702 | 3.2345 | 6000 | 0.3729 | 3.4503 |
73
+ | 16.9854 | 3.7736 | 7000 | 0.3767 | 3.4158 |
74
+ | 16.6055 | 4.3127 | 8000 | 0.3792 | 3.3926 |
75
+ | 16.5975 | 4.8518 | 9000 | 0.3819 | 3.3694 |
76
+ | 16.2438 | 5.3908 | 10000 | 0.3834 | 3.3585 |
77
+ | 16.3082 | 5.9299 | 11000 | 3.3380 | 0.3854 |
78
+ | 16.0444 | 6.4690 | 12000 | 3.3349 | 0.3863 |
79
+ | 15.9733 | 7.0081 | 13000 | 3.3216 | 0.3876 |
80
+ | 15.8821 | 7.5472 | 14000 | 3.3151 | 0.3887 |
81
+ | 15.5282 | 8.0863 | 15000 | 3.3097 | 0.3900 |
82
+ | 15.7186 | 8.6253 | 16000 | 3.2999 | 0.3909 |
83
+ | 15.4334 | 9.1644 | 17000 | 3.3002 | 0.3910 |
84
+ | 15.6017 | 9.7035 | 18000 | 3.2890 | 0.3923 |
85
+ | 15.3661 | 10.2426 | 19000 | 3.2917 | 0.3925 |
86
+ | 15.4528 | 10.7817 | 20000 | 3.2816 | 0.3936 |
87
+ | 15.2093 | 11.3208 | 21000 | 3.2851 | 0.3936 |
88
+ | 15.3565 | 11.8598 | 22000 | 3.2755 | 0.3947 |
89
+ | 15.1753 | 12.3989 | 23000 | 3.2789 | 0.3949 |
90
+ | 15.2719 | 12.9380 | 24000 | 3.2695 | 0.3954 |
91
+ | 15.0743 | 13.4771 | 25000 | 3.2756 | 0.3956 |
92
+ | 14.9025 | 14.0162 | 26000 | 3.2737 | 0.3958 |
93
+ | 14.8969 | 14.5553 | 27000 | 3.2681 | 0.3964 |
94
+ | 14.7568 | 15.0943 | 28000 | 3.2735 | 0.3963 |
95
+ | 14.8698 | 15.6334 | 29000 | 3.2674 | 0.3968 |
96
+ | 14.6981 | 16.1725 | 30000 | 3.2698 | 0.3971 |
97
+ | 14.7843 | 16.7116 | 31000 | 3.2641 | 0.3975 |
98
+ | 14.6185 | 17.2507 | 32000 | 3.2667 | 0.3976 |
99
+ | 14.6404 | 17.7898 | 33000 | 3.2624 | 0.3981 |
100
+ | 14.5449 | 18.3288 | 34000 | 3.2648 | 0.3981 |
101
+ | 14.5924 | 18.8679 | 35000 | 3.2608 | 0.3984 |
102
+ | 14.4439 | 19.4070 | 36000 | 3.2623 | 0.3985 |
103
+ | 14.484 | 19.9461 | 37000 | 3.2608 | 0.3987 |
104
+
105
+
106
+ ### Framework versions
107
+
108
+ - Transformers 4.47.0.dev0
109
+ - Pytorch 2.5.0+cu124
110
+ - Datasets 3.0.2
111
+ - Tokenizers 0.20.1
all_results.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 20.0,
3
+ "eval_accuracy": 0.39711088454620164,
4
+ "eval_loss": 3.2697906494140625,
5
+ "eval_runtime": 181.9633,
6
+ "eval_samples": 18012,
7
+ "eval_samples_per_second": 98.987,
8
+ "eval_steps_per_second": 6.188,
9
+ "perplexity": 26.305831625499668,
10
+ "total_flos": 1.55087795257344e+18,
11
+ "train_loss": 11.102719344887129,
12
+ "train_runtime": 93781.9567,
13
+ "train_samples": 296771,
14
+ "train_samples_per_second": 63.29,
15
+ "train_steps_per_second": 0.396
16
+ }
config.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation_function": "gelu_new",
3
+ "architectures": [
4
+ "GPT2LMHeadModel"
5
+ ],
6
+ "attn_pdrop": 0.1,
7
+ "bos_token_id": 50256,
8
+ "embd_pdrop": 0.1,
9
+ "eos_token_id": 50256,
10
+ "initializer_range": 0.02,
11
+ "layer_norm_epsilon": 1e-05,
12
+ "model_type": "gpt2",
13
+ "n_embd": 768,
14
+ "n_head": 12,
15
+ "n_inner": null,
16
+ "n_layer": 12,
17
+ "n_positions": 1024,
18
+ "reorder_and_upcast_attn": false,
19
+ "resid_pdrop": 0.1,
20
+ "scale_attn_by_inverse_layer_idx": false,
21
+ "scale_attn_weights": true,
22
+ "summary_activation": null,
23
+ "summary_first_dropout": 0.1,
24
+ "summary_proj_to_labels": true,
25
+ "summary_type": "cls_index",
26
+ "summary_use_proj": true,
27
+ "torch_dtype": "float32",
28
+ "transformers_version": "4.47.0.dev0",
29
+ "use_cache": true,
30
+ "vocab_size": 52000
31
+ }
eval_results.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 20.0,
3
+ "eval_accuracy": 0.39711088454620164,
4
+ "eval_loss": 3.2697906494140625,
5
+ "eval_runtime": 181.9633,
6
+ "eval_samples": 18012,
7
+ "eval_samples_per_second": 98.987,
8
+ "eval_steps_per_second": 6.188,
9
+ "perplexity": 26.305831625499668
10
+ }
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.47.0.dev0"
6
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6ec302ecd369b52dd09d862f2670f9b9bb168926d0e86791c661a9e174fb7d29
3
+ size 503128704
special_tokens_map.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {}
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
The diff for this file is too large to render. See raw diff
 
train_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 20.0,
3
+ "total_flos": 1.55087795257344e+18,
4
+ "train_loss": 11.102719344887129,
5
+ "train_runtime": 93781.9567,
6
+ "train_samples": 296771,
7
+ "train_samples_per_second": 63.29,
8
+ "train_steps_per_second": 0.396
9
+ }
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:de806f958cda4fd28e35b926e99af957f1556e2a4665381fb905a2ed66ce40ee
3
+ size 5304