Update config.json
This commit is contained in:
parent
2b4ddf178e
commit
747f1845b4
19
config.json
19
config.json
@ -1,7 +1,8 @@
|
|||||||
{
|
{
|
||||||
"_num_labels": 3,
|
"_num_labels": 3,
|
||||||
"activation_dropout": 0.0,
|
"activation_dropout": 0.0,
|
||||||
"architectures": null,
|
"activation_function": "gelu",
|
||||||
|
"add_final_layer_norm": false,
|
||||||
"attention_dropout": 0.0,
|
"attention_dropout": 0.0,
|
||||||
"bos_token_id": 0,
|
"bos_token_id": 0,
|
||||||
"classif_dropout": 0.0,
|
"classif_dropout": 0.0,
|
||||||
@ -11,21 +12,19 @@
|
|||||||
"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,
|
||||||
"early_stopping": true,
|
"early_stopping": true,
|
||||||
"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,
|
"is_encoder_decoder": true,
|
||||||
"label2id": {
|
"label2id": {
|
||||||
"LABEL_0": 0,
|
"LABEL_0": 0,
|
||||||
@ -38,16 +37,13 @@
|
|||||||
"min_length": 56,
|
"min_length": 56,
|
||||||
"model_type": "bart",
|
"model_type": "bart",
|
||||||
"no_repeat_ngram_size": 3,
|
"no_repeat_ngram_size": 3,
|
||||||
|
"normalize_before": false,
|
||||||
"num_beams": 4,
|
"num_beams": 4,
|
||||||
"num_hidden_layers": 12,
|
"num_hidden_layers": 12,
|
||||||
"num_return_sequences": 1,
|
|
||||||
"output_attentions": false,
|
|
||||||
"output_hidden_states": false,
|
|
||||||
"output_past": true,
|
"output_past": true,
|
||||||
"pad_token_id": 1,
|
"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,
|
||||||
@ -58,10 +54,5 @@
|
|||||||
"num_beams": 4
|
"num_beams": 4
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"temperature": 1.0,
|
|
||||||
"top_k": 50,
|
|
||||||
"top_p": 1.0,
|
|
||||||
"torchscript": false,
|
|
||||||
"use_bfloat16": false,
|
|
||||||
"vocab_size": 50264
|
"vocab_size": 50264
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user