|
{ |
|
"architectures": [ |
|
"YayiForCausalLM" |
|
], |
|
"auto_map": { |
|
"AutoConfig": "configuration_yayi.YayiConfig", |
|
"AutoModelForCausalLM": "modeling_yayi.YayiForCausalLM" |
|
}, |
|
"bos_token_id": 1, |
|
"causal_mask": false, |
|
"eos_token_id": 2, |
|
"grouped_query": false, |
|
"hidden_act": "silu", |
|
"hidden_size": 7168, |
|
"initializer_range": 0.02, |
|
"intermediate_size": 16384, |
|
"max_position_embeddings": 4096, |
|
"model_type": "yayi", |
|
"num_attention_heads": 64, |
|
"num_hidden_layers": 64, |
|
"pad_token_id": 3, |
|
"rms_norm_eps": 1e-06, |
|
"share_kv_heads_num": 2, |
|
"tie_word_embeddings": false, |
|
"torch_dtype": "bfloat16", |
|
"transformers_version": "4.29.1", |
|
"use_cache": true, |
|
"vocab_size": 81920 |
|
} |
|
|