bert4torch_config / CPM-Generate /bert4torch_config.json
Tongjilibo's picture
修改config
bf90606
raw
history blame
380 Bytes
{
"model": "gpt2",
"segment_vocab_size": 0,
"vocab_size": 30000,
"hidden_size": 2560,
"attention_probs_dropout_prob": 0.1,
"hidden_dropout_prob": 0.1,
"hidden_act": "gelu",
"initializer_range": 0.014142135623731,
"intermediate_size": 10240,
"max_position_embeddings": 1024,
"num_attention_heads": 32,
"num_hidden_layers": 32
}