bert4torch_config / Meta-Llama-3-8B /bert4torch_config.json
Tongjilibo's picture
修改end_id为eos_token_i
3efe041
raw
history blame
659 Bytes
{
"model": "llama",
"template": "llama3",
"hidden_size": 4096,
"intermediate_size": 14336,
"num_attention_heads": 32,
"num_hidden_layers": 32,
"hidden_act": "silu",
"vocab_size": 128256,
"segment_vocab_size": 0,
"skip_init": true,
"layer_norm_eps": 1e-05,
"rope_rank": "updown",
"rope_theta": 500000.0,
"num_key_value_heads": 8,
"max_position_embeddings": 8192,
"torch_dtype": "bfloat16",
"tie_word_embeddings": false,
"attention_probs_dropout_prob": 0.0,
"convert_lm_logits_dtype": "float32",
"generation_config": {"tokenizer_config": {"skip_special_tokens": true, "add_special_tokens": false}, "eos_token_id": [128001, 128009]}
}