config.json
1.2 KB · 54 lines · json Raw
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_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 "do_blenderbot_90_layernorm": false,
20 "dropout": 0.1,
21 "encoder_attention_heads": 16,
22 "encoder_ffn_dim": 4096,
23 "encoder_layerdrop": 0.0,
24 "encoder_layers": 16,
25 "eos_token_id": 1,
26 "extra_pos_embeddings": 1,
27 "force_bos_token_to_be_generated": false,
28 "id2label": {
29 "0": "LABEL_0",
30 "1": "LABEL_1",
31 "2": "LABEL_2"
32 },
33 "init_std": 0.02,
34 "is_encoder_decoder": true,
35 "label2id": {
36 "LABEL_0": 0,
37 "LABEL_1": 1,
38 "LABEL_2": 2
39 },
40 "length_penalty": 0.6,
41 "max_length": 64,
42 "max_position_embeddings": 512,
43 "model_type": "pegasus",
44 "normalize_before": true,
45 "normalize_embedding": false,
46 "num_beams": 8,
47 "num_hidden_layers": 16,
48 "pad_token_id": 0,
49 "scale_embedding": true,
50 "static_position_embeddings": true,
51 "use_cache": true,
52 "vocab_size": 96103
53 }
54