Update for Transformers GPTQ support
Browse files- README.md +17 -10
- config.json +32 -21
- gptq_model-4bit--1g.safetensors → model.safetensors +2 -2
- quantize_config.json +1 -1
README.md
CHANGED
@@ -11,17 +11,20 @@ model_type: llama
|
|
11 |
---
|
12 |
|
13 |
<!-- header start -->
|
14 |
-
|
15 |
-
|
|
|
16 |
</div>
|
17 |
<div style="display: flex; justify-content: space-between; width: 100%;">
|
18 |
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
19 |
-
<p><a href="https://discord.gg/theblokeai">Chat & support:
|
20 |
</div>
|
21 |
<div style="display: flex; flex-direction: column; align-items: flex-end;">
|
22 |
-
<p><a href="https://www.patreon.com/TheBlokeAI">Want to contribute? TheBloke's Patreon page</a></p>
|
23 |
</div>
|
24 |
</div>
|
|
|
|
|
25 |
<!-- header end -->
|
26 |
|
27 |
# Allen AI's Tulu 30B GPTQ
|
@@ -104,7 +107,7 @@ from transformers import AutoTokenizer, pipeline, logging
|
|
104 |
from auto_gptq import AutoGPTQForCausalLM, BaseQuantizeConfig
|
105 |
|
106 |
model_name_or_path = "TheBloke/tulu-30B-GPTQ"
|
107 |
-
model_basename = "
|
108 |
|
109 |
use_triton = False
|
110 |
|
@@ -168,6 +171,7 @@ The files provided will work with AutoGPTQ (CUDA and Triton modes), GPTQ-for-LLa
|
|
168 |
ExLlama works with Llama models in 4-bit. Please see the Provided Files table above for per-file compatibility.
|
169 |
|
170 |
<!-- footer start -->
|
|
|
171 |
## Discord
|
172 |
|
173 |
For further support, and discussions on these models and AI in general, join us at:
|
@@ -187,12 +191,15 @@ Donaters will get priority support on any and all AI/LLM/model questions and req
|
|
187 |
* Patreon: https://patreon.com/TheBlokeAI
|
188 |
* Ko-Fi: https://ko-fi.com/TheBlokeAI
|
189 |
|
190 |
-
**Special thanks to**:
|
|
|
|
|
191 |
|
192 |
-
**Patreon special mentions**: Space Cruiser, Nikolai Manek, Sam, Chris McCloskey, Rishabh Srivastava, Kalila, Spiking Neurons AB, Khalefa Al-Ahmad, WelcomeToTheClub, Chadd, Lone Striker, Viktor Bowallius, Edmond Seymore, Ai Maven, Chris Smitley, Dave, Alexandros Triantafyllidis, Luke @flexchar, Elle, ya boyyy, Talal Aujan, Alex , Jonathan Leane, Deep Realms, Randy H, subjectnull, Preetika Verma, Joseph William Delisle, Michael Levine, chris gileta, K, Oscar Rangel, LangChain4j, Trenton Dambrowitz, Eugene Pentland, Johann-Peter Hartmann, Femi Adebogun, Illia Dulskyi, senxiiz, Daniel P. Andersen, Sean Connelly, Artur Olbinski, RoA, Mano Prime, Derek Yates, Raven Klaugh, David Flickinger, Willem Michiel, Pieter, Willian Hasse, vamX, Luke Pendergrass, webtim, Ghost , Rainer Wilmers, Nathan LeClaire, Will Dee, Cory Kujawski, John Detwiler, Fred von Graf, biorpg, Iucharbius , Imad Khwaja, Pierre Kircher, terasurfer , Asp the Wyvern, John Villwock, theTransient, zynix , Gabriel Tamborski, Fen Risland, Gabriel Puliatti, Matthew Berman, Pyrater, SuperWojo, Stephen Murray, Karl Bernard, Ajan Kanaga, Greatston Gnanesh, Junyu Yang.
|
193 |
|
194 |
Thank you to all my generous patrons and donaters!
|
195 |
|
|
|
|
|
196 |
<!-- footer end -->
|
197 |
|
198 |
# Original model card: Allen AI's Tulu 30B
|
@@ -246,7 +253,7 @@ If you use this model, please cite our work, the llama paper, and the original d
|
|
246 |
|
247 |
```
|
248 |
@misc{wang2023far,
|
249 |
-
title={How Far Can Camels Go? Exploring the State of Instruction Tuning on Open Resources},
|
250 |
author={Yizhong Wang and Hamish Ivison and Pradeep Dasigi and Jack Hessel and Tushar Khot and Khyathi Raghavi Chandu and David Wadden and Kelsey MacMillan and Noah A. Smith and Iz Beltagy and Hannaneh Hajishirzi},
|
251 |
year={2023},
|
252 |
eprint={2306.04751},
|
@@ -257,7 +264,7 @@ If you use this model, please cite our work, the llama paper, and the original d
|
|
257 |
|
258 |
```
|
259 |
@misc{touvron2023llama,
|
260 |
-
title={LLaMA: Open and Efficient Foundation Language Models},
|
261 |
author={Hugo Touvron and Thibaut Lavril and Gautier Izacard and Xavier Martinet and Marie-Anne Lachaux and Timothée Lacroix and Baptiste Rozière and Naman Goyal and Eric Hambro and Faisal Azhar and Aurelien Rodriguez and Armand Joulin and Edouard Grave and Guillaume Lample},
|
262 |
year={2023},
|
263 |
eprint={2302.13971},
|
@@ -289,7 +296,7 @@ If you use this model, please cite our work, the llama paper, and the original d
|
|
289 |
|
290 |
```
|
291 |
@misc{köpf2023openassistant,
|
292 |
-
title={OpenAssistant Conversations -- Democratizing Large Language Model Alignment},
|
293 |
author={Andreas Köpf and Yannic Kilcher and Dimitri von Rütte and Sotiris Anagnostidis and Zhi-Rui Tam and Keith Stevens and Abdullah Barhoum and Nguyen Minh Duc and Oliver Stanley and Richárd Nagyfi and Shahul ES and Sameer Suri and David Glushkov and Arnav Dantuluri and Andrew Maguire and Christoph Schuhmann and Huu Nguyen and Alexander Mattick},
|
294 |
year={2023},
|
295 |
eprint={2304.07327},
|
|
|
11 |
---
|
12 |
|
13 |
<!-- header start -->
|
14 |
+
<!-- 200823 -->
|
15 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
16 |
+
<img src="https://i.imgur.com/EBdldam.jpg" alt="TheBlokeAI" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
17 |
</div>
|
18 |
<div style="display: flex; justify-content: space-between; width: 100%;">
|
19 |
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
20 |
+
<p style="margin-top: 0.5em; margin-bottom: 0em;"><a href="https://discord.gg/theblokeai">Chat & support: TheBloke's Discord server</a></p>
|
21 |
</div>
|
22 |
<div style="display: flex; flex-direction: column; align-items: flex-end;">
|
23 |
+
<p style="margin-top: 0.5em; margin-bottom: 0em;"><a href="https://www.patreon.com/TheBlokeAI">Want to contribute? TheBloke's Patreon page</a></p>
|
24 |
</div>
|
25 |
</div>
|
26 |
+
<div style="text-align:center; margin-top: 0em; margin-bottom: 0em"><p style="margin-top: 0.25em; margin-bottom: 0em;">TheBloke's LLM work is generously supported by a grant from <a href="https://a16z.com">andreessen horowitz (a16z)</a></p></div>
|
27 |
+
<hr style="margin-top: 1.0em; margin-bottom: 1.0em;">
|
28 |
<!-- header end -->
|
29 |
|
30 |
# Allen AI's Tulu 30B GPTQ
|
|
|
107 |
from auto_gptq import AutoGPTQForCausalLM, BaseQuantizeConfig
|
108 |
|
109 |
model_name_or_path = "TheBloke/tulu-30B-GPTQ"
|
110 |
+
model_basename = "model"
|
111 |
|
112 |
use_triton = False
|
113 |
|
|
|
171 |
ExLlama works with Llama models in 4-bit. Please see the Provided Files table above for per-file compatibility.
|
172 |
|
173 |
<!-- footer start -->
|
174 |
+
<!-- 200823 -->
|
175 |
## Discord
|
176 |
|
177 |
For further support, and discussions on these models and AI in general, join us at:
|
|
|
191 |
* Patreon: https://patreon.com/TheBlokeAI
|
192 |
* Ko-Fi: https://ko-fi.com/TheBlokeAI
|
193 |
|
194 |
+
**Special thanks to**: Aemon Algiz.
|
195 |
+
|
196 |
+
**Patreon special mentions**: Sam, theTransient, Jonathan Leane, Steven Wood, webtim, Johann-Peter Hartmann, Geoffrey Montalvo, Gabriel Tamborski, Willem Michiel, John Villwock, Derek Yates, Mesiah Bishop, Eugene Pentland, Pieter, Chadd, Stephen Murray, Daniel P. Andersen, terasurfer, Brandon Frisco, Thomas Belote, Sid, Nathan LeClaire, Magnesian, Alps Aficionado, Stanislav Ovsiannikov, Alex, Joseph William Delisle, Nikolai Manek, Michael Davis, Junyu Yang, K, J, Spencer Kim, Stefan Sabev, Olusegun Samson, transmissions 11, Michael Levine, Cory Kujawski, Rainer Wilmers, zynix, Kalila, Luke @flexchar, Ajan Kanaga, Mandus, vamX, Ai Maven, Mano Prime, Matthew Berman, subjectnull, Vitor Caleffi, Clay Pascal, biorpg, alfie_i, 阿明, Jeffrey Morgan, ya boyyy, Raymond Fosdick, knownsqashed, Olakabola, Leonard Tan, ReadyPlayerEmma, Enrico Ros, Dave, Talal Aujan, Illia Dulskyi, Sean Connelly, senxiiz, Artur Olbinski, Elle, Raven Klaugh, Fen Risland, Deep Realms, Imad Khwaja, Fred von Graf, Will Dee, usrbinkat, SuperWojo, Alexandros Triantafyllidis, Swaroop Kallakuri, Dan Guido, John Detwiler, Pedro Madruga, Iucharbius, Viktor Bowallius, Asp the Wyvern, Edmond Seymore, Trenton Dambrowitz, Space Cruiser, Spiking Neurons AB, Pyrater, LangChain4j, Tony Hughes, Kacper Wikieł, Rishabh Srivastava, David Ziegler, Luke Pendergrass, Andrey, Gabriel Puliatti, Lone Striker, Sebastain Graf, Pierre Kircher, Randy H, NimbleBox.ai, Vadim, danny, Deo Leter
|
197 |
|
|
|
198 |
|
199 |
Thank you to all my generous patrons and donaters!
|
200 |
|
201 |
+
And thank you again to a16z for their generous grant.
|
202 |
+
|
203 |
<!-- footer end -->
|
204 |
|
205 |
# Original model card: Allen AI's Tulu 30B
|
|
|
253 |
|
254 |
```
|
255 |
@misc{wang2023far,
|
256 |
+
title={How Far Can Camels Go? Exploring the State of Instruction Tuning on Open Resources},
|
257 |
author={Yizhong Wang and Hamish Ivison and Pradeep Dasigi and Jack Hessel and Tushar Khot and Khyathi Raghavi Chandu and David Wadden and Kelsey MacMillan and Noah A. Smith and Iz Beltagy and Hannaneh Hajishirzi},
|
258 |
year={2023},
|
259 |
eprint={2306.04751},
|
|
|
264 |
|
265 |
```
|
266 |
@misc{touvron2023llama,
|
267 |
+
title={LLaMA: Open and Efficient Foundation Language Models},
|
268 |
author={Hugo Touvron and Thibaut Lavril and Gautier Izacard and Xavier Martinet and Marie-Anne Lachaux and Timothée Lacroix and Baptiste Rozière and Naman Goyal and Eric Hambro and Faisal Azhar and Aurelien Rodriguez and Armand Joulin and Edouard Grave and Guillaume Lample},
|
269 |
year={2023},
|
270 |
eprint={2302.13971},
|
|
|
296 |
|
297 |
```
|
298 |
@misc{köpf2023openassistant,
|
299 |
+
title={OpenAssistant Conversations -- Democratizing Large Language Model Alignment},
|
300 |
author={Andreas Köpf and Yannic Kilcher and Dimitri von Rütte and Sotiris Anagnostidis and Zhi-Rui Tam and Keith Stevens and Abdullah Barhoum and Nguyen Minh Duc and Oliver Stanley and Richárd Nagyfi and Shahul ES and Sameer Suri and David Glushkov and Arnav Dantuluri and Andrew Maguire and Christoph Schuhmann and Huu Nguyen and Alexander Mattick},
|
301 |
year={2023},
|
302 |
eprint={2304.07327},
|
config.json
CHANGED
@@ -1,23 +1,34 @@
|
|
1 |
{
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "/workspace/process/tulu-30b/source",
|
3 |
+
"architectures": [
|
4 |
+
"LlamaForCausalLM"
|
5 |
+
],
|
6 |
+
"bos_token_id": 1,
|
7 |
+
"eos_token_id": 2,
|
8 |
+
"hidden_act": "silu",
|
9 |
+
"hidden_size": 6656,
|
10 |
+
"initializer_range": 0.02,
|
11 |
+
"intermediate_size": 17920,
|
12 |
+
"max_position_embeddings": 2048,
|
13 |
+
"model_type": "llama",
|
14 |
+
"num_attention_heads": 52,
|
15 |
+
"num_hidden_layers": 60,
|
16 |
+
"pad_token_id": 0,
|
17 |
+
"rms_norm_eps": 1e-06,
|
18 |
+
"tie_word_embeddings": false,
|
19 |
+
"torch_dtype": "float16",
|
20 |
+
"transformers_version": "4.30.0.dev0",
|
21 |
+
"use_cache": true,
|
22 |
+
"vocab_size": 32001,
|
23 |
+
"quantization_config": {
|
24 |
+
"bits": 4,
|
25 |
+
"group_size": -1,
|
26 |
+
"damp_percent": 0.01,
|
27 |
+
"desc_act": true,
|
28 |
+
"sym": true,
|
29 |
+
"true_sequential": true,
|
30 |
+
"model_name_or_path": null,
|
31 |
+
"model_file_base_name": "model",
|
32 |
+
"quant_method": "gptq"
|
33 |
+
}
|
34 |
}
|
gptq_model-4bit--1g.safetensors → model.safetensors
RENAMED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f0fd8d3b4769a0271d4db8bc4015ea3074a4e845f992043c4e429b8256e235b8
|
3 |
+
size 16937503120
|
quantize_config.json
CHANGED
@@ -6,5 +6,5 @@
|
|
6 |
"sym": true,
|
7 |
"true_sequential": true,
|
8 |
"model_name_or_path": null,
|
9 |
-
"model_file_base_name":
|
10 |
}
|
|
|
6 |
"sym": true,
|
7 |
"true_sequential": true,
|
8 |
"model_name_or_path": null,
|
9 |
+
"model_file_base_name": "model"
|
10 |
}
|