File size: 1,174 Bytes
4f0f1c9
 
 
cfb5c81
4f0f1c9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
cfb5c81
4f0f1c9
 
 
 
 
 
 
 
 
 
 
cfb5c81
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4f0f1c9
cfb5c81
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
{
  "speculators_model_type": "mtp",
  "architectures": [
    "MTPSpeculator"
  ],
  "num_speculative_steps": 3,
  "num_nextn_predict_layers": 1,
  "mtp_loss_step_weights": [
    0.51,
    0.31,
    0.18
  ],
  "hidden_size": 4096,
  "intermediate_size": 11008,
  "num_attention_heads": 32,
  "num_key_value_heads": 8,
  "vocab_size": 151680,
  "max_position_embeddings": 32768,
  "rms_norm_eps": 1e-05,
  "transformer_config": {
    "model_type": "mimo",
    "vocab_size": 151680,
    "hidden_size": 4096,
    "intermediate_size": 11008,
    "num_hidden_layers": 1,
    "num_attention_heads": 32,
    "num_key_value_heads": 8,
    "max_position_embeddings": 32768,
    "rms_norm_eps": 1e-05,
    "rope_theta": 640000,
    "tie_word_embeddings": false,
    "attention_bias": true
  },
  "speculators_config": {
    "algorithm": "mtp",
    "proposal_methods": [
      {
        "proposal_type": "greedy",
        "speculative_tokens": 3,
        "verifier_accept_k": 1,
        "accept_tolerance": 0.0
      }
    ],
    "default_proposal_method": "greedy",
    "verifier": {
      "name_or_path": "TencentBAC/FastMTP",
      "architectures": ["MiMoForCausalLM"]
    }
  }
}