Noah-0.04B-Chat / config.json
wangrongsheng's picture
add model
9fd3cd3 verified
raw
history blame contribute delete
681 Bytes
{
"architectures": [
"Transformer"
],
"auto_map": {
"AutoConfig": "LMConfig.LMConfig",
"AutoModelForCausalLM": "model.Transformer"
},
"aux_loss_alpha": 0.01,
"dim": 640,
"dropout": 0.0,
"flash_attn": true,
"hidden_dim": null,
"max_seq_len": 512,
"model_type": "Noah",
"multiple_of": 64,
"n_heads": 16,
"n_kv_heads": 8,
"n_layers": 8,
"n_routed_experts": 4,
"n_shared_experts": true,
"norm_eps": 1e-05,
"norm_topk_prob": true,
"num_experts_per_tok": 2,
"save_steps": 1000,
"scoring_func": "softmax",
"seq_aux": true,
"torch_dtype": "float32",
"transformers_version": "4.44.0",
"use_moe": false,
"vocab_size": 6400
}