TheBloke commited on
Commit
5a4c2ea
1 Parent(s): 51188fc

Update for Transformers GPTQ support

Browse files
README.md CHANGED
@@ -7,17 +7,20 @@ model_type: llama
7
  ---
8
 
9
  <!-- header start -->
10
- <div style="width: 100%;">
11
- <img src="https://i.imgur.com/EBdldam.jpg" alt="TheBlokeAI" style="width: 100%; min-width: 400px; display: block; margin: auto;">
 
12
  </div>
13
  <div style="display: flex; justify-content: space-between; width: 100%;">
14
  <div style="display: flex; flex-direction: column; align-items: flex-start;">
15
- <p><a href="https://discord.gg/theblokeai">Chat & support: my new Discord server</a></p>
16
  </div>
17
  <div style="display: flex; flex-direction: column; align-items: flex-end;">
18
- <p><a href="https://www.patreon.com/TheBlokeAI">Want to contribute? TheBloke's Patreon page</a></p>
19
  </div>
20
  </div>
 
 
21
  <!-- header end -->
22
 
23
  # Open-Orca's OpenChat V2 x OpenOrca Preview 2 GPTQ
@@ -187,6 +190,7 @@ The files provided will work with AutoGPTQ (CUDA and Triton modes), GPTQ-for-LLa
187
  ExLlama works with Llama models in 4-bit. Please see the Provided Files table above for per-file compatibility.
188
 
189
  <!-- footer start -->
 
190
  ## Discord
191
 
192
  For further support, and discussions on these models and AI in general, join us at:
@@ -206,12 +210,15 @@ Donaters will get priority support on any and all AI/LLM/model questions and req
206
  * Patreon: https://patreon.com/TheBlokeAI
207
  * Ko-Fi: https://ko-fi.com/TheBlokeAI
208
 
209
- **Special thanks to**: Luke from CarbonQuill, Aemon Algiz.
 
 
210
 
211
- **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.
212
 
213
  Thank you to all my generous patrons and donaters!
214
 
 
 
215
  <!-- footer end -->
216
 
217
  # Original model card: Open-Orca's OpenChat V2 x OpenOrca Preview 2
@@ -275,7 +282,7 @@ def tokenize_single_input(tokenizer, prompt):
275
 
276
  def _tokenize_special(special_name):
277
  return tokenizer.convert_tokens_to_ids(special_name)
278
-
279
  return [_tokenize_special(bos_token)] + _tokenize(human_prefix) + _tokenize(prompt) + [_tokenize_special(eot_token)] + \
280
  _tokenize(prefix)
281
  ```
 
7
  ---
8
 
9
  <!-- header start -->
10
+ <!-- 200823 -->
11
+ <div style="width: auto; margin-left: auto; margin-right: auto">
12
+ <img src="https://i.imgur.com/EBdldam.jpg" alt="TheBlokeAI" style="width: 100%; min-width: 400px; display: block; margin: auto;">
13
  </div>
14
  <div style="display: flex; justify-content: space-between; width: 100%;">
15
  <div style="display: flex; flex-direction: column; align-items: flex-start;">
16
+ <p style="margin-top: 0.5em; margin-bottom: 0em;"><a href="https://discord.gg/theblokeai">Chat & support: TheBloke's Discord server</a></p>
17
  </div>
18
  <div style="display: flex; flex-direction: column; align-items: flex-end;">
19
+ <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>
20
  </div>
21
  </div>
22
+ <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>
23
+ <hr style="margin-top: 1.0em; margin-bottom: 1.0em;">
24
  <!-- header end -->
25
 
26
  # Open-Orca's OpenChat V2 x OpenOrca Preview 2 GPTQ
 
190
  ExLlama works with Llama models in 4-bit. Please see the Provided Files table above for per-file compatibility.
191
 
192
  <!-- footer start -->
193
+ <!-- 200823 -->
194
  ## Discord
195
 
196
  For further support, and discussions on these models and AI in general, join us at:
 
210
  * Patreon: https://patreon.com/TheBlokeAI
211
  * Ko-Fi: https://ko-fi.com/TheBlokeAI
212
 
213
+ **Special thanks to**: Aemon Algiz.
214
+
215
+ **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
216
 
 
217
 
218
  Thank you to all my generous patrons and donaters!
219
 
220
+ And thank you again to a16z for their generous grant.
221
+
222
  <!-- footer end -->
223
 
224
  # Original model card: Open-Orca's OpenChat V2 x OpenOrca Preview 2
 
282
 
283
  def _tokenize_special(special_name):
284
  return tokenizer.convert_tokens_to_ids(special_name)
285
+
286
  return [_tokenize_special(bos_token)] + _tokenize(human_prefix) + _tokenize(prompt) + [_tokenize_special(eot_token)] + \
287
  _tokenize(prefix)
288
  ```
config.json CHANGED
@@ -1,23 +1,33 @@
1
  {
2
- "_name_or_path": "/data/one/LLaMA_13B_with_EOT_token",
3
- "architectures": [
4
- "LlamaForCausalLM"
5
- ],
6
- "bos_token_id": 1,
7
- "eos_token_id": 2,
8
- "hidden_act": "silu",
9
- "hidden_size": 5120,
10
- "initializer_range": 0.02,
11
- "intermediate_size": 13824,
12
- "max_position_embeddings": 2048,
13
- "model_type": "llama",
14
- "num_attention_heads": 40,
15
- "num_hidden_layers": 40,
16
- "pad_token_id": 0,
17
- "rms_norm_eps": 1e-06,
18
- "tie_word_embeddings": false,
19
- "torch_dtype": "bfloat16",
20
- "transformers_version": "4.30.1",
21
- "use_cache": true,
22
- "vocab_size": 32001
 
 
 
 
 
 
 
 
 
 
23
  }
 
1
  {
2
+ "_name_or_path": "/data/one/LLaMA_13B_with_EOT_token",
3
+ "architectures": [
4
+ "LlamaForCausalLM"
5
+ ],
6
+ "bos_token_id": 1,
7
+ "eos_token_id": 2,
8
+ "hidden_act": "silu",
9
+ "hidden_size": 5120,
10
+ "initializer_range": 0.02,
11
+ "intermediate_size": 13824,
12
+ "max_position_embeddings": 2048,
13
+ "model_type": "llama",
14
+ "num_attention_heads": 40,
15
+ "num_hidden_layers": 40,
16
+ "pad_token_id": 0,
17
+ "rms_norm_eps": 1e-06,
18
+ "tie_word_embeddings": false,
19
+ "torch_dtype": "bfloat16",
20
+ "transformers_version": "4.30.1",
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
  }
openorca-openchat-v2-preview2-GPTQ-4bit-128g.no-act.order.safetensors → model.safetensors RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:738a81c469fe067cec94b9afcc1eca6aa58b52ccc9bb3566c2a7389667a52f11
3
- size 7454817720
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cbb669d29905f7b3ae6bf8cc378708031ded37702bab3c704388fddd70dd9b44
3
+ size 7454817784
quantize_config.json CHANGED
@@ -1,8 +1,9 @@
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
  }
 
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
  }