Update for Transformers GPTQ support
Browse files- README.md +16 -6
- config.json +38 -27
- gptq_model-4bit--1g.safetensors → model.safetensors +2 -2
- quantize_config.json +1 -1
README.md
CHANGED
@@ -4,17 +4,20 @@ inference: false
|
|
4 |
---
|
5 |
|
6 |
<!-- header start -->
|
7 |
-
|
8 |
-
|
|
|
9 |
</div>
|
10 |
<div style="display: flex; justify-content: space-between; width: 100%;">
|
11 |
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
12 |
-
<p><a href="https://discord.gg/
|
13 |
</div>
|
14 |
<div style="display: flex; flex-direction: column; align-items: flex-end;">
|
15 |
-
<p><a href="https://www.patreon.com/TheBlokeAI">Want to contribute? TheBloke's Patreon page</a></p>
|
16 |
</div>
|
17 |
</div>
|
|
|
|
|
18 |
<!-- header end -->
|
19 |
|
20 |
# Eric Hartford's WizardLM Uncensored Falcon 40B GPTQ
|
@@ -143,11 +146,12 @@ This code is required at the moment because Falcon is too new to be supported by
|
|
143 |
In this repo you can see two `.py` files - these are the files that get executed. They are copied from the base repo at [Falcon-40B-Instruct](https://huggingface.co/tiiuae/falcon-40b-instruct).
|
144 |
|
145 |
<!-- footer start -->
|
|
|
146 |
## Discord
|
147 |
|
148 |
For further support, and discussions on these models and AI in general, join us at:
|
149 |
|
150 |
-
[TheBloke AI's Discord server](https://discord.gg/
|
151 |
|
152 |
## Thanks, and how to contribute.
|
153 |
|
@@ -162,9 +166,15 @@ Donaters will get priority support on any and all AI/LLM/model questions and req
|
|
162 |
* Patreon: https://patreon.com/TheBlokeAI
|
163 |
* Ko-Fi: https://ko-fi.com/TheBlokeAI
|
164 |
|
165 |
-
**
|
|
|
|
|
|
|
166 |
|
167 |
Thank you to all my generous patrons and donaters!
|
|
|
|
|
|
|
168 |
<!-- footer end -->
|
169 |
|
170 |
# Original model card: Eric Hartford's WizardLM Uncensored Falcon 40B
|
|
|
4 |
---
|
5 |
|
6 |
<!-- header start -->
|
7 |
+
<!-- 200823 -->
|
8 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
9 |
+
<img src="https://i.imgur.com/EBdldam.jpg" alt="TheBlokeAI" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
10 |
</div>
|
11 |
<div style="display: flex; justify-content: space-between; width: 100%;">
|
12 |
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
13 |
+
<p style="margin-top: 0.5em; margin-bottom: 0em;"><a href="https://discord.gg/theblokeai">Chat & support: TheBloke's Discord server</a></p>
|
14 |
</div>
|
15 |
<div style="display: flex; flex-direction: column; align-items: flex-end;">
|
16 |
+
<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>
|
17 |
</div>
|
18 |
</div>
|
19 |
+
<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>
|
20 |
+
<hr style="margin-top: 1.0em; margin-bottom: 1.0em;">
|
21 |
<!-- header end -->
|
22 |
|
23 |
# Eric Hartford's WizardLM Uncensored Falcon 40B GPTQ
|
|
|
146 |
In this repo you can see two `.py` files - these are the files that get executed. They are copied from the base repo at [Falcon-40B-Instruct](https://huggingface.co/tiiuae/falcon-40b-instruct).
|
147 |
|
148 |
<!-- footer start -->
|
149 |
+
<!-- 200823 -->
|
150 |
## Discord
|
151 |
|
152 |
For further support, and discussions on these models and AI in general, join us at:
|
153 |
|
154 |
+
[TheBloke AI's Discord server](https://discord.gg/theblokeai)
|
155 |
|
156 |
## Thanks, and how to contribute.
|
157 |
|
|
|
166 |
* Patreon: https://patreon.com/TheBlokeAI
|
167 |
* Ko-Fi: https://ko-fi.com/TheBlokeAI
|
168 |
|
169 |
+
**Special thanks to**: Aemon Algiz.
|
170 |
+
|
171 |
+
**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
|
172 |
+
|
173 |
|
174 |
Thank you to all my generous patrons and donaters!
|
175 |
+
|
176 |
+
And thank you again to a16z for their generous grant.
|
177 |
+
|
178 |
<!-- footer end -->
|
179 |
|
180 |
# Original model card: Eric Hartford's WizardLM Uncensored Falcon 40B
|
config.json
CHANGED
@@ -1,29 +1,40 @@
|
|
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 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "/workspace/WizardLM-Uncensored-falcon-40b",
|
3 |
+
"alibi": false,
|
4 |
+
"apply_residual_connection_post_layernorm": false,
|
5 |
+
"architectures": [
|
6 |
+
"RWForCausalLM"
|
7 |
+
],
|
8 |
+
"attention_dropout": 0.0,
|
9 |
+
"auto_map": {
|
10 |
+
"AutoConfig": "configuration_RW.RWConfig",
|
11 |
+
"AutoModelForCausalLM": "modelling_RW.RWForCausalLM"
|
12 |
+
},
|
13 |
+
"bias": false,
|
14 |
+
"bos_token_id": 1,
|
15 |
+
"eos_token_id": 2,
|
16 |
+
"hidden_dropout": 0.0,
|
17 |
+
"hidden_size": 8192,
|
18 |
+
"initializer_range": 0.02,
|
19 |
+
"layer_norm_epsilon": 1e-05,
|
20 |
+
"model_type": "RefinedWeb",
|
21 |
+
"n_head": 128,
|
22 |
+
"n_head_kv": 8,
|
23 |
+
"n_layer": 60,
|
24 |
+
"parallel_attn": true,
|
25 |
+
"torch_dtype": "float32",
|
26 |
+
"transformers_version": "4.30.0.dev0",
|
27 |
+
"use_cache": true,
|
28 |
+
"vocab_size": 65025,
|
29 |
+
"quantization_config": {
|
30 |
+
"bits": 4,
|
31 |
+
"group_size": -1,
|
32 |
+
"damp_percent": 0.01,
|
33 |
+
"desc_act": true,
|
34 |
+
"sym": true,
|
35 |
+
"true_sequential": true,
|
36 |
+
"model_name_or_path": null,
|
37 |
+
"model_file_base_name": "model",
|
38 |
+
"quant_method": "gptq"
|
39 |
+
}
|
40 |
}
|
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:0a6d58410ef013e7f543c3b4b9104f97858966dbedcfd5d47ab635bcecfa869d
|
3 |
+
size 22548714176
|
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 |
}
|