File size: 2,452 Bytes
b83afa8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
{
  "_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": true,
  "cut_pre_mlp": true,
  "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,
  "pre_attn_thresholds": [
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0
  ],
  "pre_mlp_thresholds": [
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0
  ],
  "rms_norm_eps": 1e-05,
  "rope_theta": 10000.0,
  "sliding_window": 4096,
  "thresholds": [
    0.017051145434379578,
    0.023069201037287712,
    0.049147434532642365,
    0.051153454929590225,
    0.061183542013168335,
    0.07121363282203674,
    0.0732196494936943,
    0.07923770695924759,
    0.08324974030256271,
    0.08124372363090515,
    0.089267797768116,
    0.09127381443977356,
    0.10130390524864197,
    0.0992978885769844,
    0.10732196271419525,
    0.12337010353803635,
    0.14343027770519257,
    0.16148445010185242,
    0.17953860759735107,
    0.1935807317495346,
    0.1995987892150879,
    0.2196589708328247,
    0.2196589708328247,
    0.23169508576393127,
    0.2357071191072464,
    0.23370109498500824,
    0.225677028298378,
    0.22968906164169312,
    0.225677028298378,
    0.22768303751945496,
    0.2457372099161148,
    0.2678034007549286
  ],
  "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
}