TheBloke commited on
Commit
8997d50
1 Parent(s): 0acf473

Update for Transformers GPTQ support

Browse files
README.md CHANGED
@@ -6,17 +6,20 @@ datasets:
6
  ---
7
 
8
  <!-- header start -->
9
- <div style="width: 100%;">
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><a href="https://discord.gg/Jq4vkcDakD">Chat & support: my new Discord server</a></p>
15
  </div>
16
  <div style="display: flex; flex-direction: column; align-items: flex-end;">
17
- <p><a href="https://www.patreon.com/TheBlokeAI">Want to contribute? TheBloke's Patreon page</a></p>
18
  </div>
19
  </div>
 
 
20
  <!-- header end -->
21
 
22
  # Jon Durbin's Airoboros 33B GPT4 GPTQ
@@ -68,7 +71,7 @@ from auto_gptq import AutoGPTQForCausalLM, BaseQuantizeConfig
68
  import argparse
69
 
70
  model_name_or_path = "TheBloke/airoboros-33b-gpt4-GPTQ"
71
- model_basename = "gptq_model-4bit--1g"
72
 
73
  use_triton = False
74
 
@@ -126,11 +129,12 @@ It was created without group_size to lower VRAM requirements, and with --act-ord
126
  * Parameters: Groupsize = -1. Act Order / desc_act = True.
127
 
128
  <!-- footer start -->
 
129
  ## Discord
130
 
131
  For further support, and discussions on these models and AI in general, join us at:
132
 
