bert4torch_config / chinese_alpaca_plus_7b /bert4torch_config.json
Tongjilibo's picture
修改end_id为eos_token_i
3efe041
raw
history blame contribute delete
No virus
422 Bytes
{
"model": "llama",
"template": "chinese_llama_alpaca",
"hidden_size": 4096,
"intermediate_size": 11008,
"num_attention_heads": 32,
"num_hidden_layers": 32,
"layer_norm_eps": 1e-06,
"hidden_act": "silu",
"vocab_size": 49954,
"segment_vocab_size": 0,
"skip_init": true,
"rope_rank": "updown",
"generation_config": {"tokenizer_config": {"skip_special_tokens": true}, "max_length": 2048, "eos_token_id": 2}
}