abhilash1910 commited on
Commit
fb4a2b7
1 Parent(s): 3cc3eb6

Initial commit

Browse files
Files changed (5) hide show
  1. config.json +101 -0
  2. special_tokens_map.json +1 -0
  3. spiece.model +3 -0
  4. tf_model.h5 +3 -0
  5. tokenizer_config.json +1 -0
config.json ADDED
@@ -0,0 +1,101 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/pegasus-xsum",
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_dilation": [
11
+ 1,
12
+ 1,
13
+ 1,
14
+ 1,
15
+ 1,
16
+ 1,
17
+ 1,
18
+ 1,
19
+ 1,
20
+ 1,
21
+ 1,
22
+ 1,
23
+ 1,
24
+ 1,
25
+ 1,
26
+ 1
27
+ ],
28
+ "attention_dropout": 0.1,
29
+ "attention_mode": "sliding_chunks",
30
+ "attention_probs_dropout_prob": 0.1,
31
+ "attention_window": [
32
+ 4096,
33
+ 4096,
34
+ 4096,
35
+ 4096,
36
+ 4096,
37
+ 4096,
38
+ 4096,
39
+ 4096,
40
+ 4096,
41
+ 4096,
42
+ 4096,
43
+ 4096,
44
+ 4096,
45
+ 4096,
46
+ 4096,
47
+ 4096
48
+ ],
49
+ "autoregressive": false,
50
+ "bos_token_id": 0,
51
+ "classif_dropout": 0.0,
52
+ "classifier_dropout": 0.0,
53
+ "d_model": 1024,
54
+ "decoder_attention_heads": 16,
55
+ "decoder_ffn_dim": 4096,
56
+ "decoder_layerdrop": 0.0,
57
+ "decoder_layers": 16,
58
+ "decoder_start_token_id": 0,
59
+ "do_blenderbot_90_layernorm": false,
60
+ "dropout": 0.1,
61
+ "encoder_attention_heads": 16,
62
+ "encoder_ffn_dim": 4096,
63
+ "encoder_layerdrop": 0.0,
64
+ "encoder_layers": 16,
65
+ "eos_token_id": 1,
66
+ "extra_pos_embeddings": 1,
67
+ "force_bos_token_to_be_generated": false,
68
+ "forced_eos_token_id": 1,
69
+ "gradient_checkpointing": false,
70
+ "hidden_dropout_prob": 1e-05,
71
+ "id2label": {
72
+ "0": "LABEL_0",
73
+ "1": "LABEL_1",
74
+ "2": "LABEL_2"
75
+ },
76
+ "init_std": 0.02,
77
+ "initializer_range": null,
78
+ "is_encoder_decoder": true,
79
+ "label2id": {
80
+ "LABEL_0": 0,
81
+ "LABEL_1": 1,
82
+ "LABEL_2": 2
83
+ },
84
+ "layer_norm_eps": 1e-05,
85
+ "length_penalty": 0.6,
86
+ "max_decoder_position_embeddings": 512,
87
+ "max_encoder_position_embeddings": 4096,
88
+ "max_length": 64,
89
+ "max_position_embeddings": 512,
90
+ "model_type": "pegasus",
91
+ "normalize_before": true,
92
+ "normalize_embedding": false,
93
+ "num_beams": 8,
94
+ "num_hidden_layers": 16,
95
+ "pad_token_id": 0,
96
+ "scale_embedding": true,
97
+ "static_position_embeddings": true,
98
+ "transformers_version": "4.10.0.dev0",
99
+ "use_cache": true,
100
+ "vocab_size": 96103
101
+ }
special_tokens_map.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"eos_token": "</s>", "unk_token": "<unk>", "pad_token": "<pad>", "mask_token": "<mask_2>", "additional_special_tokens": ["<mask_1>", "<unk_2>", "<unk_3>", "<unk_4>", "<unk_5>", "<unk_6>", "<unk_7>", "<unk_8>", "<unk_9>", "<unk_10>", "<unk_11>", "<unk_12>", "<unk_13>", "<unk_14>", "<unk_15>", "<unk_16>", "<unk_17>", "<unk_18>", "<unk_19>", "<unk_20>", "<unk_21>", "<unk_22>", "<unk_23>", "<unk_24>", "<unk_25>", "<unk_26>", "<unk_27>", "<unk_28>", "<unk_29>", "<unk_30>", "<unk_31>", "<unk_32>", "<unk_33>", "<unk_34>", "<unk_35>", "<unk_36>", "<unk_37>", "<unk_38>", "<unk_39>", "<unk_40>", "<unk_41>", "<unk_42>", "<unk_43>", "<unk_44>", "<unk_45>", "<unk_46>", "<unk_47>", "<unk_48>", "<unk_49>", "<unk_50>", "<unk_51>", "<unk_52>", "<unk_53>", "<unk_54>", "<unk_55>", "<unk_56>", "<unk_57>", "<unk_58>", "<unk_59>", "<unk_60>", "<unk_61>", "<unk_62>", "<unk_63>", "<unk_64>", "<unk_65>", "<unk_66>", "<unk_67>", "<unk_68>", "<unk_69>", "<unk_70>", "<unk_71>", "<unk_72>", "<unk_73>", "<unk_74>", "<unk_75>", "<unk_76>", "<unk_77>", "<unk_78>", "<unk_79>", "<unk_80>", "<unk_81>", "<unk_82>", "<unk_83>", "<unk_84>", "<unk_85>", "<unk_86>", "<unk_87>", "<unk_88>", "<unk_89>", "<unk_90>", "<unk_91>", "<unk_92>", "<unk_93>", "<unk_94>", "<unk_95>", "<unk_96>", "<unk_97>", "<unk_98>", "<unk_99>", "<unk_100>", "<unk_101>", "<unk_102>"]}
spiece.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0015189ef36359283fec8b93cf6d9ce51bca37eb1101defc68a53b394913b96c
3
+ size 1912529
tf_model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4fbc1e7027e27c335a406d3d098937feef297a942584d7162ec5356e738c6cd3
3
+ size 2025547336
tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"eos_token": "</s>", "unk_token": "<unk>", "mask_token": "<mask_2>", "pad_token": "<pad>", "mask_token_sent": "<mask_1>", "offset": 103, "additional_special_tokens": ["<mask_1>", "<unk_2>", "<unk_3>", "<unk_4>", "<unk_5>", "<unk_6>", "<unk_7>", "<unk_8>", "<unk_9>", "<unk_10>", "<unk_11>", "<unk_12>", "<unk_13>", "<unk_14>", "<unk_15>", "<unk_16>", "<unk_17>", "<unk_18>", "<unk_19>", "<unk_20>", "<unk_21>", "<unk_22>", "<unk_23>", "<unk_24>", "<unk_25>", "<unk_26>", "<unk_27>", "<unk_28>", "<unk_29>", "<unk_30>", "<unk_31>", "<unk_32>", "<unk_33>", "<unk_34>", "<unk_35>", "<unk_36>", "<unk_37>", "<unk_38>", "<unk_39>", "<unk_40>", "<unk_41>", "<unk_42>", "<unk_43>", "<unk_44>", "<unk_45>", "<unk_46>", "<unk_47>", "<unk_48>", "<unk_49>", "<unk_50>", "<unk_51>", "<unk_52>", "<unk_53>", "<unk_54>", "<unk_55>", "<unk_56>", "<unk_57>", "<unk_58>", "<unk_59>", "<unk_60>", "<unk_61>", "<unk_62>", "<unk_63>", "<unk_64>", "<unk_65>", "<unk_66>", "<unk_67>", "<unk_68>", "<unk_69>", "<unk_70>", "<unk_71>", "<unk_72>", "<unk_73>", "<unk_74>", "<unk_75>", "<unk_76>", "<unk_77>", "<unk_78>", "<unk_79>", "<unk_80>", "<unk_81>", "<unk_82>", "<unk_83>", "<unk_84>", "<unk_85>", "<unk_86>", "<unk_87>", "<unk_88>", "<unk_89>", "<unk_90>", "<unk_91>", "<unk_92>", "<unk_93>", "<unk_94>", "<unk_95>", "<unk_96>", "<unk_97>", "<unk_98>", "<unk_99>", "<unk_100>", "<unk_101>", "<unk_102>"], "sp_model_kwargs": {}, "model_max_length": 4096, "name_or_path": "human-centered-summarization/financial-summarization-pegasus", "special_tokens_map_file": "C:\\Users\\Abhilash/.cache\\huggingface\\transformers\\19f3a97409ee2d98525ec084fe1ed631de79aa5e710906d39091f72c6f97d0ba.d6a458395976c3c3174927747aca890171a59df352e292371bf46aa0bdd6615d", "tokenizer_file": null, "tokenizer_class": "PegasusTokenizer"}