Update config.json
This commit is contained in:
parent
a9aaa74e9e
commit
048916aef0
27
config.json
27
config.json
|
@ -1,49 +1,40 @@
|
||||||
{
|
{
|
||||||
|
"_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,
|
||||||
"classif_dropout": 0.0,
|
"classif_dropout": 0.0,
|
||||||
"d_model": 1024,
|
"d_model": 1024,
|
||||||
"decoder_attention_heads": 16,
|
"decoder_attention_heads": 16,
|
||||||
"decoder_ffn_dim": 4096,
|
"decoder_ffn_dim": 4096,
|
||||||
"decoder_layerdrop": 0.0,
|
"decoder_layerdrop": 0.0,
|
||||||
"decoder_layers": 12,
|
"decoder_layers": 12,
|
||||||
"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": "contradiction",
|
"0": "contradiction",
|
||||||
"1": "neutral",
|
"1": "neutral",
|
||||||
"2": "entailment"
|
"2": "entailment"
|
||||||
},
|
},
|
||||||
"init_std": 0.02,
|
"init_std": 0.02,
|
||||||
"is_decoder": false,
|
"is_encoder_decoder": true,
|
||||||
"label2id": {
|
"label2id": {
|
||||||
"contradiction": 0,
|
"contradiction": 0,
|
||||||
"entailment": 2,
|
"entailment": 2,
|
||||||
"neutral": 1
|
"neutral": 1
|
||||||
},
|
},
|
||||||
"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,
|
||||||
"pruned_heads": {},
|
"pad_token_id": 1,
|
||||||
"repetition_penalty": 1.0,
|
"scale_embedding": false,
|
||||||
"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