Upload folder using huggingface_hub
Browse files- config.json +59 -0
- generation_config.json +8 -0
- merges.txt +0 -0
- optimizer.pt +3 -0
- pytorch_model.bin +3 -0
- rng_state.pth +3 -0
- scaler.pt +3 -0
- scheduler.pt +3 -0
- special_tokens_map.json +51 -0
- tokenizer.json +0 -0
- tokenizer_config.json +64 -0
- trainer_state.json +114 -0
- training_args.bin +3 -0
- vocab.json +0 -0
config.json
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/home/administrator/Desktop/ok/longformer_samsum_finetuned_2/checkpoint-500",
|
3 |
+
"activation_dropout": 0.0,
|
4 |
+
"activation_function": "gelu",
|
5 |
+
"architectures": [
|
6 |
+
"LEDForConditionalGeneration"
|
7 |
+
],
|
8 |
+
"attention_dropout": 0.0,
|
9 |
+
"attention_window": [
|
10 |
+
1024,
|
11 |
+
1024,
|
12 |
+
1024,
|
13 |
+
1024,
|
14 |
+
1024,
|
15 |
+
1024
|
16 |
+
],
|
17 |
+
"bos_token_id": 0,
|
18 |
+
"classif_dropout": 0.0,
|
19 |
+
"classifier_dropout": 0.0,
|
20 |
+
"d_model": 768,
|
21 |
+
"decoder_attention_heads": 12,
|
22 |
+
"decoder_ffn_dim": 3072,
|
23 |
+
"decoder_layerdrop": 0.0,
|
24 |
+
"decoder_layers": 6,
|
25 |
+
"decoder_start_token_id": 2,
|
26 |
+
"dropout": 0.1,
|
27 |
+
"early_stopping": true,
|
28 |
+
"encoder_attention_heads": 12,
|
29 |
+
"encoder_ffn_dim": 3072,
|
30 |
+
"encoder_layerdrop": 0.0,
|
31 |
+
"encoder_layers": 6,
|
32 |
+
"eos_token_id": 2,
|
33 |
+
"id2label": {
|
34 |
+
"0": "LABEL_0",
|
35 |
+
"1": "LABEL_1",
|
36 |
+
"2": "LABEL_2"
|
37 |
+
},
|
38 |
+
"init_std": 0.02,
|
39 |
+
"is_encoder_decoder": true,
|
40 |
+
"label2id": {
|
41 |
+
"LABEL_0": 0,
|
42 |
+
"LABEL_1": 1,
|
43 |
+
"LABEL_2": 2
|
44 |
+
},
|
45 |
+
"length_penalty": 2.0,
|
46 |
+
"max_decoder_position_embeddings": 1024,
|
47 |
+
"max_encoder_position_embeddings": 16384,
|
48 |
+
"max_length": 1024,
|
49 |
+
"min_length": 100,
|
50 |
+
"model_type": "led",
|
51 |
+
"no_repeat_ngram_size": 3,
|
52 |
+
"num_beams": 2,
|
53 |
+
"num_hidden_layers": 6,
|
54 |
+
"pad_token_id": 1,
|
55 |
+
"torch_dtype": "float32",
|
56 |
+
"transformers_version": "4.28.1",
|
57 |
+
"use_cache": false,
|
58 |
+
"vocab_size": 50265
|
59 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 0,
|
4 |
+
"decoder_start_token_id": 2,
|
5 |
+
"eos_token_id": 2,
|
6 |
+
"pad_token_id": 1,
|
7 |
+
"transformers_version": "4.28.1"
|
8 |
+
}
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:30a91eb8c3f9ac24b175aaa00dba798e5ddde6f9fcb2b62484cadaec42df5ac1
|
3 |
+
size 1294929093
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:06a4a60f369f8d3f87a9fc0e1d2fb6e623634535017c1b9a7c2a2aca1dcd9269
|
3 |
+
size 647680813
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8f361fa170bf2792fbf333010579441581d7dbfc62959abf780784542c844c94
|
3 |
+
size 14575
|
scaler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d1e6f026d9ebc9fb96f5a2dfff631838a77732df31ff67f35f225c89aab64365
|
3 |
+
size 557
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:30d6d0a2b1c477f98baeea1e0b63b2d20f0fa66cf761e14452e66ce787a4422b
|
3 |
+
size 627
|
special_tokens_map.json
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<s>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": true,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"cls_token": {
|
10 |
+
"content": "<s>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": true,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"eos_token": {
|
17 |
+
"content": "</s>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": true,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"mask_token": {
|
24 |
+
"content": "<mask>",
|
25 |
+
"lstrip": true,
|
26 |
+
"normalized": true,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
},
|
30 |
+
"pad_token": {
|
31 |
+
"content": "<pad>",
|
32 |
+
"lstrip": false,
|
33 |
+
"normalized": true,
|
34 |
+
"rstrip": false,
|
35 |
+
"single_word": false
|
36 |
+
},
|
37 |
+
"sep_token": {
|
38 |
+
"content": "</s>",
|
39 |
+
"lstrip": false,
|
40 |
+
"normalized": true,
|
41 |
+
"rstrip": false,
|
42 |
+
"single_word": false
|
43 |
+
},
|
44 |
+
"unk_token": {
|
45 |
+
"content": "<unk>",
|
46 |
+
"lstrip": false,
|
47 |
+
"normalized": true,
|
48 |
+
"rstrip": false,
|
49 |
+
"single_word": false
|
50 |
+
}
|
51 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": false,
|
3 |
+
"bos_token": {
|
4 |
+
"__type": "AddedToken",
|
5 |
+
"content": "<s>",
|
6 |
+
"lstrip": false,
|
7 |
+
"normalized": true,
|
8 |
+
"rstrip": false,
|
9 |
+
"single_word": false
|
10 |
+
},
|
11 |
+
"clean_up_tokenization_spaces": true,
|
12 |
+
"cls_token": {
|
13 |
+
"__type": "AddedToken",
|
14 |
+
"content": "<s>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": true,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false
|
19 |
+
},
|
20 |
+
"eos_token": {
|
21 |
+
"__type": "AddedToken",
|
22 |
+
"content": "</s>",
|
23 |
+
"lstrip": false,
|
24 |
+
"normalized": true,
|
25 |
+
"rstrip": false,
|
26 |
+
"single_word": false
|
27 |
+
},
|
28 |
+
"errors": "replace",
|
29 |
+
"mask_token": {
|
30 |
+
"__type": "AddedToken",
|
31 |
+
"content": "<mask>",
|
32 |
+
"lstrip": true,
|
33 |
+
"normalized": true,
|
34 |
+
"rstrip": false,
|
35 |
+
"single_word": false
|
36 |
+
},
|
37 |
+
"model_max_length": 16384,
|
38 |
+
"pad_token": {
|
39 |
+
"__type": "AddedToken",
|
40 |
+
"content": "<pad>",
|
41 |
+
"lstrip": false,
|
42 |
+
"normalized": true,
|
43 |
+
"rstrip": false,
|
44 |
+
"single_word": false
|
45 |
+
},
|
46 |
+
"sep_token": {
|
47 |
+
"__type": "AddedToken",
|
48 |
+
"content": "</s>",
|
49 |
+
"lstrip": false,
|
50 |
+
"normalized": true,
|
51 |
+
"rstrip": false,
|
52 |
+
"single_word": false
|
53 |
+
},
|
54 |
+
"tokenizer_class": "LEDTokenizer",
|
55 |
+
"trim_offsets": true,
|
56 |
+
"unk_token": {
|
57 |
+
"__type": "AddedToken",
|
58 |
+
"content": "<unk>",
|
59 |
+
"lstrip": false,
|
60 |
+
"normalized": true,
|
61 |
+
"rstrip": false,
|
62 |
+
"single_word": false
|
63 |
+
}
|
64 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,114 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 0.977464023893565,
|
5 |
+
"global_step": 3600,
|
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.14,
|
12 |
+
"learning_rate": 4.325278305729025e-05,
|
13 |
+
"loss": 0.5728,
|
14 |
+
"step": 500
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"epoch": 0.14,
|
18 |
+
"eval_loss": 1.762572169303894,
|
19 |
+
"eval_runtime": 157.3465,
|
20 |
+
"eval_samples_per_second": 5.199,
|
21 |
+
"eval_steps_per_second": 5.199,
|
22 |
+
"step": 500
|
23 |
+
},
|
24 |
+
{
|
25 |
+
"epoch": 0.27,
|
26 |
+
"learning_rate": 3.6464838446918274e-05,
|
27 |
+
"loss": 1.1434,
|
28 |
+
"step": 1000
|
29 |
+
},
|
30 |
+
{
|
31 |
+
"epoch": 0.27,
|
32 |
+
"eval_loss": 1.572243571281433,
|
33 |
+
"eval_runtime": 167.1313,
|
34 |
+
"eval_samples_per_second": 4.894,
|
35 |
+
"eval_steps_per_second": 4.894,
|
36 |
+
"step": 1000
|
37 |
+
},
|
38 |
+
{
|
39 |
+
"epoch": 0.41,
|
40 |
+
"learning_rate": 2.969046972576704e-05,
|
41 |
+
"loss": 1.1231,
|
42 |
+
"step": 1500
|
43 |
+
},
|
44 |
+
{
|
45 |
+
"epoch": 0.41,
|
46 |
+
"eval_loss": 1.5563775300979614,
|
47 |
+
"eval_runtime": 168.524,
|
48 |
+
"eval_samples_per_second": 4.854,
|
49 |
+
"eval_steps_per_second": 4.854,
|
50 |
+
"step": 1500
|
51 |
+
},
|
52 |
+
{
|
53 |
+
"epoch": 0.54,
|
54 |
+
"learning_rate": 2.290252511539506e-05,
|
55 |
+
"loss": 1.0814,
|
56 |
+
"step": 2000
|
57 |
+
},
|
58 |
+
{
|
59 |
+
"epoch": 0.54,
|
60 |
+
"eval_loss": 1.530091643333435,
|
61 |
+
"eval_runtime": 160.6191,
|
62 |
+
"eval_samples_per_second": 5.093,
|
63 |
+
"eval_steps_per_second": 5.093,
|
64 |
+
"step": 2000
|
65 |
+
},
|
66 |
+
{
|
67 |
+
"epoch": 0.68,
|
68 |
+
"learning_rate": 1.611458050502308e-05,
|
69 |
+
"loss": 1.0611,
|
70 |
+
"step": 2500
|
71 |
+
},
|
72 |
+
{
|
73 |
+
"epoch": 0.68,
|
74 |
+
"eval_loss": 1.4997280836105347,
|
75 |
+
"eval_runtime": 164.048,
|
76 |
+
"eval_samples_per_second": 4.986,
|
77 |
+
"eval_steps_per_second": 4.986,
|
78 |
+
"step": 2500
|
79 |
+
},
|
80 |
+
{
|
81 |
+
"epoch": 0.81,
|
82 |
+
"learning_rate": 9.3266358946511e-06,
|
83 |
+
"loss": 1.0328,
|
84 |
+
"step": 3000
|
85 |
+
},
|
86 |
+
{
|
87 |
+
"epoch": 0.81,
|
88 |
+
"eval_loss": 1.4869426488876343,
|
89 |
+
"eval_runtime": 169.4258,
|
90 |
+
"eval_samples_per_second": 4.828,
|
91 |
+
"eval_steps_per_second": 4.828,
|
92 |
+
"step": 3000
|
93 |
+
},
|
94 |
+
{
|
95 |
+
"epoch": 0.95,
|
96 |
+
"learning_rate": 2.5386912842791203e-06,
|
97 |
+
"loss": 1.0173,
|
98 |
+
"step": 3500
|
99 |
+
},
|
100 |
+
{
|
101 |
+
"epoch": 0.95,
|
102 |
+
"eval_loss": 1.4691505432128906,
|
103 |
+
"eval_runtime": 155.7447,
|
104 |
+
"eval_samples_per_second": 5.252,
|
105 |
+
"eval_steps_per_second": 5.252,
|
106 |
+
"step": 3500
|
107 |
+
}
|
108 |
+
],
|
109 |
+
"max_steps": 3683,
|
110 |
+
"num_train_epochs": 1,
|
111 |
+
"total_flos": 7.77658992427008e+16,
|
112 |
+
"trial_name": null,
|
113 |
+
"trial_params": null
|
114 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fe251f1cb2bead961827f60a73a1e2ed9f64515792243f759985804dce8c85c9
|
3 |
+
size 3771
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|