bert4torch_config / chatglm2-6b /bert4torch_config.json
Tongjilibo's picture
添加配置文件
36f7606
raw
history blame
No virus
537 Bytes
{
"model": "glm2",
"hidden_act": "swiglu",
"hidden_size": 4096,
"intermediate_size": 13696,
"layer_norm_eps": 1e-05,
"max_sequence_length": 32768,
"num_attention_heads": 32,
"num_hidden_layers": 28,
"vocab_size": 65024,
"segment_vocab_size": 0,
"multi_query_group_num": 2,
"skip_init": true,
"tie_emb_prj_weight": false,
"eos_token_id": 2,
"pad_token_id": 2,
"rmsnorm": true,
"rope_rank": "adjacent",
"position_encoding_2d": true,
"flash_attention": true
}