Text Generation
Transformers
PyTorch
mpt
Composer
MosaicML
llm-foundry
custom_code
text-generation-inference
eyang9002 commited on
Commit
bc4f51a
1 Parent(s): bbe7a55

Adding `safetensors` variant of this model

Browse files

This is an automated PR created with https://huggingface.co./spaces/safetensors/convert

This new file is equivalent to `pytorch_model.bin` but safe in the sense that
no arbitrary code can be put into it.

These files also happen to load much faster than their pytorch counterpart:
https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb

The widgets on your model page will run using this model even if this is not merged
making sure the file actually works.

If you find any issues: please report here: https://huggingface.co./spaces/safetensors/convert/discussions

Feel free to ignore this PR.

Files changed (1) hide show
  1. model.safetensors.index.json +201 -0
model.safetensors.index.json ADDED
@@ -0,0 +1,201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "metadata": {
3
+ "total_size": 13298573312
4
+ },
5
+ "weight_map": {
6
+ "transformer.blocks.0.attn.Wqkv.weight": "model-00001-of-00002.safetensors",
7
+ "transformer.blocks.0.attn.out_proj.weight": "model-00001-of-00002.safetensors",
8
+ "transformer.blocks.0.ffn.down_proj.weight": "model-00001-of-00002.safetensors",
9
+ "transformer.blocks.0.ffn.up_proj.weight": "model-00001-of-00002.safetensors",
10
+ "transformer.blocks.0.norm_1.weight": "model-00001-of-00002.safetensors",
11
+ "transformer.blocks.0.norm_2.weight": "model-00001-of-00002.safetensors",
12
+ "transformer.blocks.1.attn.Wqkv.weight": "model-00001-of-00002.safetensors",
13
+ "transformer.blocks.1.attn.out_proj.weight": "model-00001-of-00002.safetensors",
14
+ "transformer.blocks.1.ffn.down_proj.weight": "model-00001-of-00002.safetensors",
15
+ "transformer.blocks.1.ffn.up_proj.weight": "model-00001-of-00002.safetensors",
16
+ "transformer.blocks.1.norm_1.weight": "model-00001-of-00002.safetensors",
17
+ "transformer.blocks.1.norm_2.weight": "model-00001-of-00002.safetensors",
18
+ "transformer.blocks.10.attn.Wqkv.weight": "model-00001-of-00002.safetensors",
19
+ "transformer.blocks.10.attn.out_proj.weight": "model-00001-of-00002.safetensors",
20
+ "transformer.blocks.10.ffn.down_proj.weight": "model-00001-of-00002.safetensors",
21
+ "transformer.blocks.10.ffn.up_proj.weight": "model-00001-of-00002.safetensors",
22
+ "transformer.blocks.10.norm_1.weight": "model-00001-of-00002.safetensors",
23
+ "transformer.blocks.10.norm_2.weight": "model-00001-of-00002.safetensors",
24
+ "transformer.blocks.11.attn.Wqkv.weight": "model-00001-of-00002.safetensors",
25
+ "transformer.blocks.11.attn.out_proj.weight": "model-00001-of-00002.safetensors",
26
+ "transformer.blocks.11.ffn.down_proj.weight": "model-00001-of-00002.safetensors",
27
+ "transformer.blocks.11.ffn.up_proj.weight": "model-00001-of-00002.safetensors",
28
+ "transformer.blocks.11.norm_1.weight": "model-00001-of-00002.safetensors",
29
+ "transformer.blocks.11.norm_2.weight": "model-00001-of-00002.safetensors",
30
+ "transformer.blocks.12.attn.Wqkv.weight": "model-00001-of-00002.safetensors",
31
+ "transformer.blocks.12.attn.out_proj.weight": "model-00001-of-00002.safetensors",
32
+ "transformer.blocks.12.ffn.down_proj.weight": "model-00001-of-00002.safetensors",
33
+ "transformer.blocks.12.ffn.up_proj.weight": "model-00001-of-00002.safetensors",
34
+ "transformer.blocks.12.norm_1.weight": "model-00001-of-00002.safetensors",
35
+ "transformer.blocks.12.norm_2.weight": "model-00001-of-00002.safetensors",
36
+ "transformer.blocks.13.attn.Wqkv.weight": "model-00001-of-00002.safetensors",
37
+ "transformer.blocks.13.attn.out_proj.weight": "model-00001-of-00002.safetensors",
38
+ "transformer.blocks.13.ffn.down_proj.weight": "model-00001-of-00002.safetensors",
39
+ "transformer.blocks.13.ffn.up_proj.weight": "model-00001-of-00002.safetensors",
40
+ "transformer.blocks.13.norm_1.weight": "model-00001-of-00002.safetensors",
41
+ "transformer.blocks.13.norm_2.weight": "model-00001-of-00002.safetensors",
42
+ "transformer.blocks.14.attn.Wqkv.weight": "model-00001-of-00002.safetensors",
43
+ "transformer.blocks.14.attn.out_proj.weight": "model-00001-of-00002.safetensors",
44
+ "transformer.blocks.14.ffn.down_proj.weight": "model-00001-of-00002.safetensors",
45
+ "transformer.blocks.14.ffn.up_proj.weight": "model-00001-of-00002.safetensors",
46
+ "transformer.blocks.14.norm_1.weight": "model-00001-of-00002.safetensors",
47
+ "transformer.blocks.14.norm_2.weight": "model-00001-of-00002.safetensors",
48
+ "transformer.blocks.15.attn.Wqkv.weight": "model-00001-of-00002.safetensors",
49
+ "transformer.blocks.15.attn.out_proj.weight": "model-00001-of-00002.safetensors",
50
+ "transformer.blocks.15.ffn.down_proj.weight": "model-00001-of-00002.safetensors",
51
+ "transformer.blocks.15.ffn.up_proj.weight": "model-00001-of-00002.safetensors",
52
+ "transformer.blocks.15.norm_1.weight": "model-00001-of-00002.safetensors",
53
+ "transformer.blocks.15.norm_2.weight": "model-00001-of-00002.safetensors",
54
+ "transformer.blocks.16.attn.Wqkv.weight": "model-00001-of-00002.safetensors",
55
+ "transformer.blocks.16.attn.out_proj.weight": "model-00001-of-00002.safetensors",
56
+ "transformer.blocks.16.ffn.down_proj.weight": "model-00001-of-00002.safetensors",
57
+ "transformer.blocks.16.ffn.up_proj.weight": "model-00001-of-00002.safetensors",
58
+ "transformer.blocks.16.norm_1.weight": "model-00001-of-00002.safetensors",
59
+ "transformer.blocks.16.norm_2.weight": "model-00001-of-00002.safetensors",
60
+ "transformer.blocks.17.attn.Wqkv.weight": "model-00001-of-00002.safetensors",
61
+ "transformer.blocks.17.attn.out_proj.weight": "model-00001-of-00002.safetensors",
62
+ "transformer.blocks.17.ffn.down_proj.weight": "model-00001-of-00002.safetensors",
63
+ "transformer.blocks.17.ffn.up_proj.weight": "model-00001-of-00002.safetensors",
64
+ "transformer.blocks.17.norm_1.weight": "model-00001-of-00002.safetensors",
65
+ "transformer.blocks.17.norm_2.weight": "model-00001-of-00002.safetensors",
66
+ "transformer.blocks.18.attn.Wqkv.weight": "model-00001-of-00002.safetensors",
67
+ "transformer.blocks.18.attn.out_proj.weight": "model-00001-of-00002.safetensors",
68
+ "transformer.blocks.18.ffn.down_proj.weight": "model-00001-of-00002.safetensors",
69
+ "transformer.blocks.18.ffn.up_proj.weight": "model-00001-of-00002.safetensors",
70
+ "transformer.blocks.18.norm_1.weight": "model-00001-of-00002.safetensors",
71
+ "transformer.blocks.18.norm_2.weight": "model-00001-of-00002.safetensors",
72
+ "transformer.blocks.19.attn.Wqkv.weight": "model-00001-of-00002.safetensors",
73
+ "transformer.blocks.19.attn.out_proj.weight": "model-00001-of-00002.safetensors",
74
+ "transformer.blocks.19.ffn.down_proj.weight": "model-00001-of-00002.safetensors",
75
+ "transformer.blocks.19.ffn.up_proj.weight": "model-00001-of-00002.safetensors",
76
+ "transformer.blocks.19.norm_1.weight": "model-00001-of-00002.safetensors",
77
+ "transformer.blocks.19.norm_2.weight": "model-00001-of-00002.safetensors",
78
+ "transformer.blocks.2.attn.Wqkv.weight": "model-00001-of-00002.safetensors",
79
+ "transformer.blocks.2.attn.out_proj.weight": "model-00001-of-00002.safetensors",
80
+ "transformer.blocks.2.ffn.down_proj.weight": "model-00001-of-00002.safetensors",
81
+ "transformer.blocks.2.ffn.up_proj.weight": "model-00001-of-00002.safetensors",
82
+ "transformer.blocks.2.norm_1.weight": "model-00001-of-00002.safetensors",
83
+ "transformer.blocks.2.norm_2.weight": "model-00001-of-00002.safetensors",
84
+ "transformer.blocks.20.attn.Wqkv.weight": "model-00001-of-00002.safetensors",
85
+ "transformer.blocks.20.attn.out_proj.weight": "model-00001-of-00002.safetensors",
86
+ "transformer.blocks.20.ffn.down_proj.weight": "model-00001-of-00002.safetensors",
87
+ "transformer.blocks.20.ffn.up_proj.weight": "model-00001-of-00002.safetensors",
88
+ "transformer.blocks.20.norm_1.weight": "model-00001-of-00002.safetensors",
89
+ "transformer.blocks.20.norm_2.weight": "model-00001-of-00002.safetensors",
90
+ "transformer.blocks.21.attn.Wqkv.weight": "model-00001-of-00002.safetensors",
91
+ "transformer.blocks.21.attn.out_proj.weight": "model-00001-of-00002.safetensors",
92
+ "transformer.blocks.21.ffn.down_proj.weight": "model-00001-of-00002.safetensors",
93
+ "transformer.blocks.21.ffn.up_proj.weight": "model-00001-of-00002.safetensors",
94
+ "transformer.blocks.21.norm_1.weight": "model-00001-of-00002.safetensors",
95
+ "transformer.blocks.21.norm_2.weight": "model-00001-of-00002.safetensors",
96
+ "transformer.blocks.22.attn.Wqkv.weight": "model-00001-of-00002.safetensors",
97
+ "transformer.blocks.22.attn.out_proj.weight": "model-00001-of-00002.safetensors",
98
+ "transformer.blocks.22.ffn.down_proj.weight": "model-00001-of-00002.safetensors",
99
+ "transformer.blocks.22.ffn.up_proj.weight": "model-00001-of-00002.safetensors",
100
+ "transformer.blocks.22.norm_1.weight": "model-00001-of-00002.safetensors",
101
+ "transformer.blocks.22.norm_2.weight": "model-00001-of-00002.safetensors",
102
+ "transformer.blocks.23.attn.Wqkv.weight": "model-00001-of-00002.safetensors",
103
+ "transformer.blocks.23.attn.out_proj.weight": "model-00001-of-00002.safetensors",
104
+ "transformer.blocks.23.ffn.down_proj.weight": "model-00002-of-00002.safetensors",
105
+ "transformer.blocks.23.ffn.up_proj.weight": "model-00001-of-00002.safetensors",
106
+ "transformer.blocks.23.norm_1.weight": "model-00001-of-00002.safetensors",
107
+ "transformer.blocks.23.norm_2.weight": "model-00001-of-00002.safetensors",
108
+ "transformer.blocks.24.attn.Wqkv.weight": "model-00002-of-00002.safetensors",
109
+ "transformer.blocks.24.attn.out_proj.weight": "model-00002-of-00002.safetensors",
110
+ "transformer.blocks.24.ffn.down_proj.weight": "model-00002-of-00002.safetensors",
111
+ "transformer.blocks.24.ffn.up_proj.weight": "model-00002-of-00002.safetensors",
112
+ "transformer.blocks.24.norm_1.weight": "model-00002-of-00002.safetensors",
113
+ "transformer.blocks.24.norm_2.weight": "model-00002-of-00002.safetensors",
114
+ "transformer.blocks.25.attn.Wqkv.weight": "model-00002-of-00002.safetensors",
115
+ "transformer.blocks.25.attn.out_proj.weight": "model-00002-of-00002.safetensors",
116
+ "transformer.blocks.25.ffn.down_proj.weight": "model-00002-of-00002.safetensors",
117
+ "transformer.blocks.25.ffn.up_proj.weight": "model-00002-of-00002.safetensors",
118
+ "transformer.blocks.25.norm_1.weight": "model-00002-of-00002.safetensors",
119
+ "transformer.blocks.25.norm_2.weight": "model-00002-of-00002.safetensors",
120
+ "transformer.blocks.26.attn.Wqkv.weight": "model-00002-of-00002.safetensors",
121
+ "transformer.blocks.26.attn.out_proj.weight": "model-00002-of-00002.safetensors",
122
+ "transformer.blocks.26.ffn.down_proj.weight": "model-00002-of-00002.safetensors",
123
+ "transformer.blocks.26.ffn.up_proj.weight": "model-00002-of-00002.safetensors",
124
+ "transformer.blocks.26.norm_1.weight": "model-00002-of-00002.safetensors",
125
+ "transformer.blocks.26.norm_2.weight": "model-00002-of-00002.safetensors",
126
+ "transformer.blocks.27.attn.Wqkv.weight": "model-00002-of-00002.safetensors",
127
+ "transformer.blocks.27.attn.out_proj.weight": "model-00002-of-00002.safetensors",
128
+ "transformer.blocks.27.ffn.down_proj.weight": "model-00002-of-00002.safetensors",
129
+ "transformer.blocks.27.ffn.up_proj.weight": "model-00002-of-00002.safetensors",
130
+ "transformer.blocks.27.norm_1.weight": "model-00002-of-00002.safetensors",
131
+ "transformer.blocks.27.norm_2.weight": "model-00002-of-00002.safetensors",
132
+ "transformer.blocks.28.attn.Wqkv.weight": "model-00002-of-00002.safetensors",
133
+ "transformer.blocks.28.attn.out_proj.weight": "model-00002-of-00002.safetensors",
134
+ "transformer.blocks.28.ffn.down_proj.weight": "model-00002-of-00002.safetensors",
135
+ "transformer.blocks.28.ffn.up_proj.weight": "model-00002-of-00002.safetensors",
136
+ "transformer.blocks.28.norm_1.weight": "model-00002-of-00002.safetensors",
137
+ "transformer.blocks.28.norm_2.weight": "model-00002-of-00002.safetensors",
138
+ "transformer.blocks.29.attn.Wqkv.weight": "model-00002-of-00002.safetensors",
139
+ "transformer.blocks.29.attn.out_proj.weight": "model-00002-of-00002.safetensors",
140
+ "transformer.blocks.29.ffn.down_proj.weight": "model-00002-of-00002.safetensors",
141
+ "transformer.blocks.29.ffn.up_proj.weight": "model-00002-of-00002.safetensors",
142
+ "transformer.blocks.29.norm_1.weight": "model-00002-of-00002.safetensors",
143
+ "transformer.blocks.29.norm_2.weight": "model-00002-of-00002.safetensors",
144
+ "transformer.blocks.3.attn.Wqkv.weight": "model-00001-of-00002.safetensors",
145
+ "transformer.blocks.3.attn.out_proj.weight": "model-00001-of-00002.safetensors",
146
+ "transformer.blocks.3.ffn.down_proj.weight": "model-00001-of-00002.safetensors",
147
+ "transformer.blocks.3.ffn.up_proj.weight": "model-00001-of-00002.safetensors",
148
+ "transformer.blocks.3.norm_1.weight": "model-00001-of-00002.safetensors",
149
+ "transformer.blocks.3.norm_2.weight": "model-00001-of-00002.safetensors",
150
+ "transformer.blocks.30.attn.Wqkv.weight": "model-00002-of-00002.safetensors",
151
+ "transformer.blocks.30.attn.out_proj.weight": "model-00002-of-00002.safetensors",
152
+ "transformer.blocks.30.ffn.down_proj.weight": "model-00002-of-00002.safetensors",
153
+ "transformer.blocks.30.ffn.up_proj.weight": "model-00002-of-00002.safetensors",
154
+ "transformer.blocks.30.norm_1.weight": "model-00002-of-00002.safetensors",
155
+ "transformer.blocks.30.norm_2.weight": "model-00002-of-00002.safetensors",
156
+ "transformer.blocks.31.attn.Wqkv.weight": "model-00002-of-00002.safetensors",
157
+ "transformer.blocks.31.attn.out_proj.weight": "model-00002-of-00002.safetensors",
158
+ "transformer.blocks.31.ffn.down_proj.weight": "model-00002-of-00002.safetensors",
159
+ "transformer.blocks.31.ffn.up_proj.weight": "model-00002-of-00002.safetensors",
160
+ "transformer.blocks.31.norm_1.weight": "model-00002-of-00002.safetensors",
161
+ "transformer.blocks.31.norm_2.weight": "model-00002-of-00002.safetensors",
162
+ "transformer.blocks.4.attn.Wqkv.weight": "model-00001-of-00002.safetensors",
163
+ "transformer.blocks.4.attn.out_proj.weight": "model-00001-of-00002.safetensors",
164
+ "transformer.blocks.4.ffn.down_proj.weight": "model-00001-of-00002.safetensors",
165
+ "transformer.blocks.4.ffn.up_proj.weight": "model-00001-of-00002.safetensors",
166
+ "transformer.blocks.4.norm_1.weight": "model-00001-of-00002.safetensors",
167
+ "transformer.blocks.4.norm_2.weight": "model-00001-of-00002.safetensors",
168
+ "transformer.blocks.5.attn.Wqkv.weight": "model-00001-of-00002.safetensors",
169
+ "transformer.blocks.5.attn.out_proj.weight": "model-00001-of-00002.safetensors",
170
+ "transformer.blocks.5.ffn.down_proj.weight": "model-00001-of-00002.safetensors",
171
+ "transformer.blocks.5.ffn.up_proj.weight": "model-00001-of-00002.safetensors",
172
+ "transformer.blocks.5.norm_1.weight": "model-00001-of-00002.safetensors",
173
+ "transformer.blocks.5.norm_2.weight": "model-00001-of-00002.safetensors",
174
+ "transformer.blocks.6.attn.Wqkv.weight": "model-00001-of-00002.safetensors",
175
+ "transformer.blocks.6.attn.out_proj.weight": "model-00001-of-00002.safetensors",
176
+ "transformer.blocks.6.ffn.down_proj.weight": "model-00001-of-00002.safetensors",
177
+ "transformer.blocks.6.ffn.up_proj.weight": "model-00001-of-00002.safetensors",
178
+ "transformer.blocks.6.norm_1.weight": "model-00001-of-00002.safetensors",
179
+ "transformer.blocks.6.norm_2.weight": "model-00001-of-00002.safetensors",
180
+ "transformer.blocks.7.attn.Wqkv.weight": "model-00001-of-00002.safetensors",
181
+ "transformer.blocks.7.attn.out_proj.weight": "model-00001-of-00002.safetensors",
182
+ "transformer.blocks.7.ffn.down_proj.weight": "model-00001-of-00002.safetensors",
183
+ "transformer.blocks.7.ffn.up_proj.weight": "model-00001-of-00002.safetensors",
184
+ "transformer.blocks.7.norm_1.weight": "model-00001-of-00002.safetensors",
185
+ "transformer.blocks.7.norm_2.weight": "model-00001-of-00002.safetensors",
186
+ "transformer.blocks.8.attn.Wqkv.weight": "model-00001-of-00002.safetensors",
187
+ "transformer.blocks.8.attn.out_proj.weight": "model-00001-of-00002.safetensors",
188
+ "transformer.blocks.8.ffn.down_proj.weight": "model-00001-of-00002.safetensors",
189
+ "transformer.blocks.8.ffn.up_proj.weight": "model-00001-of-00002.safetensors",
190
+ "transformer.blocks.8.norm_1.weight": "model-00001-of-00002.safetensors",
191
+ "transformer.blocks.8.norm_2.weight": "model-00001-of-00002.safetensors",
192
+ "transformer.blocks.9.attn.Wqkv.weight": "model-00001-of-00002.safetensors",
193
+ "transformer.blocks.9.attn.out_proj.weight": "model-00001-of-00002.safetensors",
194
+ "transformer.blocks.9.ffn.down_proj.weight": "model-00001-of-00002.safetensors",
195
+ "transformer.blocks.9.ffn.up_proj.weight": "model-00001-of-00002.safetensors",
196
+ "transformer.blocks.9.norm_1.weight": "model-00001-of-00002.safetensors",
197
+ "transformer.blocks.9.norm_2.weight": "model-00001-of-00002.safetensors",
198
+ "transformer.norm_f.weight": "model-00002-of-00002.safetensors",
199
+ "transformer.wte.weight": "model-00001-of-00002.safetensors"
200
+ }
201
+ }