Slicky325 commited on
Commit
86fdd6c
·
verified ·
1 Parent(s): c0dbcea

Upload 7 files

Browse files
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.45.1",
39
+ "use_cache": true,
40
+ "vocab_size": 50257
41
+ }
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.45.1"
6
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f49b72650baed2b0e490245b868bf093951b3ddf8ca854118a48e3b0defa088a
3
+ size 1419322880
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b17840ef03aa5e552019edb8165fecb5ee41361a92a6b61584dc8b874fca2549
3
+ size 14244
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c420c2e30632d3d5b2cf394d4bae8e0683375320176e551b9da61949cbbd697f
3
+ size 1064
trainer_state.json ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0.4258641493363617,
5
+ "eval_steps": 500,
6
+ "global_step": 6000,
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.10646603733409042,
13
+ "grad_norm": 0.3511381149291992,
14
+ "learning_rate": 4.81935110918419e-05,
15
+ "loss": 0.365,
16
+ "step": 1500
17
+ },
18
+ {
19
+ "epoch": 0.21293207466818084,
20
+ "grad_norm": 0.31686341762542725,
21
+ "learning_rate": 4.548377772960474e-05,
22
+ "loss": 0.1136,
23
+ "step": 3000
24
+ },
25
+ {
26
+ "epoch": 0.31939811200227125,
27
+ "grad_norm": 0.3509831726551056,
28
+ "learning_rate": 4.277404436736759e-05,
29
+ "loss": 0.1087,
30
+ "step": 4500
31
+ },
32
+ {
33
+ "epoch": 0.4258641493363617,
34
+ "grad_norm": 0.3466353118419647,
35
+ "learning_rate": 4.006431100513043e-05,
36
+ "loss": 0.1044,
37
+ "step": 6000
38
+ }
39
+ ],
40
+ "logging_steps": 1500,
41
+ "max_steps": 28178,
42
+ "num_input_tokens_seen": 0,
43
+ "num_train_epochs": 2,
44
+ "save_steps": 1500,
45
+ "stateful_callbacks": {
46
+ "TrainerControl": {
47
+ "args": {
48
+ "should_epoch_stop": false,
49
+ "should_evaluate": false,
50
+ "should_log": false,
51
+ "should_save": true,
52
+ "should_training_stop": false
53
+ },
54
+ "attributes": {}
55
+ }
56
+ },
57
+ "total_flos": 2.2288816668672e+16,
58
+ "train_batch_size": 4,
59
+ "trial_name": null,
60
+ "trial_params": null
61
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c8cb965b572e952a0b06cdecba8d1e5a72039dd0258bb2eb0966c5def14b9a9e
3
+ size 5176