File size: 1,828 Bytes
33da1c6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
  "_name_or_path": "mistralai/Mistral-7B-v0.1",
  "architectures": [
    "SparseMistralforCausalLM"
  ],
  "attention_bias": false,
  "attention_dropout": 0.0,
  "auto_map": {
    "AutoModelForCausalLM": "ugly_utils.SparseMistralforCausalLM"
  },
  "bos_token_id": 1,
  "eos_token_id": 2,
  "hidden_act": "silu",
  "hidden_size": 4096,
  "initializer_range": 0.02,
  "intermediate_size": 14336,
  "max_position_embeddings": 32768,
  "model_type": "sparse_llama",
  "num_attention_heads": 32,
  "num_hidden_layers": 32,
  "num_key_value_heads": 8,
  "pretraining_tp": 1,
  "rms_norm_eps": 1e-05,
  "rope_scaling": null,
  "rope_theta": 10000.0,
  "sliding_window": 4096,
  "thresholds": [
    0.01905716396868229,
    0.027081236243247986,
    0.0471414178609848,
    0.05315947160124779,
    0.06519558280706406,
    0.07923770695924759,
    0.08525575697422028,
    0.09327983111143112,
    0.09729187190532684,
    0.09729187190532684,
    0.10531593859195709,
    0.10531593859195709,
    0.1153460294008255,
    0.1153460294008255,
    0.12337010353803635,
    0.13941824436187744,
    0.15947842597961426,
    0.1735205501317978,
    0.18956869840621948,
    0.20361082255840302,
    0.21163490414619446,
    0.22768303751945496,
    0.225677028298378,
    0.23370109498500824,
    0.23971915245056152,
    0.23771312832832336,
    0.23370109498500824,
    0.2357071191072464,
    0.23370109498500824,
    0.23370109498500824,
    0.24172517657279968,
    0.24974924325942993
  ],
  "tie_word_embeddings": false,
  "torch_dtype": "bfloat16",
  "transformers_version": "4.36.2",
  "us_sparse_regularization": false,
  "use_cache": false,
  "use_graceful_regularization": false,
  "use_relu": false,
  "use_sparse_model": true,
  "use_sparse_predictor": false,
  "use_sparse_regularization": false,
  "vocab_size": 32000
}