File size: 1,807 Bytes
31e6812
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
64
65
66
67
68
69
70
71
72
{
  "_name_or_path": "mistralai/Mistral-7B-v0.1",
  "architectures": [
    "SparseMistralforCausalLM"
  ],
  "attention_dropout": 0.0,
  "auto_map": {
    "AutoConfig": "sparsification_sftt.SparseMistralConfig",
    "AutoModelForCausalLM": "sparsification_sftt.SparseMistralforCausalLM"
  },
  "bos_token_id": 1,
  "cut_pre_attn": false,
  "cut_pre_mlp": false,
  "eos_token_id": 2,
  "hidden_act": "silu",
  "hidden_size": 4096,
  "initializer_range": 0.02,
  "intermediate_size": 14336,
  "max_position_embeddings": 32768,
  "model_type": "sparse_mistral",
  "num_attention_heads": 32,
  "num_hidden_layers": 32,
  "num_key_value_heads": 8,
  "rms_norm_eps": 1e-05,
  "rope_theta": 10000.0,
  "sliding_window": 4096,
  "thresholds": [
    0.06590992212295532,
    0.0883132815361023,
    0.10871633887290955,
    0.13472023606300354,
    0.1649247705936432,
    0.19032858312129974,
    0.20693106949329376,
    0.22453370690345764,
    0.23433518409729004,
    0.23913590610027313,
    0.24313649535179138,
    0.24793721735477448,
    0.2519378066062927,
    0.25573837757110596,
    0.26553985476493835,
    0.2713407278060913,
    0.27534133195877075,
    0.2773416340351105,
    0.2773416340351105,
    0.2773416340351105,
    0.2773416340351105,
    0.2773416340351105,
    0.2773416340351105,
    0.2773416340351105,
    0.2773416340351105,
    0.2773416340351105,
    0.2773416340351105,
    0.2773416340351105,
    0.2773416340351105,
    0.279141902923584,
    0.3319498300552368,
    0.4901735484600067
  ],
  "tie_word_embeddings": false,
  "torch_dtype": "bfloat16",
  "transformers_version": "4.36.2",
  "use_cache": false,
  "use_relu": false,
  "use_resilu": false,
  "use_sparse_model": true,
  "use_sparse_predictor": false,
  "use_sparse_regularization": false,
  "vocab_size": 32000
}