Gerson Fabian Buenahora Ormaza
commited on
Commit
•
609ed28
1
Parent(s):
bdcee43
model upload
Browse files- added_tokens.json +3 -0
- config.json +39 -0
- generation_config.json +6 -0
- merges.txt +0 -0
- model.safetensors +3 -0
- optimizer.pt +3 -0
- rng_state.pth +3 -0
- scheduler.pt +3 -0
- special_tokens_map.json +30 -0
- tokenizer_config.json +30 -0
- trainer_state.json +131 -0
- training_args.bin +3 -0
- vocab.json +0 -0
added_tokens.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"[PAD]": 50257
|
3 |
+
}
|
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.42.3",
|
37 |
+
"use_cache": true,
|
38 |
+
"vocab_size": 50258
|
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.42.3"
|
6 |
+
}
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:501ba19b58853b2a815ef04b51df2976adb43f9809d148183b60c3ac8357466b
|
3 |
+
size 497777280
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4e73bed8ae8164f8e279a894f423babb234097d0cf34dd06ef716718c2703ca1
|
3 |
+
size 995648442
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:11c06975b6a00f94e153f34a2492131eb4b66e7e5b437c86255a2d354e9ef755
|
3 |
+
size 14244
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fd75506ae50bd20b70aa1f0070376537e145ed3847a59044b0dfda35dd4a4538
|
3 |
+
size 1064
|
special_tokens_map.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<|endoftext|>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": true,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"eos_token": {
|
10 |
+
"content": "<|endoftext|>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": true,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": {
|
17 |
+
"content": "[PAD]",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"unk_token": {
|
24 |
+
"content": "<|endoftext|>",
|
25 |
+
"lstrip": false,
|
26 |
+
"normalized": true,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
}
|
30 |
+
}
|
tokenizer_config.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": false,
|
3 |
+
"add_prefix_space": false,
|
4 |
+
"added_tokens_decoder": {
|
5 |
+
"50256": {
|
6 |
+
"content": "<|endoftext|>",
|
7 |
+
"lstrip": false,
|
8 |
+
"normalized": true,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false,
|
11 |
+
"special": true
|
12 |
+
},
|
13 |
+
"50257": {
|
14 |
+
"content": "[PAD]",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": false,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false,
|
19 |
+
"special": true
|
20 |
+
}
|
21 |
+
},
|
22 |
+
"bos_token": "<|endoftext|>",
|
23 |
+
"clean_up_tokenization_spaces": true,
|
24 |
+
"eos_token": "<|endoftext|>",
|
25 |
+
"errors": "replace",
|
26 |
+
"model_max_length": 1024,
|
27 |
+
"pad_token": "[PAD]",
|
28 |
+
"tokenizer_class": "GPT2Tokenizer",
|
29 |
+
"unk_token": "<|endoftext|>"
|
30 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,131 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 3.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 7200,
|
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.20833333333333334,
|
13 |
+
"grad_norm": 2.268265724182129,
|
14 |
+
"learning_rate": 4.652777777777778e-05,
|
15 |
+
"loss": 4.1035,
|
16 |
+
"step": 500
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.4166666666666667,
|
20 |
+
"grad_norm": 2.183037042617798,
|
21 |
+
"learning_rate": 4.305555555555556e-05,
|
22 |
+
"loss": 3.466,
|
23 |
+
"step": 1000
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 0.625,
|
27 |
+
"grad_norm": 1.792080044746399,
|
28 |
+
"learning_rate": 3.958333333333333e-05,
|
29 |
+
"loss": 3.4238,
|
30 |
+
"step": 1500
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 0.8333333333333334,
|
34 |
+
"grad_norm": 1.926161289215088,
|
35 |
+
"learning_rate": 3.611111111111111e-05,
|
36 |
+
"loss": 3.4524,
|
37 |
+
"step": 2000
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 1.0416666666666667,
|
41 |
+
"grad_norm": 1.772346019744873,
|
42 |
+
"learning_rate": 3.263888888888889e-05,
|
43 |
+
"loss": 3.3802,
|
44 |
+
"step": 2500
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 1.25,
|
48 |
+
"grad_norm": 1.6004018783569336,
|
49 |
+
"learning_rate": 2.916666666666667e-05,
|
50 |
+
"loss": 3.291,
|
51 |
+
"step": 3000
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 1.4583333333333333,
|
55 |
+
"grad_norm": 1.678238868713379,
|
56 |
+
"learning_rate": 2.5694444444444445e-05,
|
57 |
+
"loss": 3.2758,
|
58 |
+
"step": 3500
|
59 |
+
},
|
60 |
+
{
|
61 |
+
"epoch": 1.6666666666666665,
|
62 |
+
"grad_norm": 1.821945309638977,
|
63 |
+
"learning_rate": 2.2222222222222223e-05,
|
64 |
+
"loss": 3.2967,
|
65 |
+
"step": 4000
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"epoch": 1.875,
|
69 |
+
"grad_norm": 1.7575188875198364,
|
70 |
+
"learning_rate": 1.8750000000000002e-05,
|
71 |
+
"loss": 3.3131,
|
72 |
+
"step": 4500
|
73 |
+
},
|
74 |
+
{
|
75 |
+
"epoch": 2.0833333333333335,
|
76 |
+
"grad_norm": 1.59396493434906,
|
77 |
+
"learning_rate": 1.527777777777778e-05,
|
78 |
+
"loss": 3.2545,
|
79 |
+
"step": 5000
|
80 |
+
},
|
81 |
+
{
|
82 |
+
"epoch": 2.2916666666666665,
|
83 |
+
"grad_norm": 1.741965889930725,
|
84 |
+
"learning_rate": 1.1805555555555555e-05,
|
85 |
+
"loss": 3.2134,
|
86 |
+
"step": 5500
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 2.5,
|
90 |
+
"grad_norm": 1.6898822784423828,
|
91 |
+
"learning_rate": 8.333333333333334e-06,
|
92 |
+
"loss": 3.2174,
|
93 |
+
"step": 6000
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 2.7083333333333335,
|
97 |
+
"grad_norm": 1.7870033979415894,
|
98 |
+
"learning_rate": 4.861111111111111e-06,
|
99 |
+
"loss": 3.2234,
|
100 |
+
"step": 6500
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"epoch": 2.9166666666666665,
|
104 |
+
"grad_norm": 1.8400541543960571,
|
105 |
+
"learning_rate": 1.388888888888889e-06,
|
106 |
+
"loss": 3.2134,
|
107 |
+
"step": 7000
|
108 |
+
}
|
109 |
+
],
|
110 |
+
"logging_steps": 500,
|
111 |
+
"max_steps": 7200,
|
112 |
+
"num_input_tokens_seen": 0,
|
113 |
+
"num_train_epochs": 3,
|
114 |
+
"save_steps": 10000,
|
115 |
+
"stateful_callbacks": {
|
116 |
+
"TrainerControl": {
|
117 |
+
"args": {
|
118 |
+
"should_epoch_stop": false,
|
119 |
+
"should_evaluate": false,
|
120 |
+
"should_log": false,
|
121 |
+
"should_save": true,
|
122 |
+
"should_training_stop": true
|
123 |
+
},
|
124 |
+
"attributes": {}
|
125 |
+
}
|
126 |
+
},
|
127 |
+
"total_flos": 7525210521600000.0,
|
128 |
+
"train_batch_size": 4,
|
129 |
+
"trial_name": null,
|
130 |
+
"trial_params": null
|
131 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0165f77851900d151c50efa84fc70759dea1bd3f501c83a911527b2ef78f3338
|
3 |
+
size 5112
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|