TheBloke commited on
Commit
04efd1b
1 Parent(s): 887c00e

Update for Transformers GPTQ support

Browse files
README.md CHANGED
@@ -4,17 +4,20 @@ license: other
4
  ---
5
 
6
  <!-- header start -->
7
- <div style="width: 100%;">
8
- <img src="https://i.imgur.com/EBdldam.jpg" alt="TheBlokeAI" style="width: 100%; min-width: 400px; display: block; margin: auto;">
 
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/theblokeai">Chat & support: my new Discord server</a></p>
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
  # LmSys' Long Chat 7B GPTQ
@@ -143,6 +146,7 @@ It was created with group_size 128 to increase inference accuracy, but without -
143
  * Parameters: Groupsize = 128. Act Order / desc_act = False.
144
 
145
  <!-- footer start -->
 
146
  ## Discord
147
 
148
  For further support, and discussions on these models and AI in general, join us at:
@@ -162,12 +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
- **Special thanks to**: Luke from CarbonQuill, Aemon Algiz, Dmitriy Samsonov.
 
 
166
 
167
- **Patreon special mentions**: Pyrater, WelcomeToTheClub, Kalila, Mano Prime, Trenton Dambrowitz, Spiking Neurons AB, Pierre Kircher, Fen Risland, Kevin Schuppel, Luke, Rainer Wilmers, vamX, Gabriel Puliatti, Alex , Karl Bernard, Ajan Kanaga, Talal Aujan, Space Cruiser, ya boyyy, biorpg, Johann-Peter Hartmann, Asp the Wyvern, Ai Maven, Ghost , Preetika Verma, Nikolai Manek, trip7s trip, John Detwiler, Fred von Graf, Artur Olbinski, subjectnull, John Villwock, Junyu Yang, Rod A, Lone Striker, Chris McCloskey, Iucharbius , Matthew Berman, Illia Dulskyi, Khalefa Al-Ahmad, Imad Khwaja, chris gileta, Willem Michiel, Greatston Gnanesh, Derek Yates, K, Alps Aficionado, Oscar Rangel, David Flickinger, Luke Pendergrass, Deep Realms, Eugene Pentland, Cory Kujawski, terasurfer , Jonathan Leane, senxiiz, Joseph William Delisle, Sean Connelly, webtim, zynix , Nathan LeClaire.
168
 
169
  Thank you to all my generous patrons and donaters!
170
 
 
 
171
  <!-- footer end -->
172
 
173
  # Original model card: LmSys' Long Chat 7B
 
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
  # LmSys' Long Chat 7B GPTQ
 
146
  * Parameters: Groupsize = 128. Act Order / desc_act = False.
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:
 
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: LmSys' Long Chat 7B
config.json CHANGED
@@ -1,29 +1,39 @@
1
  {
2
- "_name_or_path": "longchat_7b_16k",
3
- "architectures": [
4
- "LlamaForCausalLM"
5
- ],
6
- "auto_map": {
7
  "AutoModel": "modelling_llama.LlamaModel",
8
  "AutoModelForCausalLM": "modelling_llama.LlamaForCausalLM",
9
  "AutoModelForSequenceClassification": "modelling_llama.LlamaForSequenceClassification"
10
- },
11
- "bos_token_id": 1,
12
- "eos_token_id": 2,
13
- "hidden_act": "silu",
14
- "hidden_size": 4096,
15
- "initializer_range": 0.02,
16
- "intermediate_size": 11008,
17
- "max_position_embeddings": 8192,
18
- "model_type": "llama",
19
- "num_attention_heads": 32,
20
- "num_hidden_layers": 32,
21
- "pad_token_id": 0,
22
- "rms_norm_eps": 1e-06,
23
- "tie_word_embeddings": false,
24
- "torch_dtype": "float16",
25
- "transformers_version": "4.28.1",
26
- "use_cache": true,
27
- "vocab_size": 32000,
28
- "rope_condense_ratio": 8
29
- }
 
 
 
 
 
 
 
 
 
 
 
1
  {
2
+ "_name_or_path": "longchat_7b_16k",
3
+ "architectures": [
4
+ "LlamaForCausalLM"
5
+ ],
6
+ "auto_map": {
7
  "AutoModel": "modelling_llama.LlamaModel",
8
  "AutoModelForCausalLM": "modelling_llama.LlamaForCausalLM",
9
  "AutoModelForSequenceClassification": "modelling_llama.LlamaForSequenceClassification"
10
+ },
11
+ "bos_token_id": 1,
12
+ "eos_token_id": 2,
13
+ "hidden_act": "silu",
14
+ "hidden_size": 4096,
15
+ "initializer_range": 0.02,
16
+ "intermediate_size": 11008,
17
+ "max_position_embeddings": 8192,
18
+ "model_type": "llama",
19
+ "num_attention_heads": 32,
20
+ "num_hidden_layers": 32,
21
+ "pad_token_id": 0,
22
+ "rms_norm_eps": 1e-06,
23
+ "tie_word_embeddings": false,
24
+ "torch_dtype": "float16",
25
+ "transformers_version": "4.28.1",
26
+ "use_cache": true,
27
+ "vocab_size": 32000,
28
+ "rope_condense_ratio": 8,
29
+ "quantization_config": {
30
+ "bits": 4,
31
+ "group_size": 128,
32
+ "damp_percent": 0.01,
33
+ "desc_act": false,
34
+ "sym": true,
35
+ "true_sequential": true,
36
+ "model_file_base_name": "model",
37
+ "quant_method": "gptq"
38
+ }
39
+ }
longchat-7b-16k-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:383a201dbeca09fb03be81de2b27c16d741d5b8bffd05543afffce97077db91c
3
- size 3996053352
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3e086beb52bd7f5986aea22b0c649da25d5ed30ce24956b468f0e7483f121fe3
3
+ size 3996053408
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
  }