zpdeaccount
commited on
Commit
•
a7a8edc
1
Parent(s):
2c4b033
Upload 13 files
Browse files- config.json +70 -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 +1 -0
- tokenizer.json +0 -0
- tokenizer_config.json +1 -0
- trainer_state.json +118 -0
- training_args.bin +3 -0
- vocab.json +0 -0
config.json
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "facebook/bart-large-cnn",
|
3 |
+
"_num_labels": 3,
|
4 |
+
"activation_dropout": 0.0,
|
5 |
+
"activation_function": "gelu",
|
6 |
+
"add_final_layer_norm": false,
|
7 |
+
"architectures": [
|
8 |
+
"BartForConditionalGeneration"
|
9 |
+
],
|
10 |
+
"attention_dropout": 0.0,
|
11 |
+
"bos_token_id": 0,
|
12 |
+
"classif_dropout": 0.0,
|
13 |
+
"classifier_dropout": 0.0,
|
14 |
+
"d_model": 1024,
|
15 |
+
"decoder_attention_heads": 16,
|
16 |
+
"decoder_ffn_dim": 4096,
|
17 |
+
"decoder_layerdrop": 0.0,
|
18 |
+
"decoder_layers": 12,
|
19 |
+
"decoder_start_token_id": 2,
|
20 |
+
"dropout": 0.1,
|
21 |
+
"early_stopping": true,
|
22 |
+
"encoder_attention_heads": 16,
|
23 |
+
"encoder_ffn_dim": 4096,
|
24 |
+
"encoder_layerdrop": 0.0,
|
25 |
+
"encoder_layers": 12,
|
26 |
+
"eos_token_id": 2,
|
27 |
+
"force_bos_token_to_be_generated": true,
|
28 |
+
"forced_bos_token_id": 0,
|
29 |
+
"forced_eos_token_id": 2,
|
30 |
+
"gradient_checkpointing": false,
|
31 |
+
"id2label": {
|
32 |
+
"0": "LABEL_0",
|
33 |
+
"1": "LABEL_1",
|
34 |
+
"2": "LABEL_2"
|
35 |
+
},
|
36 |
+
"init_std": 0.02,
|
37 |
+
"is_encoder_decoder": true,
|
38 |
+
"label2id": {
|
39 |
+
"LABEL_0": 0,
|
40 |
+
"LABEL_1": 1,
|
41 |
+
"LABEL_2": 2
|
42 |
+
},
|
43 |
+
"length_penalty": 2.0,
|
44 |
+
"max_length": 142,
|
45 |
+
"max_position_embeddings": 1024,
|
46 |
+
"min_length": 56,
|
47 |
+
"model_type": "bart",
|
48 |
+
"no_repeat_ngram_size": 3,
|
49 |
+
"normalize_before": false,
|
50 |
+
"num_beams": 4,
|
51 |
+
"num_hidden_layers": 12,
|
52 |
+
"output_past": true,
|
53 |
+
"pad_token_id": 1,
|
54 |
+
"prefix": " ",
|
55 |
+
"scale_embedding": false,
|
56 |
+
"task_specific_params": {
|
57 |
+
"summarization": {
|
58 |
+
"early_stopping": true,
|
59 |
+
"length_penalty": 2.0,
|
60 |
+
"max_length": 142,
|
61 |
+
"min_length": 56,
|
62 |
+
"no_repeat_ngram_size": 3,
|
63 |
+
"num_beams": 4
|
64 |
+
}
|
65 |
+
},
|
66 |
+
"torch_dtype": "float32",
|
67 |
+
"transformers_version": "4.19.0",
|
68 |
+
"use_cache": true,
|
69 |
+
"vocab_size": 50264
|
70 |
+
}
|
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:94e3750677140c4f3f559f956327969501d58096c84a7fb367a8b054d5f3e0b1
|
3 |
+
size 3250623963
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b7480d096c6ce4caa865180e6bc6b8fd0bc97847f6c125999a56e1456583f424
|
3 |
+
size 1625537293
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5af76b41e20d211a2584a1a2f80184de8f82f273de6d649ee84894b7ec544a6a
|
3 |
+
size 14575
|
scaler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b3f655f559386263d0563b0cabb405d87db61f0bacbec331e3dac6e78944084e
|
3 |
+
size 557
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8d1ae5b8fd20a37f22de64369788a21010fc135d8a4efe8d8c6e435cbf51ac1a
|
3 |
+
size 627
|
special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"bos_token": "<s>", "eos_token": "</s>", "unk_token": "<unk>", "sep_token": "</s>", "pad_token": "<pad>", "cls_token": "<s>", "mask_token": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": false}}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"errors": "replace", "bos_token": "<s>", "eos_token": "</s>", "sep_token": "</s>", "cls_token": "<s>", "unk_token": "<unk>", "pad_token": "<pad>", "mask_token": "<mask>", "add_prefix_space": false, "trim_offsets": true, "model_max_length": 1024, "special_tokens_map_file": null, "name_or_path": "facebook/bart-large-cnn", "tokenizer_class": "BartTokenizer"}
|
trainer_state.json
ADDED
@@ -0,0 +1,118 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 6.527415143603133,
|
5 |
+
"global_step": 2500,
|
6 |
+
"is_hyper_param_search": false,
|
7 |
+
"is_local_process_zero": true,
|
8 |
+
"is_world_process_zero": true,
|
9 |
+
"log_history": [
|
10 |
+
{
|
11 |
+
"epoch": 1.0,
|
12 |
+
"eval_gen_len": 94.0526,
|
13 |
+
"eval_loss": 0.7492660284042358,
|
14 |
+
"eval_rouge-1": 53.4952,
|
15 |
+
"eval_rouge-2": 36.0108,
|
16 |
+
"eval_rouge-l": 50.182,
|
17 |
+
"eval_runtime": 234.7689,
|
18 |
+
"eval_samples_per_second": 0.405,
|
19 |
+
"eval_steps_per_second": 0.204,
|
20 |
+
"step": 383
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"epoch": 1.31,
|
24 |
+
"learning_rate": 1.6292428198433423e-05,
|
25 |
+
"loss": 0.678,
|
26 |
+
"step": 500
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"epoch": 2.0,
|
30 |
+
"eval_gen_len": 84.5579,
|
31 |
+
"eval_loss": 0.7632046341896057,
|
32 |
+
"eval_rouge-1": 55.1066,
|
33 |
+
"eval_rouge-2": 37.3528,
|
34 |
+
"eval_rouge-l": 51.2075,
|
35 |
+
"eval_runtime": 126.1849,
|
36 |
+
"eval_samples_per_second": 0.753,
|
37 |
+
"eval_steps_per_second": 0.38,
|
38 |
+
"step": 766
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"epoch": 2.61,
|
42 |
+
"learning_rate": 1.256247668780306e-05,
|
43 |
+
"loss": 0.3715,
|
44 |
+
"step": 1000
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 3.0,
|
48 |
+
"eval_gen_len": 91.2632,
|
49 |
+
"eval_loss": 0.8486695885658264,
|
50 |
+
"eval_rouge-1": 54.3003,
|
51 |
+
"eval_rouge-2": 36.1799,
|
52 |
+
"eval_rouge-l": 50.6709,
|
53 |
+
"eval_runtime": 132.7271,
|
54 |
+
"eval_samples_per_second": 0.716,
|
55 |
+
"eval_steps_per_second": 0.362,
|
56 |
+
"step": 1149
|
57 |
+
},
|
58 |
+
{
|
59 |
+
"epoch": 3.92,
|
60 |
+
"learning_rate": 8.839985080193958e-06,
|
61 |
+
"loss": 0.217,
|
62 |
+
"step": 1500
|
63 |
+
},
|
64 |
+
{
|
65 |
+
"epoch": 4.0,
|
66 |
+
"eval_gen_len": 89.6211,
|
67 |
+
"eval_loss": 0.9863687753677368,
|
68 |
+
"eval_rouge-1": 54.1436,
|
69 |
+
"eval_rouge-2": 35.8237,
|
70 |
+
"eval_rouge-l": 50.1118,
|
71 |
+
"eval_runtime": 132.6394,
|
72 |
+
"eval_samples_per_second": 0.716,
|
73 |
+
"eval_steps_per_second": 0.362,
|
74 |
+
"step": 1532
|
75 |
+
},
|
76 |
+
{
|
77 |
+
"epoch": 5.0,
|
78 |
+
"eval_gen_len": 85.8947,
|
79 |
+
"eval_loss": 1.104886770248413,
|
80 |
+
"eval_rouge-1": 55.0895,
|
81 |
+
"eval_rouge-2": 36.1364,
|
82 |
+
"eval_rouge-l": 51.2227,
|
83 |
+
"eval_runtime": 127.3071,
|
84 |
+
"eval_samples_per_second": 0.746,
|
85 |
+
"eval_steps_per_second": 0.377,
|
86 |
+
"step": 1915
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 5.22,
|
90 |
+
"learning_rate": 5.110033569563596e-06,
|
91 |
+
"loss": 0.1121,
|
92 |
+
"step": 2000
|
93 |
+
},
|
94 |
+
{
|
95 |
+
"epoch": 6.0,
|
96 |
+
"eval_gen_len": 84.5474,
|
97 |
+
"eval_loss": 1.2047064304351807,
|
98 |
+
"eval_rouge-1": 54.1134,
|
99 |
+
"eval_rouge-2": 35.4271,
|
100 |
+
"eval_rouge-l": 50.1432,
|
101 |
+
"eval_runtime": 128.8352,
|
102 |
+
"eval_samples_per_second": 0.737,
|
103 |
+
"eval_steps_per_second": 0.373,
|
104 |
+
"step": 2298
|
105 |
+
},
|
106 |
+
{
|
107 |
+
"epoch": 6.53,
|
108 |
+
"learning_rate": 1.3800820589332339e-06,
|
109 |
+
"loss": 0.0628,
|
110 |
+
"step": 2500
|
111 |
+
}
|
112 |
+
],
|
113 |
+
"max_steps": 2681,
|
114 |
+
"num_train_epochs": 7,
|
115 |
+
"total_flos": 5084996667949056.0,
|
116 |
+
"trial_name": null,
|
117 |
+
"trial_params": null
|
118 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5f2d19613717697f4fc879b6137a1abc84bec2274ae2b6d568168af530bbe387
|
3 |
+
size 3323
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|