1.3B-100B-HGRN-pure / config.json
ridger's picture
Upload config.json with huggingface_hub
71afe8d verified
Raw History Blame Contribute Delete
793 Bytes
{
"_name_or_path": "/mnt/bn/ridger1/flame/configs/HGRN/hgrn_1.3B.json",
"architectures": [
"HGRNForCausalLM"
],
"attn": null,
"attn_mode": "chunk",
"bos_token_id": 1,
"conv_size": 4,
"elementwise_affine": true,
"eos_token_id": 2,
"expand_ratio": 1,
"fuse_cross_entropy": true,
"fuse_norm": true,
"fuse_swiglu": true,
"hidden_act": "swish",
"hidden_ratio": 4,
"hidden_size": 2048,
"initializer_range": 0.02,
"intermediate_size": null,
"max_position_embeddings": 4096,
"model_type": "hgrn",
"norm_eps": 1e-06,
"num_heads": 8,
"num_hidden_layers": 24,
"tie_word_embeddings": true,
"torch_dtype": "float32",
"transformers_version": "4.49.0",
"use_cache": true,
"use_lower_bound": true,
"use_short_conv": false,
"vocab_size": 32000
}