bert4torch_config / Qwen /Qwen-1_8B /bert4torch_config.json
Tongjilibo's picture
调整为所属文件夹
7e27337
raw
history blame contribute delete
857 Bytes
{
"model": "qwen",
"hidden_act": "silu",
"pad_token_id": 151643,
"eos_token_id": 151643,
"intermediate_size": 5504,
"initializer_range": 0.02,
"layer_norm_eps": 1e-06,
"hidden_size": 2048,
"num_attention_heads": 16,
"num_hidden_layers": 24,
"rope_theta": 10000,
"scale_attn_weights": true,
"tie_word_embeddings": false,
"_attn_implementation": "sdpa",
"vocab_size": 151936,
"rope_scaling": {"type": "dynamic_qwen"},
"use_logn_attn": true,
"segment_vocab_size": 0,
"skip_init": true,
"rope_rank": "updown",
"max_position": 8192,
"generation_config": {"tokenizer_config": {"allowed_special": ["<|im_end|>", "<|im_start|>", "<|endoftext|>"],
"skip_special_tokens": true}, "eos_token_id": [151643],
"max_length": 8192}
}