bert4torch_config / Qwen-7B /bert4torch_config.json
Tongjilibo's picture
添加配置文件
36f7606
raw
history blame
803 Bytes
{
"model": "qwen",
"hidden_act": "silu",
"bias_dropout_fusion": true,
"bos_token_id": 151643,
"embd_pdrop": 0.1,
"eos_token_id": 151643,
"intermediate_size": 22016,
"initializer_range": 0.02,
"kv_channels": 128,
"layer_norm_eps": 1e-05,
"hidden_size": 4096,
"num_attention_heads": 32,
"num_hidden_layers": 32,
"n_positions": 6144,
"resid_pdrop": 0.1,
"rotary_emb_base": 10000,
"rotary_pct": 1.0,
"scale_attn_weights": true,
"seq_length": 2048,
"tie_word_embeddings": false,
"use_cache": true,
"flash_attention": "flash_attn_2",
"vocab_size": 151936,
"use_dynamic_ntk": true,
"use_logn_attn": true,
"segment_vocab_size": 0,
"skip_init": true,
"rope_rank": "updown",
"max_position": 2048
}