TheBloke commited on
Commit
12d07fd
1 Parent(s): 5d5505c

Update for Transformers GPTQ support

Browse files
README.md CHANGED
@@ -5,17 +5,20 @@ model_type: llama
5
  ---
6
 
7
  <!-- header start -->
8
- <div style="width: 100%;">
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><a href="https://discord.gg/theblokeai">Chat & support: my new Discord server</a></p>
14
  </div>
15
  <div style="display: flex; flex-direction: column; align-items: flex-end;">
16
- <p><a href="https://www.patreon.com/TheBlokeAI">Want to contribute? TheBloke's Patreon page</a></p>
17
  </div>
18
  </div>
 
 
19
  <!-- header end -->
20
 
21
  # Tap-M's Luna AI Llama2 Uncensored GPTQ
@@ -97,7 +100,7 @@ from transformers import AutoTokenizer, pipeline, logging
97
  from auto_gptq import AutoGPTQForCausalLM, BaseQuantizeConfig
98
 
99
  model_name_or_path = "TheBloke/Luna-AI-Llama2-Uncensored-GPTQ"
100
- model_basename = "gptq_model-4bit-128g"
101
 
102
  use_triton = False
103
 
@@ -160,6 +163,7 @@ The files provided will work with AutoGPTQ (CUDA and Triton modes), GPTQ-for-LLa
160
  ExLlama works with Llama models in 4-bit. Please see the Provided Files table above for per-file compatibility.
161
 
162
  <!-- footer start -->
 
163
  ## Discord
164
 
165
  For further support, and discussions on these models and AI in general, join us at:
@@ -179,12 +183,15 @@ Donaters will get priority support on any and all AI/LLM/model questions and req
179
  * Patreon: https://patreon.com/TheBlokeAI
180
  * Ko-Fi: https://ko-fi.com/TheBlokeAI
181
 
182
- **Special thanks to**: Luke from CarbonQuill, Aemon Algiz.
 
 
183
 
184
- **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.
185
 
186
  Thank you to all my generous patrons and donaters!
187
 
 
 
188
  <!-- footer end -->
189
 
190
  # Original model card: Tap-M's Luna AI Llama2 Uncensored
@@ -194,7 +201,7 @@ Thank you to all my generous patrons and donaters!
194
 
195
  <h2>Model Description</h2>
196
  <p>“Luna AI Llama2 Uncensored” is a Llama2 based Chat model <br />fine-tuned on over 40,000 long form chat discussions <br />
197
- This model was fine-tuned by Tap, the creator of Luna AI. <br />
198
  The result is an enhanced Llama2 7b model that rivals ChatGPT in performance <br />across a variety of tasks.</p>
199
  <p>This model stands out for its long responses, low hallucination rate, and absence of censorship mechanisms. <br /></p>
200
 
@@ -230,15 +237,15 @@ ASSISTANT: Of course! Friends are always here for each other. What do you like t
230
  |Average|-|-|0.5114|0.0150|
231
 
232
  <h2>Ethical considerations</h2>
233
- <p>The data used to train the model is collected from various sources, mostly from the Web. <br />
234
  As such, it contains offensive, harmful and biased content. <br />We thus expect the model to exhibit such biases from the training data.</p>
235
 
236
  <h2>Human life</h2>
237
  <p>The model is not intended to inform decisions about matters central to human life, <br />and should not be used in such a way.</p>
238
 
239
  <h2>Risks and harms</h2>
240
- <p>Risks and harms of large language models include the generation of harmful, offensive or biased content. <br />
241
- These models are often prone to generating incorrect information, sometimes referred to as hallucinations.
242
  <br /> We do not expect our model to be an exception in this regard.</p>
243
 
244
  </div>
 
5
  ---
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
  # Tap-M's Luna AI Llama2 Uncensored GPTQ
 
100
  from auto_gptq import AutoGPTQForCausalLM, BaseQuantizeConfig
101
 
102
  model_name_or_path = "TheBloke/Luna-AI-Llama2-Uncensored-GPTQ"
103
+ model_basename = "model"
104
 
105
  use_triton = False
106
 
 
163
  ExLlama works with Llama models in 4-bit. Please see the Provided Files table above for per-file compatibility.
164
 
165
  <!-- footer start -->
166
+ <!-- 200823 -->
167
  ## Discord
168
 
169
  For further support, and discussions on these models and AI in general, join us at:
 
