ICW1
commited on
Commit
·
9601aed
1
Parent(s):
aef6d65
test
Browse files- config.json +36 -0
- model.safetensors.index.json +178 -0
config.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"InternLM2ForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"attn_implementation": "eager",
|
| 6 |
+
"auto_map": {
|
| 7 |
+
"AutoConfig": "configuration_internlm2.InternLM2Config",
|
| 8 |
+
"AutoModelForCausalLM": "modeling_internlm2.InternLM2ForCausalLM",
|
| 9 |
+
"AutoModel": "modeling_internlm2.InternLM2ForCausalLM"
|
| 10 |
+
},
|
| 11 |
+
"bias": false,
|
| 12 |
+
"bos_token_id": 1,
|
| 13 |
+
"eos_token_id": 2,
|
| 14 |
+
"hidden_act": "silu",
|
| 15 |
+
"hidden_size": 2048,
|
| 16 |
+
"initializer_range": 0.02,
|
| 17 |
+
"intermediate_size": 8192,
|
| 18 |
+
"max_position_embeddings": 32768,
|
| 19 |
+
"model_type": "internlm2",
|
| 20 |
+
"num_attention_heads": 16,
|
| 21 |
+
"num_hidden_layers": 24,
|
| 22 |
+
"num_key_value_heads": 8,
|
| 23 |
+
"pad_token_id": 2,
|
| 24 |
+
"rms_norm_eps": 1e-05,
|
| 25 |
+
"rope_scaling": {
|
| 26 |
+
"type": "dynamic",
|
| 27 |
+
"factor": 2.0
|
| 28 |
+
},
|
| 29 |
+
"rope_theta": 1000000,
|
| 30 |
+
"tie_word_embeddings": false,
|
| 31 |
+
"torch_dtype": "bfloat16",
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"metadata": {
|
| 3 |
+
"total_size": 3778220032
|
| 4 |
+
},
|
| 5 |
+
"weight_map": {
|
| 6 |
+
"model.layers.0.attention.wo.weight": "model-00001-of-00002.safetensors",
|
| 7 |
+
"model.layers.0.attention.wqkv.weight": "model-00001-of-00002.safetensors",
|
| 8 |
+
"model.layers.0.attention_norm.weight": "model-00001-of-00002.safetensors",
|
| 9 |
+
"model.layers.0.feed_forward.w1.weight": "model-00001-of-00002.safetensors",
|
| 10 |
+
"model.layers.0.feed_forward.w2.weight": "model-00001-of-00002.safetensors",
|
| 11 |
+
"model.layers.0.feed_forward.w3.weight": "model-00001-of-00002.safetensors",
|
| 12 |
+
"model.layers.0.ffn_norm.weight": "model-00001-of-00002.safetensors",
|
| 13 |
+
"model.layers.1.attention.wo.weight": "model-00001-of-00002.safetensors",
|
| 14 |
+
"model.layers.1.attention.wqkv.weight": "model-00001-of-00002.safetensors",
|
| 15 |
+
"model.layers.1.attention_norm.weight": "model-00001-of-00002.safetensors",
|
| 16 |
+
"model.layers.1.feed_forward.w1.weight": "model-00001-of-00002.safetensors",
|
| 17 |
+
"model.layers.1.feed_forward.w2.weight": "model-00001-of-00002.safetensors",
|
| 18 |
+
"model.layers.1.feed_forward.w3.weight": "model-00001-of-00002.safetensors",
|
| 19 |
+
"model.layers.1.ffn_norm.weight": "model-00001-of-00002.safetensors",
|
| 20 |
+
"model.layers.10.attention.wo.weight": "model-00001-of-00002.safetensors",
|
| 21 |
+
"model.layers.10.attention.wqkv.weight": "model-00001-of-00002.safetensors",
|
| 22 |
+
"model.layers.10.attention_norm.weight": "model-00001-of-00002.safetensors",
|
| 23 |
+
"model.layers.10.feed_forward.w1.weight": "model-00001-of-00002.safetensors",
|
| 24 |
+
"model.layers.10.feed_forward.w2.weight": "model-00001-of-00002.safetensors",
|
| 25 |
+
"model.layers.10.feed_forward.w3.weight": "model-00001-of-00002.safetensors",
|
| 26 |
+
"model.layers.10.ffn_norm.weight": "model-00001-of-00002.safetensors",
|
| 27 |
+
"model.layers.11.attention.wo.weight": "model-00001-of-00002.safetensors",
|
| 28 |
+
"model.layers.11.attention.wqkv.weight": "model-00001-of-00002.safetensors",
|
| 29 |
+
"model.layers.11.attention_norm.weight": "model-00001-of-00002.safetensors",
|
| 30 |
+
"model.layers.11.feed_forward.w1.weight": "model-00001-of-00002.safetensors",
|
| 31 |
+
"model.layers.11.feed_forward.w2.weight": "model-00001-of-00002.safetensors",
|
| 32 |
+
"model.layers.11.feed_forward.w3.weight": "model-00001-of-00002.safetensors",
|
| 33 |
+
"model.layers.11.ffn_norm.weight": "model-00001-of-00002.safetensors",
|
| 34 |
+
"model.layers.12.attention.wo.weight": "model-00001-of-00002.safetensors",
|
| 35 |
+
"model.layers.12.attention.wqkv.weight": "model-00001-of-00002.safetensors",
|
| 36 |
+
"model.layers.12.attention_norm.weight": "model-00002-of-00002.safetensors",
|
| 37 |
+
"model.layers.12.feed_forward.w1.weight": "model-00001-of-00002.safetensors",
|
| 38 |
+
"model.layers.12.feed_forward.w2.weight": "model-00002-of-00002.safetensors",
|
| 39 |
+
"model.layers.12.feed_forward.w3.weight": "model-00001-of-00002.safetensors",
|
| 40 |
+
"model.layers.12.ffn_norm.weight": "model-00002-of-00002.safetensors",
|
| 41 |
+
"model.layers.13.attention.wo.weight": "model-00002-of-00002.safetensors",
|
| 42 |
+
"model.layers.13.attention.wqkv.weight": "model-00002-of-00002.safetensors",
|
| 43 |
+
"model.layers.13.attention_norm.weight": "model-00002-of-00002.safetensors",
|
| 44 |
+
"model.layers.13.feed_forward.w1.weight": "model-00002-of-00002.safetensors",
|
| 45 |
+
"model.layers.13.feed_forward.w2.weight": "model-00002-of-00002.safetensors",
|
| 46 |
+
"model.layers.13.feed_forward.w3.weight": "model-00002-of-00002.safetensors",
|
| 47 |
+
"model.layers.13.ffn_norm.weight": "model-00002-of-00002.safetensors",
|
| 48 |
+
"model.layers.14.attention.wo.weight": "model-00002-of-00002.safetensors",
|
| 49 |
+
"model.layers.14.attention.wqkv.weight": "model-00002-of-00002.safetensors",
|
| 50 |
+
"model.layers.14.attention_norm.weight": "model-00002-of-00002.safetensors",
|
| 51 |
+
"model.layers.14.feed_forward.w1.weight": "model-00002-of-00002.safetensors",
|
| 52 |
+
"model.layers.14.feed_forward.w2.weight": "model-00002-of-00002.safetensors",
|
| 53 |
+
"model.layers.14.feed_forward.w3.weight": "model-00002-of-00002.safetensors",
|
| 54 |
+
"model.layers.14.ffn_norm.weight": "model-00002-of-00002.safetensors",
|
| 55 |
+
"model.layers.15.attention.wo.weight": "model-00002-of-00002.safetensors",
|
| 56 |
+
"model.layers.15.attention.wqkv.weight": "model-00002-of-00002.safetensors",
|
| 57 |
+
"model.layers.15.attention_norm.weight": "model-00002-of-00002.safetensors",
|
| 58 |
+
"model.layers.15.feed_forward.w1.weight": "model-00002-of-00002.safetensors",
|
| 59 |
+
"model.layers.15.feed_forward.w2.weight": "model-00002-of-00002.safetensors",
|
| 60 |
+
"model.layers.15.feed_forward.w3.weight": "model-00002-of-00002.safetensors",
|
| 61 |
+
"model.layers.15.ffn_norm.weight": "model-00002-of-00002.safetensors",
|
| 62 |
+
"model.layers.16.attention.wo.weight": "model-00002-of-00002.safetensors",
|
| 63 |
+
"model.layers.16.attention.wqkv.weight": "model-00002-of-00002.safetensors",
|
| 64 |
+
"model.layers.16.attention_norm.weight": "model-00002-of-00002.safetensors",
|
| 65 |
+
"model.layers.16.feed_forward.w1.weight": "model-00002-of-00002.safetensors",
|
| 66 |
+
"model.layers.16.feed_forward.w2.weight": "model-00002-of-00002.safetensors",
|
| 67 |
+
"model.layers.16.feed_forward.w3.weight": "model-00002-of-00002.safetensors",
|
| 68 |
+
"model.layers.16.ffn_norm.weight": "model-00002-of-00002.safetensors",
|
| 69 |
+
"model.layers.17.attention.wo.weight": "model-00002-of-00002.safetensors",
|
| 70 |
+
"model.layers.17.attention.wqkv.weight": "model-00002-of-00002.safetensors",
|
| 71 |
+
"model.layers.17.attention_norm.weight": "model-00002-of-00002.safetensors",
|
| 72 |
+
"model.layers.17.feed_forward.w1.weight": "model-00002-of-00002.safetensors",
|
| 73 |
+
"model.layers.17.feed_forward.w2.weight": "model-00002-of-00002.safetensors",
|
| 74 |
+
"model.layers.17.feed_forward.w3.weight": "model-00002-of-00002.safetensors",
|
| 75 |
+
"model.layers.17.ffn_norm.weight": "model-00002-of-00002.safetensors",
|
| 76 |
+
"model.layers.18.attention.wo.weight": "model-00002-of-00002.safetensors",
|
| 77 |
+
"model.layers.18.attention.wqkv.weight": "model-00002-of-00002.safetensors",
|
| 78 |
+
"model.layers.18.attention_norm.weight": "model-00002-of-00002.safetensors",
|
| 79 |
+
"model.layers.18.feed_forward.w1.weight": "model-00002-of-00002.safetensors",
|
| 80 |
+
"model.layers.18.feed_forward.w2.weight": "model-00002-of-00002.safetensors",
|
| 81 |
+
"model.layers.18.feed_forward.w3.weight": "model-00002-of-00002.safetensors",
|
| 82 |
+
"model.layers.18.ffn_norm.weight": "model-00002-of-00002.safetensors",
|
| 83 |
+
"model.layers.19.attention.wo.weight": "model-00002-of-00002.safetensors",
|
| 84 |
+
"model.layers.19.attention.wqkv.weight": "model-00002-of-00002.safetensors",
|
| 85 |
+
"model.layers.19.attention_norm.weight": "model-00002-of-00002.safetensors",
|
| 86 |
+
"model.layers.19.feed_forward.w1.weight": "model-00002-of-00002.safetensors",
|
| 87 |
+
"model.layers.19.feed_forward.w2.weight": "model-00002-of-00002.safetensors",
|
| 88 |
+
"model.layers.19.feed_forward.w3.weight": "model-00002-of-00002.safetensors",
|
| 89 |
+
"model.layers.19.ffn_norm.weight": "model-00002-of-00002.safetensors",
|
| 90 |
+
"model.layers.2.attention.wo.weight": "model-00001-of-00002.safetensors",
|
| 91 |
+
"model.layers.2.attention.wqkv.weight": "model-00001-of-00002.safetensors",
|
| 92 |
+
"model.layers.2.attention_norm.weight": "model-00001-of-00002.safetensors",
|
| 93 |
+
"model.layers.2.feed_forward.w1.weight": "model-00001-of-00002.safetensors",
|
| 94 |
+
"model.layers.2.feed_forward.w2.weight": "model-00001-of-00002.safetensors",
|
| 95 |
+
"model.layers.2.feed_forward.w3.weight": "model-00001-of-00002.safetensors",
|
| 96 |
+
"model.layers.2.ffn_norm.weight": "model-00001-of-00002.safetensors",
|
| 97 |
+
"model.layers.20.attention.wo.weight": "model-00002-of-00002.safetensors",
|
| 98 |
+
"model.layers.20.attention.wqkv.weight": "model-00002-of-00002.safetensors",
|
| 99 |
+
"model.layers.20.attention_norm.weight": "model-00002-of-00002.safetensors",
|
| 100 |
+
"model.layers.20.feed_forward.w1.weight": "model-00002-of-00002.safetensors",
|
| 101 |
+
"model.layers.20.feed_forward.w2.weight": "model-00002-of-00002.safetensors",
|
| 102 |
+
"model.layers.20.feed_forward.w3.weight": "model-00002-of-00002.safetensors",
|
| 103 |
+
"model.layers.20.ffn_norm.weight": "model-00002-of-00002.safetensors",
|
| 104 |
+
"model.layers.21.attention.wo.weight": "model-00002-of-00002.safetensors",
|
| 105 |
+
"model.layers.21.attention.wqkv.weight": "model-00002-of-00002.safetensors",
|
| 106 |
+
"model.layers.21.attention_norm.weight": "model-00002-of-00002.safetensors",
|
| 107 |
+
"model.layers.21.feed_forward.w1.weight": "model-00002-of-00002.safetensors",
|
| 108 |
+
"model.layers.21.feed_forward.w2.weight": "model-00002-of-00002.safetensors",
|
| 109 |
+
"model.layers.21.feed_forward.w3.weight": "model-00002-of-00002.safetensors",
|
| 110 |
+
"model.layers.21.ffn_norm.weight": "model-00002-of-00002.safetensors",
|
| 111 |
+
"model.layers.22.attention.wo.weight": "model-00002-of-00002.safetensors",
|
| 112 |
+
"model.layers.22.attention.wqkv.weight": "model-00002-of-00002.safetensors",
|
| 113 |
+
"model.layers.22.attention_norm.weight": "model-00002-of-00002.safetensors",
|
| 114 |
+
"model.layers.22.feed_forward.w1.weight": "model-00002-of-00002.safetensors",
|
| 115 |
+
"model.layers.22.feed_forward.w2.weight": "model-00002-of-00002.safetensors",
|
| 116 |
+
"model.layers.22.feed_forward.w3.weight": "model-00002-of-00002.safetensors",
|
| 117 |
+
"model.layers.22.ffn_norm.weight": "model-00002-of-00002.safetensors",
|
| 118 |
+
"model.layers.23.attention.wo.weight": "model-00002-of-00002.safetensors",
|
| 119 |
+
"model.layers.23.attention.wqkv.weight": "model-00002-of-00002.safetensors",
|
| 120 |
+
"model.layers.23.attention_norm.weight": "model-00002-of-00002.safetensors",
|
| 121 |
+
"model.layers.23.feed_forward.w1.weight": "model-00002-of-00002.safetensors",
|
| 122 |
+
"model.layers.23.feed_forward.w2.weight": "model-00002-of-00002.safetensors",
|
| 123 |
+
"model.layers.23.feed_forward.w3.weight": "model-00002-of-00002.safetensors",
|
| 124 |
+
"model.layers.23.ffn_norm.weight": "model-00002-of-00002.safetensors",
|
| 125 |
+
"model.layers.3.attention.wo.weight": "model-00001-of-00002.safetensors",
|
| 126 |
+
"model.layers.3.attention.wqkv.weight": "model-00001-of-00002.safetensors",
|
| 127 |
+
"model.layers.3.attention_norm.weight": "model-00001-of-00002.safetensors",
|
| 128 |
+
"model.layers.3.feed_forward.w1.weight": "model-00001-of-00002.safetensors",
|
| 129 |
+
"model.layers.3.feed_forward.w2.weight": "model-00001-of-00002.safetensors",
|
| 130 |
+
"model.layers.3.feed_forward.w3.weight": "model-00001-of-00002.safetensors",
|
| 131 |
+
"model.layers.3.ffn_norm.weight": "model-00001-of-00002.safetensors",
|
| 132 |
+
"model.layers.4.attention.wo.weight": "model-00001-of-00002.safetensors",
|
| 133 |
+
"model.layers.4.attention.wqkv.weight": "model-00001-of-00002.safetensors",
|
| 134 |
+
"model.layers.4.attention_norm.weight": "model-00001-of-00002.safetensors",
|
| 135 |
+
"model.layers.4.feed_forward.w1.weight": "model-00001-of-00002.safetensors",
|
| 136 |
+
"model.layers.4.feed_forward.w2.weight": "model-00001-of-00002.safetensors",
|
| 137 |
+
"model.layers.4.feed_forward.w3.weight": "model-00001-of-00002.safetensors",
|
| 138 |
+
"model.layers.4.ffn_norm.weight": "model-00001-of-00002.safetensors",
|
| 139 |
+
"model.layers.5.attention.wo.weight": "model-00001-of-00002.safetensors",
|
| 140 |
+
"model.layers.5.attention.wqkv.weight": "model-00001-of-00002.safetensors",
|
| 141 |
+
"model.layers.5.attention_norm.weight": "model-00001-of-00002.safetensors",
|
| 142 |
+
"model.layers.5.feed_forward.w1.weight": "model-00001-of-00002.safetensors",
|
| 143 |
+
"model.layers.5.feed_forward.w2.weight": "model-00001-of-00002.safetensors",
|
| 144 |
+
"model.layers.5.feed_forward.w3.weight": "model-00001-of-00002.safetensors",
|
| 145 |
+
"model.layers.5.ffn_norm.weight": "model-00001-of-00002.safetensors",
|
| 146 |
+
"model.layers.6.attention.wo.weight": "model-00001-of-00002.safetensors",
|
| 147 |
+
"model.layers.6.attention.wqkv.weight": "model-00001-of-00002.safetensors",
|
| 148 |
+
"model.layers.6.attention_norm.weight": "model-00001-of-00002.safetensors",
|
| 149 |
+
"model.layers.6.feed_forward.w1.weight": "model-00001-of-00002.safetensors",
|
| 150 |
+
"model.layers.6.feed_forward.w2.weight": "model-00001-of-00002.safetensors",
|
| 151 |
+
"model.layers.6.feed_forward.w3.weight": "model-00001-of-00002.safetensors",
|
| 152 |
+
"model.layers.6.ffn_norm.weight": "model-00001-of-00002.safetensors",
|
| 153 |
+
"model.layers.7.attention.wo.weight": "model-00001-of-00002.safetensors",
|
| 154 |
+
"model.layers.7.attention.wqkv.weight": "model-00001-of-00002.safetensors",
|
| 155 |
+
"model.layers.7.attention_norm.weight": "model-00001-of-00002.safetensors",
|
| 156 |
+
"model.layers.7.feed_forward.w1.weight": "model-00001-of-00002.safetensors",
|
| 157 |
+
"model.layers.7.feed_forward.w2.weight": "model-00001-of-00002.safetensors",
|
| 158 |
+
"model.layers.7.feed_forward.w3.weight": "model-00001-of-00002.safetensors",
|
| 159 |
+
"model.layers.7.ffn_norm.weight": "model-00001-of-00002.safetensors",
|
| 160 |
+
"model.layers.8.attention.wo.weight": "model-00001-of-00002.safetensors",
|
| 161 |
+
"model.layers.8.attention.wqkv.weight": "model-00001-of-00002.safetensors",
|
| 162 |
+
"model.layers.8.attention_norm.weight": "model-00001-of-00002.safetensors",
|
| 163 |
+
"model.layers.8.feed_forward.w1.weight": "model-00001-of-00002.safetensors",
|
| 164 |
+
"model.layers.8.feed_forward.w2.weight": "model-00001-of-00002.safetensors",
|
| 165 |
+
"model.layers.8.feed_forward.w3.weight": "model-00001-of-00002.safetensors",
|
| 166 |
+
"model.layers.8.ffn_norm.weight": "model-00001-of-00002.safetensors",
|
| 167 |
+
"model.layers.9.attention.wo.weight": "model-00001-of-00002.safetensors",
|
| 168 |
+
"model.layers.9.attention.wqkv.weight": "model-00001-of-00002.safetensors",
|
| 169 |
+
"model.layers.9.attention_norm.weight": "model-00001-of-00002.safetensors",
|
| 170 |
+
"model.layers.9.feed_forward.w1.weight": "model-00001-of-00002.safetensors",
|
| 171 |
+
"model.layers.9.feed_forward.w2.weight": "model-00001-of-00002.safetensors",
|
| 172 |
+
"model.layers.9.feed_forward.w3.weight": "model-00001-of-00002.safetensors",
|
| 173 |
+
"model.layers.9.ffn_norm.weight": "model-00001-of-00002.safetensors",
|
| 174 |
+
"model.norm.weight": "model-00002-of-00002.safetensors",
|
| 175 |
+
"model.tok_embeddings.weight": "model-00001-of-00002.safetensors",
|
| 176 |
+
"output.weight": "model-00002-of-00002.safetensors"
|
| 177 |
+
}
|
| 178 |
+
}
|