Update config.json

This commit is contained in:
system 2020-04-24 16:04:48 +00:00
parent 3a007b92d8
commit ea7c5d8293
1 changed files with 8 additions and 1 deletions

View File

@ -1,18 +1,25 @@
{ {
"afn": "gelu",
"architectures": [ "architectures": [
"OpenAIGPTLMHeadModel" "OpenAIGPTLMHeadModel"
], ],
"afn": "gelu",
"attn_pdrop": 0.1, "attn_pdrop": 0.1,
"embd_pdrop": 0.1, "embd_pdrop": 0.1,
"initializer_range": 0.02, "initializer_range": 0.02,
"layer_norm_epsilon": 1e-05, "layer_norm_epsilon": 1e-05,
"model_type": "openai-gpt",
"n_ctx": 512, "n_ctx": 512,
"n_embd": 768, "n_embd": 768,
"n_head": 12, "n_head": 12,
"n_layer": 12, "n_layer": 12,
"n_positions": 512, "n_positions": 512,
"n_special": 0, "n_special": 0,
"predict_special_tokens": true,
"resid_pdrop": 0.1, "resid_pdrop": 0.1,
"summary_activation": null,
"summary_first_dropout": 0.1,
"summary_proj_to_labels": true,
"summary_type": "cls_index",
"summary_use_proj": true,
"vocab_size": 40478 "vocab_size": 40478
} }