Update config.json
This commit is contained in:
parent
e052e84026
commit
5c11bea3a9
28
config.json
28
config.json
|
@ -1,11 +1,15 @@
|
||||||
{
|
{
|
||||||
|
"_num_labels": 3,
|
||||||
"activation_dropout": 0.0,
|
"activation_dropout": 0.0,
|
||||||
|
"activation_function": "gelu",
|
||||||
|
"add_final_layer_norm": false,
|
||||||
"architectures": [
|
"architectures": [
|
||||||
"BartModel",
|
"BartModel",
|
||||||
"BartForMaskedLM",
|
"BartForMaskedLM",
|
||||||
"BartForSequenceClassification"
|
"BartForSequenceClassification"
|
||||||
],
|
],
|
||||||
"attention_dropout": 0.0,
|
"attention_dropout": 0.0,
|
||||||
|
"bos_token_id": 0,
|
||||||
"classif_dropout": 0.0,
|
"classif_dropout": 0.0,
|
||||||
"d_model": 1024,
|
"d_model": 1024,
|
||||||
"decoder_attention_heads": 16,
|
"decoder_attention_heads": 16,
|
||||||
|
@ -13,39 +17,32 @@
|
||||||
"decoder_layerdrop": 0.0,
|
"decoder_layerdrop": 0.0,
|
||||||
"decoder_layers": 12,
|
"decoder_layers": 12,
|
||||||
"decoder_start_token_id": 2,
|
"decoder_start_token_id": 2,
|
||||||
"do_sample": false,
|
|
||||||
"dropout": 0.1,
|
"dropout": 0.1,
|
||||||
"encoder_attention_heads": 16,
|
"encoder_attention_heads": 16,
|
||||||
"encoder_ffn_dim": 4096,
|
"encoder_ffn_dim": 4096,
|
||||||
"encoder_layerdrop": 0.0,
|
"encoder_layerdrop": 0.0,
|
||||||
"encoder_layers": 12,
|
"encoder_layers": 12,
|
||||||
"finetuning_task": null,
|
"eos_token_id": 2,
|
||||||
"id2label": {
|
"id2label": {
|
||||||
"0": "LABEL_0",
|
"0": "LABEL_0",
|
||||||
"1": "LABEL_1",
|
"1": "LABEL_1",
|
||||||
"2": "LABEL_2"
|
"2": "LABEL_2"
|
||||||
},
|
},
|
||||||
"init_std": 0.02,
|
"init_std": 0.02,
|
||||||
"is_decoder": false,
|
"is_encoder_decoder": true,
|
||||||
"label2id": {
|
"label2id": {
|
||||||
"LABEL_0": 0,
|
"LABEL_0": 0,
|
||||||
"LABEL_1": 1,
|
"LABEL_1": 1,
|
||||||
"LABEL_2": 2
|
"LABEL_2": 2
|
||||||
},
|
},
|
||||||
"length_penalty": 1.0,
|
|
||||||
"max_length": 20,
|
|
||||||
"max_position_embeddings": 1024,
|
"max_position_embeddings": 1024,
|
||||||
"model_type": "bart",
|
"model_type": "bart",
|
||||||
"num_beams": 1,
|
"normalize_before": false,
|
||||||
"num_hidden_layers": 12,
|
"num_hidden_layers": 12,
|
||||||
"num_labels": 3,
|
|
||||||
"num_return_sequences": 1,
|
|
||||||
"output_attentions": false,
|
|
||||||
"output_hidden_states": false,
|
|
||||||
"output_past": false,
|
"output_past": false,
|
||||||
|
"pad_token_id": 1,
|
||||||
"prefix": " ",
|
"prefix": " ",
|
||||||
"pruned_heads": {},
|
"scale_embedding": false,
|
||||||
"repetition_penalty": 1.0,
|
|
||||||
"task_specific_params": {
|
"task_specific_params": {
|
||||||
"summarization": {
|
"summarization": {
|
||||||
"early_stopping": true,
|
"early_stopping": true,
|
||||||
|
@ -56,10 +53,5 @@
|
||||||
"num_beams": 4
|
"num_beams": 4
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"temperature": 1.0,
|
|
||||||
"top_k": 50,
|
|
||||||
"top_p": 1.0,
|
|
||||||
"torchscript": false,
|
|
||||||
"use_bfloat16": false,
|
|
||||||
"vocab_size": 50265
|
"vocab_size": 50265
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue