UNIST-Eunchan
commited on
Commit
•
1eb8d13
1
Parent(s):
7ddbcf4
Upload PegasusXForConditionalGeneration
Browse files- config.json +60 -0
- generation_config.json +12 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "Paper-Summarization-ArXiv",
|
3 |
+
"activation_dropout": 0.1,
|
4 |
+
"activation_function": "relu",
|
5 |
+
"add_bias_logits": false,
|
6 |
+
"add_final_layer_norm": true,
|
7 |
+
"architectures": [
|
8 |
+
"PegasusXForConditionalGeneration"
|
9 |
+
],
|
10 |
+
"attention_dropout": 0.1,
|
11 |
+
"block_size": 512,
|
12 |
+
"bos_token_id": 0,
|
13 |
+
"classif_dropout": 0.0,
|
14 |
+
"classifier_dropout": 0.0,
|
15 |
+
"d_model": 768,
|
16 |
+
"decoder_attention_heads": 12,
|
17 |
+
"decoder_ffn_dim": 3072,
|
18 |
+
"decoder_layerdrop": 0.0,
|
19 |
+
"decoder_layers": 12,
|
20 |
+
"decoder_start_token_id": 0,
|
21 |
+
"dropout": 0.1,
|
22 |
+
"encoder_attention_heads": 12,
|
23 |
+
"encoder_ffn_dim": 3072,
|
24 |
+
"encoder_layerdrop": 0.0,
|
25 |
+
"encoder_layers": 12,
|
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": 0.8,
|
44 |
+
"max_length": 16384,
|
45 |
+
"max_position_embeddings": 16384,
|
46 |
+
"model_type": "pegasus_x",
|
47 |
+
"normalize_before": true,
|
48 |
+
"normalize_embedding": false,
|
49 |
+
"num_beams": 8,
|
50 |
+
"num_global_tokens": 128,
|
51 |
+
"num_hidden_layers": 12,
|
52 |
+
"pad_token_id": 0,
|
53 |
+
"scale_embedding": true,
|
54 |
+
"stagger_local_blocks": true,
|
55 |
+
"static_position_embeddings": true,
|
56 |
+
"torch_dtype": "float32",
|
57 |
+
"transformers_version": "4.32.1",
|
58 |
+
"use_cache": true,
|
59 |
+
"vocab_size": 96103
|
60 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 0,
|
4 |
+
"decoder_start_token_id": 0,
|
5 |
+
"eos_token_id": 1,
|
6 |
+
"forced_eos_token_id": 1,
|
7 |
+
"length_penalty": 0.8,
|
8 |
+
"max_length": 16384,
|
9 |
+
"num_beams": 8,
|
10 |
+
"pad_token_id": 0,
|
11 |
+
"transformers_version": "4.32.1"
|
12 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:774dfbfc00dcef545c9fbdca609e1447085f69748f53a4c9776b420f55fd21e5
|
3 |
+
size 1089296293
|