|
{ |
|
"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 |
|
} |