183
  * Patreon: https://patreon.com/TheBlokeAI
184
  * Ko-Fi: https://ko-fi.com/TheBlokeAI
185
 
186
+ **Special thanks to**: Aemon Algiz.
187
+
188
+ **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
189
 
 
190
 
191
  Thank you to all my generous patrons and donaters!
192
 
193
+ And thank you again to a16z for their generous grant.
194
+
195
  <!-- footer end -->
196
 
197
  # Original model card: Tap-M's Luna AI Llama2 Uncensored
 
201
 
202
  <h2>Model Description</h2>
203
  <p>“Luna AI Llama2 Uncensored” is a Llama2 based Chat model <br />fine-tuned on over 40,000 long form chat discussions <br />
204
+ This model was fine-tuned by Tap, the creator of Luna AI. <br />
205
  The result is an enhanced Llama2 7b model that rivals ChatGPT in performance <br />across a variety of tasks.</p>
206
  <p>This model stands out for its long responses, low hallucination rate, and absence of censorship mechanisms. <br /></p>
207
 
 
237
  |Average|-|-|0.5114|0.0150|
238
 
239
  <h2>Ethical considerations</h2>
240
+ <p>The data used to train the model is collected from various sources, mostly from the Web. <br />
241
  As such, it contains offensive, harmful and biased content. <br />We thus expect the model to exhibit such biases from the training data.</p>
242
 
243
  <h2>Human life</h2>
244
  <p>The model is not intended to inform decisions about matters central to human life, <br />and should not be used in such a way.</p>
245
 
246
  <h2>Risks and harms</h2>
247
+ <p>Risks and harms of large language models include the generation of harmful, offensive or biased content. <br />
248
+ These models are often prone to generating incorrect information, sometimes referred to as hallucinations.
249
  <br /> We do not expect our model to be an exception in this regard.</p>
250
 
251
  </div>
config.json CHANGED
@@ -1,23 +1,34 @@
1
  {
2
- "_name_or_path": "TheBloke/Llama-2-7B-fp16",
3
- "architectures": [
4
- "LlamaForCausalLM"
5
- ],
6
- "bos_token_id": 1,
7
- "eos_token_id": 2,
8
- "hidden_act": "silu",
9
- "hidden_size": 4096,
10
- "initializer_range": 0.02,
11
- "intermediate_size": 11008,
12
- "max_position_embeddings": 2048,
13
- "model_type": "llama",
14
- "num_attention_heads": 32,
15
- "num_hidden_layers": 32,
16
- "pad_token_id": 0,
17
- "rms_norm_eps": 1e-05,
18
- "tie_word_embeddings": false,
19
- "torch_dtype": "float32",
20
- "transformers_version": "4.28.1",
21
- "use_cache": true,
22
- "vocab_size": 32000
 
 
 
 
 
 
 
 
 
 
 
23
  }
 
1
  {
2
+ "_name_or_path": "TheBloke/Llama-2-7B-fp16",
3
+ "architectures": [
4
+ "LlamaForCausalLM"
5
+ ],
6
+ "bos_token_id": 1,
7
+ "eos_token_id": 2,
8
+ "hidden_act": "silu",
9
+ "hidden_size": 4096,
10
+ "initializer_range": 0.02,
11
+ "intermediate_size": 11008,
12
+ "max_position_embeddings": 2048,
13
+ "model_type": "llama",
14
+ "num_attention_heads": 32,
15
+ "num_hidden_layers": 32,
16
+ "pad_token_id": 0,
17
+ "rms_norm_eps": 1e-05,
18
+ "tie_word_embeddings": false,
19
+ "torch_dtype": "float32",
20
+ "transformers_version": "4.28.1",
21
+ "use_cache": true,
22
+ "vocab_size": 32000,
23
+ "quantization_config": {
24
+ "bits": 4,
25
+ "group_size": 32,
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-32g.safetensors → model.safetensors RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2cb3bc76aaa525acf1ce3a588b9e4de93a0e3c625f5bc3866d1c9d82d66d07e6
3
- size 4276179984
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f9243bdea994f49f68e5fc5b451c6ba5b72f37227f1c140d4dcfad1473755bee
3
+ size 4276180040
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": null
10
  }
 
6
  "sym": true,
7
  "true_sequential": true,
8
  "model_name_or_path": null,
9
+ "model_file_base_name": "model"
10
  }