File size: 1,020 Bytes
96c46a9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
  "_name_or_path": "/mnt/bn/ridger1/flame/configs/HGRN/hgrn_340M_hybrid_3.json",
  "architectures": [
    "HGRNForCausalLM"
  ],
  "attn": {
    "layers": [
      2,
      5,
      8,
      11,
      14,
      17,
      20,
      23
    ],
    "num_heads": 16,
    "num_kv_heads": 8,
    "qkv_bias": false,
    "rope_theta": 10000.0,
    "window_size": 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": 1024,
  "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
}