File size: 1,445 Bytes
12f3ade
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
51
52
53
54
55
56
57
58
59
60
61
62
63
{
  "architectures": [
    "LagunaForCausalLM"
  ],
  "attention_bias": false,
  "attention_dropout": 0.0,
  "bos_token_id": null,
  "dtype": "float32",
  "eos_token_id": null,
  "gating": "per-element",
  "head_dim": 16,
  "hidden_act": "silu",
  "hidden_size": 64,
  "initializer_range": 0.02,
  "intermediate_size": 128,
  "layer_types": [
    "full_attention",
    "full_attention"
  ],
  "max_position_embeddings": 128,
  "mlp_layer_types": [
    "dense",
    "sparse"
  ],
  "model_type": "laguna",
  "moe_apply_router_weight_on_input": false,
  "moe_intermediate_size": 32,
  "moe_routed_scaling_factor": 1.0,
  "moe_router_logit_softcapping": 0.0,
  "num_attention_heads": 8,
  "num_attention_heads_per_layer": [
    8,
    8
  ],
  "num_experts": 8,
  "num_experts_per_tok": 2,
  "num_hidden_layers": 2,
  "num_key_value_heads": 2,
  "output_router_logits": false,
  "pad_token_id": null,
  "rms_norm_eps": 1e-06,
  "rope_parameters": {
    "full_attention": {
      "partial_rotary_factor": 0.5,
      "rope_theta": 500000.0,
      "rope_type": "default"
    },
    "rope_type": "default",
    "sliding_attention": {
      "partial_rotary_factor": 1.0,
      "rope_theta": 10000.0,
      "rope_type": "default"
    }
  },
  "router_aux_loss_coef": 0.001,
  "shared_expert_intermediate_size": 32,
  "sliding_window": 8,
  "tie_word_embeddings": false,
  "transformers_version": "5.13.0.dev0",
  "use_cache": true,
  "vocab_size": 256
}