File size: 2,310 Bytes
25afbfc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
    "output_attentions": false,
    "output_hidden_states": false,
    "use_cache": true,
    "torchscript": false,
    "use_bfloat16": false,
    "pruned_heads": {},
    "is_encoder_decoder": true,
    "is_decoder": false,
    "max_length": 20,
    "min_length": 0,
    "do_sample": false,
    "early_stopping": true,
    "num_beams": 4,
    "temperature": 1.0,
    "top_k": 50,
    "top_p": 1.0,
    "repetition_penalty": 1.0,
    "length_penalty": 1.0,
    "no_repeat_ngram_size": 3,
    "bad_words_ids": null,
    "num_return_sequences": 1,
    "architectures": [
        "BartModel",
        "BartForConditionalGeneration",
        "BartForSequenceClassification"
    ],
    "finetuning_task": null,
    "id2label": {
        "0": "LABEL_0",
        "1": "LABEL_1",
        "2": "LABEL_2"
    },
    "label2id": {
        "LABEL_0": 0,
        "LABEL_1": 1,
        "LABEL_2": 2
    },
    "prefix": null,
    "bos_token_id": 0,
    "pad_token_id": 1,
    "eos_token_id": 2,
    "decoder_start_token_id": 2,
    "task_specific_params": {
        "summarization": {
            "length_penalty": 1.0,
            "max_length": 128,
            "min_length": 12,
            "num_beams": 4
        },
        "summarization_cnn": {
            "length_penalty": 2.0,
            "max_length": 142,
            "min_length": 56,
            "num_beams": 4
        },
        "summarization_xsum": {
            "length_penalty": 1.0,
            "max_length": 62,
            "min_length": 11,
            "num_beams": 6
        }
    },
    "xla_device": null,
    "classif_dropout": 0.0,
    "model_type": "bart",
    "num_hidden_layers": 12,
    "vocab_size": 50269,
    "d_model": 1024,
    "encoder_ffn_dim": 4096,
    "encoder_layers": 12,
    "encoder_attention_heads": 16,
    "encoder_layerdrop": 0.0,
    "decoder_layerdrop": 0.0,
    "decoder_ffn_dim": 4096,
    "decoder_layers": 12,
    "decoder_attention_heads": 16,
    "max_position_embeddings": 1024,
    "init_std": 0.02,
    "activation_function": "gelu",
    "scale_embedding": false,
    "normalize_embedding": true,
    "normalize_before": false,
    "add_final_layer_norm": false,
    "add_bias_logits": false,
    "static_position_embeddings": false,
    "attention_dropout": 0.1,
    "activation_dropout": 0.1,
    "dropout": 0.1
}