cuba6112 commited on
Commit
8d33e7c
1 Parent(s): 4efc56c

Upload 8 files

Browse files
config.json CHANGED
@@ -1,39 +1,39 @@
1
- {
2
- "_name_or_path": "cuba6112/orion",
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.41.2",
37
- "use_cache": true,
38
- "vocab_size": 50257
39
- }
 
1
+ {
2
+ "_name_or_path": "cuba6112/orion",
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.42.3",
37
+ "use_cache": false,
38
+ "vocab_size": 50257
39
+ }
generation_config.json CHANGED
@@ -1,6 +1,6 @@
1
- {
2
- "_from_model_config": true,
3
- "bos_token_id": 50256,
4
- "eos_token_id": 50256,
5
- "transformers_version": "4.41.2"
6
- }
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 50256,
4
+ "eos_token_id": 50256,
5
+ "transformers_version": "4.42.3"
6
+ }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3cf3dd926baddf275f3dee77a0ade1195e86a7048d07a82a5c810ac2eb21b57e
3
  size 497774208
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6f1b4b49904bd699ce93e72f5b945fb13676567e97edd23aa44f2192d37a9128
3
  size 497774208
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ee568c18000b7f7e4d68a3b949530c06f3f87b5ad9e13ab866fcd923d5498a51
3
+ size 995641861
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4889454ecb083d29ee0f0aef373df0a03de5640b2e6e0c3f3cec90171b704454
3
+ size 14575
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6a0ec98e2a6c718c9639ab63b74b63911306853723b3ecc13f83d842f99d6f23
3
+ size 627
trainer_state.json ADDED
@@ -0,0 +1,113 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 8.097002084978036e-05,
3
+ "best_model_checkpoint": "./orion-finetuned-squad\\checkpoint-500",
4
+ "epoch": 1.6,
5
+ "eval_steps": 500,
6
+ "global_step": 500,
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.16,
13
+ "grad_norm": 13.155216217041016,
14
+ "learning_rate": 1.0000000000000002e-06,
15
+ "loss": 7.6002,
16
+ "step": 50
17
+ },
18
+ {
19
+ "epoch": 0.32,
20
+ "grad_norm": 9.965179443359375,
21
+ "learning_rate": 2.0000000000000003e-06,
22
+ "loss": 6.7941,
23
+ "step": 100
24
+ },
25
+ {
26
+ "epoch": 0.48,
27
+ "grad_norm": 5.015015125274658,
28
+ "learning_rate": 3e-06,
29
+ "loss": 5.5048,
30
+ "step": 150
31
+ },
32
+ {
33
+ "epoch": 0.64,
34
+ "grad_norm": 2.8797528743743896,
35
+ "learning_rate": 4.000000000000001e-06,
36
+ "loss": 4.688,
37
+ "step": 200
38
+ },
39
+ {
40
+ "epoch": 0.8,
41
+ "grad_norm": 2.3939545154571533,
42
+ "learning_rate": 5e-06,
43
+ "loss": 4.2605,
44
+ "step": 250
45
+ },
46
+ {
47
+ "epoch": 0.96,
48
+ "grad_norm": 1.693825364112854,
49
+ "learning_rate": 6e-06,
50
+ "loss": 4.0418,
51
+ "step": 300
52
+ },
53
+ {
54
+ "epoch": 1.12,
55
+ "grad_norm": 1.439347267150879,
56
+ "learning_rate": 7e-06,
57
+ "loss": 3.9253,
58
+ "step": 350
59
+ },
60
+ {
61
+ "epoch": 1.28,
62
+ "grad_norm": 1.3246393203735352,
63
+ "learning_rate": 8.000000000000001e-06,
64
+ "loss": 3.8597,
65
+ "step": 400
66
+ },
67
+ {
68
+ "epoch": 1.44,
69
+ "grad_norm": 1.3454995155334473,
70
+ "learning_rate": 9e-06,
71
+ "loss": 3.813,
72
+ "step": 450
73
+ },
74
+ {
75
+ "epoch": 1.6,
76
+ "grad_norm": 1.3214969635009766,
77
+ "learning_rate": 1e-05,
78
+ "loss": 3.774,
79
+ "step": 500
80
+ },
81
+ {
82
+ "epoch": 1.6,
83
+ "eval_accuracy": 8.097002084978036e-05,
84
+ "eval_loss": 3.5968761444091797,
85
+ "eval_perplexity": 28132.972634939182,
86
+ "eval_runtime": 4090.3007,
87
+ "eval_samples_per_second": 0.098,
88
+ "eval_steps_per_second": 0.098,
89
+ "step": 500
90
+ }
91
+ ],
92
+ "logging_steps": 50,
93
+ "max_steps": 936,
94
+ "num_input_tokens_seen": 0,
95
+ "num_train_epochs": 3,
96
+ "save_steps": 500,
97
+ "stateful_callbacks": {
98
+ "TrainerControl": {
99
+ "args": {
100
+ "should_epoch_stop": false,
101
+ "should_evaluate": false,
102
+ "should_log": false,
103
+ "should_save": true,
104
+ "should_training_stop": false
105
+ },
106
+ "attributes": {}
107
+ }
108
+ },
109
+ "total_flos": 1045168128000000.0,
110
+ "train_batch_size": 1,
111
+ "trial_name": null,
112
+ "trial_params": null
113
+ }
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:563bdb3ca14c85894d15e5f828e1a663ca673eee2aa2e1700daed3a3dcb4e694
3
- size 5112
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6aaf4b8795de1182633f1339fcbb834c703fa75f0e49c23ac67d8e1e719bbe6b
3
+ size 4603