133
- [TheBloke AI's Discord server](https://discord.gg/Jq4vkcDakD)
134
 
135
  ## Thanks, and how to contribute.
136
 
@@ -145,12 +149,15 @@ Donaters will get priority support on any and all AI/LLM/model questions and req
145
  * Patreon: https://patreon.com/TheBlokeAI
146
  * Ko-Fi: https://ko-fi.com/TheBlokeAI
147
 
148
- **Special thanks to**: Luke from CarbonQuill, Aemon Algiz, Dmitriy Samsonov.
 
 
149
 
150
- **Patreon special mentions**: Oscar Rangel, Eugene Pentland, Talal Aujan, Cory Kujawski, Luke, Asp the Wyvern, Ai Maven, Pyrater, Alps Aficionado, senxiiz, Willem Michiel, Junyu Yang, trip7s trip, Sebastain Graf, Joseph William Delisle, Lone Striker, Jonathan Leane, Johann-Peter Hartmann, David Flickinger, Spiking Neurons AB, Kevin Schuppel, Mano Prime, Dmitriy Samsonov, Sean Connelly, Nathan LeClaire, Alain Rossmann, Fen Risland, Derek Yates, Luke Pendergrass, Nikolai Manek, Khalefa Al-Ahmad, Artur Olbinski, John Detwiler, Ajan Kanaga, Imad Khwaja, Trenton Dambrowitz, Kalila, vamX, webtim, Illia Dulskyi.
151
 
152
  Thank you to all my generous patrons and donaters!
153
 
 
 
154
  <!-- footer end -->
155
 
156
  # Original model card: Jon Durbin's Airoboros 33B GPT4
@@ -316,7 +323,7 @@ Once exploited for logging and mining, today the sparsely populated Upper Penins
316
  The Lower Peninsula is a hub for manufacturing, forestry, agriculture, services, and high-tech industry.
317
  ENDINPUT
318
  BEGININSTRUCTION
319
- What is Michigan's capital?
320
  Give me a JSON object with 3 facts from Foolo's article.
321
  What are the states that border Michigan?
322
  Reference?
 
6
  ---
7
 
8
  <!-- header start -->
9
+ <!-- 200823 -->
10
+ <div style="width: auto; margin-left: auto; margin-right: auto">
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 style="margin-top: 0.5em; margin-bottom: 0em;"><a href="https://discord.gg/theblokeai">Chat & support: TheBloke's Discord server</a></p>
16
  </div>
17
  <div style="display: flex; flex-direction: column; align-items: flex-end;">
18
+ <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>
19
  </div>
20
  </div>
21
+ <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>
22
+ <hr style="margin-top: 1.0em; margin-bottom: 1.0em;">
23
  <!-- header end -->
24
 
25
  # Jon Durbin's Airoboros 33B GPT4 GPTQ
 
71
  import argparse
72
 
73
  model_name_or_path = "TheBloke/airoboros-33b-gpt4-GPTQ"
74
+ model_basename = "model"
75
 
76
  use_triton = False
77
 
 
129
  * Parameters: Groupsize = -1. Act Order / desc_act = True.
130
 
131
  <!-- footer start -->
132
+ <!-- 200823 -->
133
  ## Discord
134
 
135
  For further support, and discussions on these models and AI in general, join us at:
136
 
137
+ [TheBloke AI's Discord server](https://discord.gg/theblokeai)
138
 
139
  ## Thanks, and how to contribute.
140
 
 
149
  * Patreon: https://patreon.com/TheBlokeAI
150
  * Ko-Fi: https://ko-fi.com/TheBlokeAI
151
 
152
+ **Special thanks to**: Aemon Algiz.
153
+
154
+ **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
155
 
 
156
 
157
  Thank you to all my generous patrons and donaters!
158
 
159
+ And thank you again to a16z for their generous grant.
160
+
161
  <!-- footer end -->
162
 
163
  # Original model card: Jon Durbin's Airoboros 33B GPT4
 
323
  The Lower Peninsula is a hub for manufacturing, forestry, agriculture, services, and high-tech industry.
324
  ENDINPUT
325
  BEGININSTRUCTION
326
+ What is Michigan's capital?
327
  Give me a JSON object with 3 facts from Foolo's article.
328
  What are the states that border Michigan?
329
  Reference?
config.json CHANGED
@@ -1,24 +1,35 @@
1
  {
2
- "_name_or_path": "airoboros-33b-gpt4",
3
- "architectures": [
4
- "LlamaForCausalLM"
5
- ],
6
- "bos_token_id": 0,
7
- "eos_token_id": 1,
8
- "hidden_act": "silu",
9
- "hidden_size": 6656,
10
- "initializer_range": 0.02,
11
- "intermediate_size": 17920,
12
- "max_position_embeddings": 2048,
13
- "max_sequence_length": 2048,
14
- "model_type": "llama",
15
- "num_attention_heads": 52,
16
- "num_hidden_layers": 60,
17
- "pad_token_id": -1,
18
- "rms_norm_eps": 1e-06,
19
- "tie_word_embeddings": false,
20
- "torch_dtype": "float16",
21
- "transformers_version": "4.31.0.dev0",
22
- "use_cache": true,
23
- "vocab_size": 32000
 
 
 
 
 
 
 
 
 
 
 
24
  }
 
1
  {
2
+ "_name_or_path": "airoboros-33b-gpt4",
3
+ "architectures": [
4
+ "LlamaForCausalLM"
5
+ ],
6
+ "bos_token_id": 0,
7
+ "eos_token_id": 1,
8
+ "hidden_act": "silu",
9
+ "hidden_size": 6656,
10
+ "initializer_range": 0.02,
11
+ "intermediate_size": 17920,
12
+ "max_position_embeddings": 2048,
13
+ "max_sequence_length": 2048,
14
+ "model_type": "llama",
15
+ "num_attention_heads": 52,
16
+ "num_hidden_layers": 60,
17
+ "pad_token_id": -1,
18
+ "rms_norm_eps": 1e-06,
19
+ "tie_word_embeddings": false,
20
+ "torch_dtype": "float16",
21
+ "transformers_version": "4.31.0.dev0",
22
+ "use_cache": true,
23
+ "vocab_size": 32000,
24
+ "quantization_config": {
25
+ "bits": 4,
26
+ "group_size": -1,
27
+ "damp_percent": 0.01,
28
+ "desc_act": true,
29
+ "sym": true,
30
+ "true_sequential": true,
31
+ "model_name_or_path": null,
32
+ "model_file_base_name": "model",
33
+ "quant_method": "gptq"
34
+ }
35
  }
gptq_model-4bit--1g.safetensors → model.safetensors RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ecefd8ea366e67caa79e3bd56b34dc01c4a9dacdbfbe97eaf365625207314607
3
- size 16937476440
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d07aef1cd309c53bb8db5686e47f0601107c5f2b3ce26fff04196604ce79279a
3
+ size 16937476496
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
  }