hgrn-2.7B-100B / config.json
yzhangcs's picture
Upload HGRNForCausalLM
4361f37 verified
raw
history blame contribute delete
766 Bytes
{
"_name_or_path": "fla-hub/hgrn-2.7B-100B",
"architectures": [
"HGRNForCausalLM"
],
"attn": null,
"attn_mode": "fused_recurrent",
"bos_token_id": 1,
"conv_size": 4,
"elementwise_affine": true,
"eos_token_id": 2,
"expand_ratio": 1,
"fuse_cross_entropy": true,
"hidden_act": "swish",
"hidden_ratio": 4,
"hidden_size": 2560,
"initializer_range": 0.02,
"intermediate_size": null,
"max_position_embeddings": 2048,
"model_type": "hgrn",
"norm_eps": 1e-06,
"num_hidden_layers": 32,
"pad_token_id": 2,
"share_conv_kernel": true,
"tie_word_embeddings": false,
"torch_dtype": "bfloat16",
"transformers_version": "4.45.2",
"use_cache": true,
"use_lower_bound": true,
"use_short_conv": false,
"vocab_size": 32000
}