ordlibrary commited on
Commit
1912ad0
·
verified ·
1 Parent(s): 07539b9

Add files using upload-large-folder tool

Browse files
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.48.1",
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.48.1"
6
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8835811a329cdeb5e32f9818994ef317e142eccee0f2c9fc23e03787e1f214db
3
+ size 497774208
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4e8094076d42fde15f8629500bb62e2c235e0173631985e595dc4009e8973232
3
+ size 995638202
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3142eb9ef29f39c1056feaba012d70697a15cdef061694ac7929853189d9ee94
3
+ size 13990
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a7990d8cf387ee75c28002e43c4cb3ec4f5f9431ec50428fad779e5d7de1da94
3
+ size 1064
trainer_state.json ADDED
@@ -0,0 +1,124 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 3.0,
5
+ "eval_steps": 500,
6
+ "global_step": 6729,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.22291573785109228,
13
+ "grad_norm": 1.3647773265838623,
14
+ "learning_rate": 5e-05,
15
+ "loss": 0.7791,
16
+ "step": 500
17
+ },
18
+ {
19
+ "epoch": 0.44583147570218457,
20
+ "grad_norm": 0.9170280694961548,
21
+ "learning_rate": 4.598651468935624e-05,
22
+ "loss": 0.1977,
23
+ "step": 1000
24
+ },
25
+ {
26
+ "epoch": 0.6687472135532768,
27
+ "grad_norm": 0.8765759468078613,
28
+ "learning_rate": 4.1973029378712475e-05,
29
+ "loss": 0.1697,
30
+ "step": 1500
31
+ },
32
+ {
33
+ "epoch": 0.8916629514043691,
34
+ "grad_norm": 0.6906009912490845,
35
+ "learning_rate": 3.7959544068068715e-05,
36
+ "loss": 0.1548,
37
+ "step": 2000
38
+ },
39
+ {
40
+ "epoch": 1.1145786892554614,
41
+ "grad_norm": 0.9499293565750122,
42
+ "learning_rate": 3.394605875742495e-05,
43
+ "loss": 0.1323,
44
+ "step": 2500
45
+ },
46
+ {
47
+ "epoch": 1.3374944271065536,
48
+ "grad_norm": 0.822642982006073,
49
+ "learning_rate": 2.9932573446781187e-05,
50
+ "loss": 0.1174,
51
+ "step": 3000
52
+ },
53
+ {
54
+ "epoch": 1.560410164957646,
55
+ "grad_norm": 0.757134735584259,
56
+ "learning_rate": 2.591908813613742e-05,
57
+ "loss": 0.1101,
58
+ "step": 3500
59
+ },
60
+ {
61
+ "epoch": 1.7833259028087383,
62
+ "grad_norm": 0.6683522462844849,
63
+ "learning_rate": 2.190560282549366e-05,
64
+ "loss": 0.1051,
65
+ "step": 4000
66
+ },
67
+ {
68
+ "epoch": 2.0062416406598307,
69
+ "grad_norm": 0.7783832550048828,
70
+ "learning_rate": 1.7892117514849896e-05,
71
+ "loss": 0.1017,
72
+ "step": 4500
73
+ },
74
+ {
75
+ "epoch": 2.229157378510923,
76
+ "grad_norm": 0.6604039669036865,
77
+ "learning_rate": 1.3878632204206132e-05,
78
+ "loss": 0.0858,
79
+ "step": 5000
80
+ },
81
+ {
82
+ "epoch": 2.452073116362015,
83
+ "grad_norm": 0.7059195637702942,
84
+ "learning_rate": 9.86514689356237e-06,
85
+ "loss": 0.0835,
86
+ "step": 5500
87
+ },
88
+ {
89
+ "epoch": 2.6749888542131073,
90
+ "grad_norm": 0.6601874232292175,
91
+ "learning_rate": 5.851661582918607e-06,
92
+ "loss": 0.0824,
93
+ "step": 6000
94
+ },
95
+ {
96
+ "epoch": 2.8979045920642,
97
+ "grad_norm": 0.6698402762413025,
98
+ "learning_rate": 1.8381762722748435e-06,
99
+ "loss": 0.0816,
100
+ "step": 6500
101
+ }
102
+ ],
103
+ "logging_steps": 500,
104
+ "max_steps": 6729,
105
+ "num_input_tokens_seen": 0,
106
+ "num_train_epochs": 3,
107
+ "save_steps": 10000,
108
+ "stateful_callbacks": {
109
+ "TrainerControl": {
110
+ "args": {
111
+ "should_epoch_stop": false,
112
+ "should_evaluate": false,
113
+ "should_log": false,
114
+ "should_save": true,
115
+ "should_training_stop": true
116
+ },
117
+ "attributes": {}
118
+ }
119
+ },
120
+ "total_flos": 7031368581120000.0,
121
+ "train_batch_size": 4,
122
+ "trial_name": null,
123
+ "trial_params": null
124
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1a401f7020de415b1953e572673fe741cdcef28de582b496d9b2915560705d09
3
+ size 5240