Update config.json
This commit is contained in:
parent
26a516dd67
commit
e1a20d7813
15
config.json
15
config.json
|
@ -4,23 +4,22 @@
|
||||||
],
|
],
|
||||||
"attn_type": "bi",
|
"attn_type": "bi",
|
||||||
"bi_data": false,
|
"bi_data": false,
|
||||||
|
"bos_token_id": 1,
|
||||||
"clamp_len": -1,
|
"clamp_len": -1,
|
||||||
"d_head": 64,
|
"d_head": 64,
|
||||||
"d_inner": 3072,
|
"d_inner": 3072,
|
||||||
"d_model": 768,
|
"d_model": 768,
|
||||||
"dropout": 0.1,
|
"dropout": 0.1,
|
||||||
"end_n_top": 5,
|
"end_n_top": 5,
|
||||||
|
"eos_token_id": 2,
|
||||||
"ff_activation": "gelu",
|
"ff_activation": "gelu",
|
||||||
"finetuning_task": null,
|
|
||||||
"initializer_range": 0.02,
|
"initializer_range": 0.02,
|
||||||
"layer_norm_eps": 1e-12,
|
"layer_norm_eps": 1e-12,
|
||||||
"mem_len": null,
|
"mem_len": null,
|
||||||
|
"model_type": "xlnet",
|
||||||
"n_head": 12,
|
"n_head": 12,
|
||||||
"n_layer": 12,
|
"n_layer": 12,
|
||||||
"n_token": 32000,
|
"pad_token_id": 5,
|
||||||
"num_labels": 2,
|
|
||||||
"output_attentions": false,
|
|
||||||
"output_hidden_states": false,
|
|
||||||
"reuse_len": null,
|
"reuse_len": null,
|
||||||
"same_length": false,
|
"same_length": false,
|
||||||
"start_n_top": 5,
|
"start_n_top": 5,
|
||||||
|
@ -33,6 +32,6 @@
|
||||||
"max_length": 210
|
"max_length": 210
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"torchscript": false,
|
"untie_r": true,
|
||||||
"untie_r": true
|
"vocab_size": 32000
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue