Safetensors
English
hgrn2
HGRN2-340M / config.json
JusenK's picture
first commit
05aa038
{
"_name_or_path": "configs/hgrn2_340M.json",
"architectures": [
"HGRN2ForCausalLM"
],
"attn": null,
"attn_mode": "fused_chunk",
"bos_token_id": 1,
"clamp_min": null,
"conv_size": 4,
"elementwise_affine": true,
"eos_token_id": 2,
"expand_ratio": 128,
"fuse_cross_entropy": true,
"fuse_norm": true,
"hidden_act": "swish",
"hidden_ratio": 4,
"hidden_size": 1024,
"initializer_range": 0.02,
"intermediate_size": null,
"max_position_embeddings": 2048,
"model_type": "hgrn2",
"norm_eps": 1e-06,
"num_heads": null,
"num_hidden_layers": 24,
"tie_word_embeddings": true,
"torch_dtype": "bfloat16",
"transformers_version": "4.47.1",
"use_cache": true,
"use_gk": true,
"use_gv": false,
"use_lower_bound": true,
"use_short_conv": false,
"vocab_size": 32000
}