hgrn2-1.3B-100B / config.json
yzhangcs's picture
Upload HGRN2ForCausalLM
46b2dbe verified
raw
history blame contribute delete
No virus
751 Bytes
{
"_name_or_path": "fla-hub/hgrn2-1.3B-100B",
"architectures": [
"HGRN2ForCausalLM"
],
"attn_mode": "fused_chunk",
"bos_token_id": 1,
"clamp_min": null,
"conv_size": 4,
"eos_token_id": 2,
"expand_ratio": 128,
"fuse_cross_entropy": true,
"hidden_act": "swish",
"hidden_ratio": 4,
"hidden_size": 2048,
"initializer_range": 0.02,
"intermediate_size": null,
"max_position_embeddings": 2048,
"model_type": "hgrn2",
"num_heads": null,
"num_hidden_layers": 24,
"rms_norm_eps": 1e-06,
"share_conv_kernel": true,
"tie_word_embeddings": false,
"torch_dtype": "bfloat16",
"transformers_version": "4.40.0.dev0",
"use_cache": true,
"use_lower_bound": true,
"use_short_conv": false,
"vocab_size": 32000
}