Update for Transformers GPTQ support
Browse files
README.md
CHANGED
@@ -1,9 +1,25 @@
|
|
1 |
---
|
2 |
-
license:
|
3 |
datasets:
|
4 |
- ehartford/WizardLM_alpaca_evol_instruct_70k_unfiltered
|
5 |
inference: false
|
6 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
|
8 |
# WizardLM - uncensored: An Instruction-following LLM Using Evol-Instruct
|
9 |
|
@@ -53,7 +69,38 @@ It was created without the `--act-order` parameter. It may have slightly lower i
|
|
53 |
```
|
54 |
python llama.py models/ehartford_WizardLM-7B-Uncensored c4 --wbits 4 --true-sequential --groupsize 128 --save_safetensors /workspace/eric-gptq/WizardLM-7B-uncensored-GPTQ-4bit-128g.compat.no-act-order.safetensors
|
55 |
```
|
56 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
# Eric's original model card
|
58 |
|
59 |
This is WizardLM trained with a subset of the dataset - responses that contained alignment / moralizing were removed. The intent is to train a WizardLM that doesn't have alignment built-in, so that alignment (of any sort) can be added separately with for example with a RLHF LoRA.
|
@@ -66,4 +113,4 @@ Overview of Evol-Instruct
|
|
66 |
Evol-Instruct is a novel method using LLMs instead of humans to automatically mass-produce open-domain instructions of various difficulty levels and skills range, to improve the performance of LLMs.
|
67 |
|
68 |
![info](https://github.com/nlpxucan/WizardLM/raw/main/imgs/git_overall.png)
|
69 |
-
![info](https://github.com/nlpxucan/WizardLM/raw/main/imgs/git_running.png)
|
|
|
1 |
---
|
2 |
+
license: other
|
3 |
datasets:
|
4 |
- ehartford/WizardLM_alpaca_evol_instruct_70k_unfiltered
|
5 |
inference: false
|
6 |
---
|
7 |
+
<!-- header start -->
|
8 |
+
<!-- 200823 -->
|
9 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
10 |
+
<img src="https://i.imgur.com/EBdldam.jpg" alt="TheBlokeAI" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
11 |
+
</div>
|
12 |
+
<div style="display: flex; justify-content: space-between; width: 100%;">
|
13 |
+
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
14 |
+
<p style="margin-top: 0.5em; margin-bottom: 0em;"><a href="https://discord.gg/theblokeai">Chat & support: TheBloke's Discord server</a></p>
|
15 |
+
</div>
|
16 |
+
<div style="display: flex; flex-direction: column; align-items: flex-end;">
|
17 |
+
<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>
|
18 |
+
</div>
|
19 |
+
</div>
|
20 |
+
<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>
|
21 |
+
<hr style="margin-top: 1.0em; margin-bottom: 1.0em;">
|
22 |
+
<!-- header end -->
|
23 |
|
24 |
# WizardLM - uncensored: An Instruction-following LLM Using Evol-Instruct
|
25 |
|
|
|
69 |
```
|
70 |
python llama.py models/ehartford_WizardLM-7B-Uncensored c4 --wbits 4 --true-sequential --groupsize 128 --save_safetensors /workspace/eric-gptq/WizardLM-7B-uncensored-GPTQ-4bit-128g.compat.no-act-order.safetensors
|
71 |
```
|
72 |
+
|
73 |
+
<!-- footer start -->
|
74 |
+
<!-- 200823 -->
|
75 |
+
## Discord
|
76 |
+
|
77 |
+
For further support, and discussions on these models and AI in general, join us at:
|
78 |
+
|
79 |
+
[TheBloke AI's Discord server](https://discord.gg/theblokeai)
|
80 |
+
|
81 |
+
## Thanks, and how to contribute.
|
82 |
+
|
83 |
+
Thanks to the [chirper.ai](https://chirper.ai) team!
|
84 |
+
|
85 |
+
I've had a lot of people ask if they can contribute. I enjoy providing models and helping people, and would love to be able to spend even more time doing it, as well as expanding into new projects like fine tuning/training.
|
86 |
+
|
87 |
+
If you're able and willing to contribute it will be most gratefully received and will help me to keep providing more models, and to start work on new AI projects.
|
88 |
+
|
89 |
+
Donaters will get priority support on any and all AI/LLM/model questions and requests, access to a private Discord room, plus other benefits.
|
90 |
+
|
91 |
+
* Patreon: https://patreon.com/TheBlokeAI
|
92 |
+
* Ko-Fi: https://ko-fi.com/TheBlokeAI
|
93 |
+
|
94 |
+
**Special thanks to**: Aemon Algiz.
|
95 |
+
|
96 |
+
**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
|
97 |
+
|
98 |
+
|
99 |
+
Thank you to all my generous patrons and donaters!
|
100 |
+
|
101 |
+
And thank you again to a16z for their generous grant.
|
102 |
+
|
103 |
+
<!-- footer end -->
|
104 |
# Eric's original model card
|
105 |
|
106 |
This is WizardLM trained with a subset of the dataset - responses that contained alignment / moralizing were removed. The intent is to train a WizardLM that doesn't have alignment built-in, so that alignment (of any sort) can be added separately with for example with a RLHF LoRA.
|
|
|
113 |
Evol-Instruct is a novel method using LLMs instead of humans to automatically mass-produce open-domain instructions of various difficulty levels and skills range, to improve the performance of LLMs.
|
114 |
|
115 |
![info](https://github.com/nlpxucan/WizardLM/raw/main/imgs/git_overall.png)
|
116 |
+
![info](https://github.com/nlpxucan/WizardLM/raw/main/imgs/git_running.png)
|
config.json
CHANGED
@@ -19,5 +19,15 @@
|
|
19 |
"torch_dtype": "float16",
|
20 |
"transformers_version": "4.29.0.dev0",
|
21 |
"use_cache": true,
|
22 |
-
"vocab_size": 32001
|
23 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
"torch_dtype": "float16",
|
20 |
"transformers_version": "4.29.0.dev0",
|
21 |
"use_cache": true,
|
22 |
+
"vocab_size": 32001,
|
23 |
+
"quantization_config": {
|
24 |
+
"bits": 4,
|
25 |
+
"group_size": 128,
|
26 |
+
"damp_percent": 0.01,
|
27 |
+
"desc_act": false,
|
28 |
+
"sym": true,
|
29 |
+
"true_sequential": true,
|
30 |
+
"model_file_base_name": "model",
|
31 |
+
"quant_method": "gptq"
|
32 |
+
}
|
33 |
+
}
|
WizardLM-7B-uncensored-GPTQ-4bit-128g.ooba.no-act-order.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:dd02b1f3124435d96efe1158714405a15192805c98c4352002ccda550041c4ae
|
3 |
+
size 3996069792
|
quantize_config.json
CHANGED
@@ -1,8 +1,9 @@
|
|
1 |
{
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
|
|
8 |
}
|
|
|
1 |
{
|
2 |
+
"bits": 4,
|
3 |
+
"group_size": 128,
|
4 |
+
"damp_percent": 0.01,
|
5 |
+
"desc_act": false,
|
6 |
+
"sym": true,
|
7 |
+
"true_sequential": true,
|
8 |
+
"model_file_base_name": "model"
|
9 |
}
|