Upload config.json
This commit is contained in:
parent
09df58cdd5
commit
e88355ec1a
16
config.json
16
config.json
|
@ -2,10 +2,8 @@
|
||||||
"_name_or_path": "tapex-base",
|
"_name_or_path": "tapex-base",
|
||||||
"activation_dropout": 0.0,
|
"activation_dropout": 0.0,
|
||||||
"activation_function": "gelu",
|
"activation_function": "gelu",
|
||||||
"add_bias_logits": false,
|
|
||||||
"add_final_layer_norm": false,
|
|
||||||
"architectures": [
|
"architectures": [
|
||||||
"BartModel"
|
"BartForConditionalGeneration"
|
||||||
],
|
],
|
||||||
"attention_dropout": 0.1,
|
"attention_dropout": 0.1,
|
||||||
"bos_token_id": 0,
|
"bos_token_id": 0,
|
||||||
|
@ -17,7 +15,6 @@
|
||||||
"decoder_layers": 6,
|
"decoder_layers": 6,
|
||||||
"decoder_start_token_id": 2,
|
"decoder_start_token_id": 2,
|
||||||
"dropout": 0.1,
|
"dropout": 0.1,
|
||||||
"early_stopping": true,
|
|
||||||
"encoder_attention_heads": 12,
|
"encoder_attention_heads": 12,
|
||||||
"encoder_ffn_dim": 3072,
|
"encoder_ffn_dim": 3072,
|
||||||
"encoder_layerdrop": 0.0,
|
"encoder_layerdrop": 0.0,
|
||||||
|
@ -25,19 +22,8 @@
|
||||||
"eos_token_id": 2,
|
"eos_token_id": 2,
|
||||||
"forced_bos_token_id": 0,
|
"forced_bos_token_id": 0,
|
||||||
"forced_eos_token_id": 2,
|
"forced_eos_token_id": 2,
|
||||||
"gradient_checkpointing": false,
|
|
||||||
"id2label": {
|
|
||||||
"0": "LABEL_0",
|
|
||||||
"1": "LABEL_1",
|
|
||||||
"2": "LABEL_2"
|
|
||||||
},
|
|
||||||
"init_std": 0.02,
|
"init_std": 0.02,
|
||||||
"is_encoder_decoder": true,
|
"is_encoder_decoder": true,
|
||||||
"label2id": {
|
|
||||||
"LABEL_0": 0,
|
|
||||||
"LABEL_1": 1,
|
|
||||||
"LABEL_2": 2
|
|
||||||
},
|
|
||||||
"max_position_embeddings": 1024,
|
"max_position_embeddings": 1024,
|
||||||
"model_type": "bart",
|
"model_type": "bart",
|
||||||
"normalize_before": false,
|
"normalize_before": false,
|
||||||
|
|
Loading…
Reference in New Issue