add base model
Browse files- config.json +127 -0
- pytorch_model.bin +3 -0
- training_args.bin +3 -0
config.json
ADDED
@@ -0,0 +1,127 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/pegasus-large",
|
3 |
+
"activation_dropout": 0.1,
|
4 |
+
"activation_function": "relu",
|
5 |
+
"add_bias_logits": false,
|
6 |
+
"add_final_layer_norm": true,
|
7 |
+
"architectures": [
|
8 |
+
"PegasusForConditionalGeneration"
|
9 |
+
],
|
10 |
+
"attention_dropout": 0.1,
|
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": 16,
|
19 |
+
"decoder_start_token_id": 0,
|
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": 16,
|
26 |
+
"eos_token_id": 1,
|
27 |
+
"extra_pos_embeddings": 1,
|
28 |
+
"force_bos_token_to_be_generated": false,
|
29 |
+
"forced_eos_token_id": 1,
|
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": 3.5,
|
44 |
+
"max_length": 512,
|
45 |
+
"max_position_embeddings": 1024,
|
46 |
+
"min_length": 32,
|
47 |
+
"model_type": "pegasus",
|
48 |
+
"no_repeat_ngram_size": 3,
|
49 |
+
"normalize_before": true,
|
50 |
+
"normalize_embedding": false,
|
51 |
+
"num_beams": 5,
|
52 |
+
"num_hidden_layers": 16,
|
53 |
+
"pad_token_id": 0,
|
54 |
+
"scale_embedding": true,
|
55 |
+
"static_position_embeddings": true,
|
56 |
+
"task_specific_params": {
|
57 |
+
"summarization_aeslc": {
|
58 |
+
"length_penalty": 0.6,
|
59 |
+
"max_length": 32,
|
60 |
+
"max_position_embeddings": 512
|
61 |
+
},
|
62 |
+
"summarization_arxiv": {
|
63 |
+
"length_penalty": 0.8,
|
64 |
+
"max_length": 256,
|
65 |
+
"max_position_embeddings": 1024
|
66 |
+
},
|
67 |
+
"summarization_big_patent": {
|
68 |
+
"length_penalty": 0.7,
|
69 |
+
"max_length": 256,
|
70 |
+
"max_position_embeddings": 1024
|
71 |
+
},
|
72 |
+
"summarization_billsum": {
|
73 |
+
"length_penalty": 0.6,
|
74 |
+
"max_length": 256,
|
75 |
+
"max_position_embeddings": 1024
|
76 |
+
},
|
77 |
+
"summarization_cnn_dailymail": {
|
78 |
+
"length_penalty": 0.8,
|
79 |
+
"max_length": 128,
|
80 |
+
"max_position_embeddings": 1024
|
81 |
+
},
|
82 |
+
"summarization_gigaword": {
|
83 |
+
"length_penalty": 0.6,
|
84 |
+
"max_length": 32,
|
85 |
+
"max_position_embeddings": 128
|
86 |
+
},
|
87 |
+
"summarization_large": {
|
88 |
+
"length_penalty": 0.8,
|
89 |
+
"max_length": 256,
|
90 |
+
"max_position_embeddings": 1024
|
91 |
+
},
|
92 |
+
"summarization_multi_news": {
|
93 |
+
"length_penalty": 0.8,
|
94 |
+
"max_length": 256,
|
95 |
+
"max_position_embeddings": 1024
|
96 |
+
},
|
97 |
+
"summarization_newsroom": {
|
98 |
+
"length_penalty": 0.8,
|
99 |
+
"max_length": 128,
|
100 |
+
"max_position_embeddings": 512
|
101 |
+
},
|
102 |
+
"summarization_pubmed": {
|
103 |
+
"length_penalty": 0.8,
|
104 |
+
"max_length": 256,
|
105 |
+
"max_position_embeddings": 1024
|
106 |
+
},
|
107 |
+
"summarization_reddit_tifu": {
|
108 |
+
"length_penalty": 0.6,
|
109 |
+
"max_length": 128,
|
110 |
+
"max_position_embeddings": 512
|
111 |
+
},
|
112 |
+
"summarization_wikihow": {
|
113 |
+
"length_penalty": 0.6,
|
114 |
+
"max_length": 256,
|
115 |
+
"max_position_embeddings": 512
|
116 |
+
},
|
117 |
+
"summarization_xsum": {
|
118 |
+
"length_penalty": 0.8,
|
119 |
+
"max_length": 64,
|
120 |
+
"max_position_embeddings": 512
|
121 |
+
}
|
122 |
+
},
|
123 |
+
"torch_dtype": "bfloat16",
|
124 |
+
"transformers_version": "4.16.1",
|
125 |
+
"use_cache": false,
|
126 |
+
"vocab_size": 96103
|
127 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:40abb60797351a8e5282b355319b4f30cd2e27d3bf9bfe9842488978b8f960fa
|
3 |
+
size 1141907167
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fd6a71c8db1e8e66f1998455cae0d7703bae2750ae9be49543499b740b6ee4e4
|
3 |
+
size 4207
|