Oskar Holmström
commited on
Commit
•
6bd31c3
1
Parent(s):
7d4d62a
First model version
Browse files- config.json +36 -0
- generation_config.json +8 -0
- optimizer.pt +3 -0
- pytorch_model.bin +3 -0
- rng_state.pth +3 -0
- scheduler.pt +3 -0
- trainer_state.json +88 -0
- training_args.bin +3 -0
config.json
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "./models/GPT-SW3/gpt-sw3-1.3b",
|
3 |
+
"activation_function": "gelu",
|
4 |
+
"apply_query_key_layer_scaling": true,
|
5 |
+
"architectures": [
|
6 |
+
"GPT2LMHeadModel"
|
7 |
+
],
|
8 |
+
"attn_pdrop": 0.1,
|
9 |
+
"bos_token_id": 2,
|
10 |
+
"embd_pdrop": 0.1,
|
11 |
+
"eos_token_id": 3,
|
12 |
+
"initializer_range": 0.01,
|
13 |
+
"layer_norm_epsilon": 1e-05,
|
14 |
+
"model_type": "gpt2",
|
15 |
+
"n_embd": 2048,
|
16 |
+
"n_head": 32,
|
17 |
+
"n_inner": 8192,
|
18 |
+
"n_layer": 24,
|
19 |
+
"n_positions": 2048,
|
20 |
+
"normalize_attention_scores": true,
|
21 |
+
"pad_token_id": 0,
|
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 |
+
"tokenizer_class": "GPTSw3Tokenizer",
|
32 |
+
"torch_dtype": "float32",
|
33 |
+
"transformers_version": "4.26.0",
|
34 |
+
"use_cache": false,
|
35 |
+
"vocab_size": 64000
|
36 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 2,
|
4 |
+
"eos_token_id": 3,
|
5 |
+
"pad_token_id": 0,
|
6 |
+
"transformers_version": "4.26.0",
|
7 |
+
"use_cache": false
|
8 |
+
}
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9617a598fbd7667c7a78bc15b14405c64980a82ccb8dc20aca71fc6d6779c83a
|
3 |
+
size 10751127593
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2982c7a7bf826d1b995437b2655e39498e3d1c4ed17125dbc9f0fa63a2bb6d96
|
3 |
+
size 5476248649
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c672af696938b9291cd36150807e52ff020a1679f83b21f7760163efdd7e1bf5
|
3 |
+
size 14503
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cc95b508acc43782ce53498e0ad90507a699c09b1452ef7ccf2e247b7d5df105
|
3 |
+
size 623
|
trainer_state.json
ADDED
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 2.8036913731674553,
|
5 |
+
"global_step": 6000,
|
6 |
+
"is_hyper_param_search": false,
|
7 |
+
"is_local_process_zero": true,
|
8 |
+
"is_world_process_zero": true,
|
9 |
+
"log_history": [
|
10 |
+
{
|
11 |
+
"epoch": 0.23,
|
12 |
+
"learning_rate": 7.78816199376947e-06,
|
13 |
+
"loss": 2.8614,
|
14 |
+
"step": 500
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"epoch": 0.47,
|
18 |
+
"learning_rate": 1.557632398753894e-05,
|
19 |
+
"loss": 0.7943,
|
20 |
+
"step": 1000
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"epoch": 0.7,
|
24 |
+
"learning_rate": 1.9626168224299065e-05,
|
25 |
+
"loss": 0.7679,
|
26 |
+
"step": 1500
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"epoch": 0.93,
|
30 |
+
"learning_rate": 1.8760816891658016e-05,
|
31 |
+
"loss": 0.7359,
|
32 |
+
"step": 2000
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"epoch": 1.17,
|
36 |
+
"learning_rate": 1.7895465559016964e-05,
|
37 |
+
"loss": 0.6255,
|
38 |
+
"step": 2500
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"epoch": 1.4,
|
42 |
+
"learning_rate": 1.7030114226375908e-05,
|
43 |
+
"loss": 0.5942,
|
44 |
+
"step": 3000
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 1.64,
|
48 |
+
"learning_rate": 1.616476289373486e-05,
|
49 |
+
"loss": 0.5809,
|
50 |
+
"step": 3500
|
51 |
+
},
|
52 |
+
{
|
53 |
+
"epoch": 1.87,
|
54 |
+
"learning_rate": 1.5299411561093806e-05,
|
55 |
+
"loss": 0.5899,
|
56 |
+
"step": 4000
|
57 |
+
},
|
58 |
+
{
|
59 |
+
"epoch": 2.1,
|
60 |
+
"learning_rate": 1.4434060228452753e-05,
|
61 |
+
"loss": 0.5161,
|
62 |
+
"step": 4500
|
63 |
+
},
|
64 |
+
{
|
65 |
+
"epoch": 2.34,
|
66 |
+
"learning_rate": 1.3568708895811699e-05,
|
67 |
+
"loss": 0.4241,
|
68 |
+
"step": 5000
|
69 |
+
},
|
70 |
+
{
|
71 |
+
"epoch": 2.57,
|
72 |
+
"learning_rate": 1.2703357563170648e-05,
|
73 |
+
"loss": 0.4283,
|
74 |
+
"step": 5500
|
75 |
+
},
|
76 |
+
{
|
77 |
+
"epoch": 2.8,
|
78 |
+
"learning_rate": 1.1838006230529595e-05,
|
79 |
+
"loss": 0.4283,
|
80 |
+
"step": 6000
|
81 |
+
}
|
82 |
+
],
|
83 |
+
"max_steps": 12840,
|
84 |
+
"num_train_epochs": 6,
|
85 |
+
"total_flos": 2.2763010362425344e+17,
|
86 |
+
"trial_name": null,
|
87 |
+
"trial_params": null
|
88 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:033505512da25435e71045d85690dbf30497f6bc018b3d5c14f46680b0ff68b0
|
3 |
+
size 3503
|