craa commited on
Commit
be33166
·
verified ·
1 Parent(s): 896b0e3

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_6910
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.39686979717370413
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_6910
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.2710
32
+ - Accuracy: 0.3969
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: 6910
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 | Validation Loss | Accuracy |
66
+ |:-------------:|:-------:|:-----:|:---------------:|:--------:|
67
+ | 21.4198 | 0.5391 | 1000 | 4.2180 | 0.2974 |
68
+ | 19.135 | 1.0782 | 2000 | 3.7959 | 0.3386 |
69
+ | 18.3835 | 1.6173 | 3000 | 3.6398 | 0.3533 |
70
+ | 17.6178 | 2.1563 | 4000 | 3.5501 | 0.3623 |
71
+ | 17.4994 | 2.6954 | 5000 | 3.4885 | 0.3689 |
72
+ | 16.9783 | 3.2345 | 6000 | 3.4492 | 0.3732 |
73
+ | 16.9938 | 3.7736 | 7000 | 3.4134 | 0.3765 |
74
+ | 16.5676 | 4.3127 | 8000 | 3.3927 | 0.3794 |
75
+ | 16.623 | 4.8518 | 9000 | 3.3670 | 0.3820 |
76
+ | 16.268 | 5.3908 | 10000 | 3.3580 | 0.3835 |
77
+ | 16.3595 | 5.9299 | 11000 | 3.3376 | 0.3858 |
78
+ | 16.0848 | 6.4690 | 12000 | 3.3341 | 0.3867 |
79
+ | 15.9683 | 7.0081 | 13000 | 3.3240 | 0.3878 |
80
+ | 15.9139 | 7.5472 | 14000 | 3.3172 | 0.3890 |
81
+ | 15.5172 | 8.0863 | 15000 | 3.3149 | 0.3893 |
82
+ | 15.7165 | 8.6253 | 16000 | 3.3008 | 0.3906 |
83
+ | 15.4386 | 9.1644 | 17000 | 3.3030 | 0.3910 |
84
+ | 15.6082 | 9.7035 | 18000 | 3.2893 | 0.3922 |
85
+ | 15.3025 | 10.2426 | 19000 | 3.2937 | 0.3925 |
86
+ | 15.4821 | 10.7817 | 20000 | 3.2815 | 0.3933 |
87
+ | 15.1951 | 11.3208 | 21000 | 3.2858 | 0.3935 |
88
+ | 15.3396 | 11.8598 | 22000 | 3.2750 | 0.3947 |
89
+ | 15.155 | 12.3989 | 23000 | 3.2803 | 0.3945 |
90
+ | 15.2463 | 12.9380 | 24000 | 3.2670 | 0.3956 |
91
+ | 15.0772 | 13.4771 | 25000 | 3.2737 | 0.3955 |
92
+ | 14.8798 | 14.0162 | 26000 | 3.2740 | 0.3958 |
93
+ | 14.9491 | 14.5553 | 27000 | 3.2703 | 0.3961 |
94
+ | 14.7585 | 15.0943 | 28000 | 3.2742 | 0.3963 |
95
+ | 14.8196 | 15.6334 | 29000 | 3.2677 | 0.3969 |
96
+ | 14.6783 | 16.1725 | 30000 | 3.2710 | 0.3969 |
97
+ | 14.7716 | 16.7116 | 31000 | 3.2666 | 0.3974 |
98
+ | 14.6427 | 17.2507 | 32000 | 3.2697 | 0.3972 |
99
+ | 14.6409 | 17.7898 | 33000 | 3.2631 | 0.3980 |
100
+ | 14.5329 | 18.3288 | 34000 | 3.2663 | 0.3980 |
101
+ | 14.5702 | 18.8679 | 35000 | 3.2617 | 0.3984 |
102
+ | 14.4615 | 19.4070 | 36000 | 3.2644 | 0.3984 |
103
+ | 14.4647 | 19.9461 | 37000 | 3.2621 | 0.3985 |
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.39686979717370413,
4
+ "eval_loss": 3.2710256576538086,
5
+ "eval_runtime": 180.4566,
6
+ "eval_samples": 18012,
7
+ "eval_samples_per_second": 99.813,
8
+ "eval_steps_per_second": 6.24,
9
+ "perplexity": 26.33833961399547,
10
+ "total_flos": 1.55087795257344e+18,
11
+ "train_loss": 16.0859583358559,
12
+ "train_runtime": 127733.4325,
13
+ "train_samples": 296771,
14
+ "train_samples_per_second": 46.467,
15
+ "train_steps_per_second": 0.29
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.39686979717370413,
4
+ "eval_loss": 3.2710256576538086,
5
+ "eval_runtime": 180.4566,
6
+ "eval_samples": 18012,
7
+ "eval_samples_per_second": 99.813,
8
+ "eval_steps_per_second": 6.24,
9
+ "perplexity": 26.33833961399547
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:3fccc9d15f81a3d2550f3189e5101a64358903254e2b9013215aafa4bbfef0fd
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": 16.0859583358559,
5
+ "train_runtime": 127733.4325,
6
+ "train_samples": 296771,
7
+ "train_samples_per_second": 46.467,
8
+ "train_steps_per_second": 0.29
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:dfe144d512ffe8a80f31c3c4898102180c338015ceb78579bf68b3086243e742
3
+ size 5304