TheBloke commited on
Commit
4a7bb89
1 Parent(s): 6180440

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/Jq4vkcDakD">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
  # WBrown's Cassandra 6.9B GPTQ
@@ -31,7 +34,7 @@ It is the result of quantising to 4bit using [AutoGPTQ](https://github.com/PanQi
31
 
32
  ## Prompt template: NovelAI-style
33
 
34
- Examples:
35
 
36
  ```
37
  [ Author: Haven Ross; Title: The Biker's Buddy; Tags: friendship, slice of life, funny; Genre: thriller ]
@@ -73,7 +76,7 @@ from auto_gptq import AutoGPTQForCausalLM, BaseQuantizeConfig
73
  import argparse
74
 
75
  model_name_or_path = "TheBloke/cassandra-6.9B-GPTQ"
76
- model_basename = "gptq_model-4bit-128g"
77
 
78
  use_triton = False
79
 
@@ -133,11 +136,12 @@ It was created with group_size 128 to increase inference accuracy, but without -
133
  * Parameters: Groupsize = 128. Act Order / desc_act = False.
134
 
135
  <!-- footer start -->
 
136
  ## Discord
137
 
138
  For further support, and discussions on these models and AI in general, join us at:
139
 
140
- [TheBloke AI's Discord server](https://discord.gg/Jq4vkcDakD)
141
 
142
  ## Thanks, and how to contribute.
143
 
@@ -152,12 +156,15 @@ Donaters will get priority support on any and all AI/LLM/model questions and req
152
  * Patreon: https://patreon.com/TheBlokeAI
153
  * Ko-Fi: https://ko-fi.com/TheBlokeAI
154
 
155
- **Special thanks to**: Luke from CarbonQuill, Aemon Algiz, Dmitriy Samsonov.
 
 
156
 
157
- **Patreon special mentions**: Mano Prime, Fen Risland, Derek Yates, Preetika Verma, webtim, Sean Connelly, Alps Aficionado, Karl Bernard, Junyu Yang, Nathan LeClaire, Chris McCloskey, Lone Striker, Asp the Wyvern, Eugene Pentland, Imad Khwaja, trip7s trip, WelcomeToTheClub, John Detwiler, Artur Olbinski, Khalefa Al-Ahmad, Trenton Dambrowitz, Talal Aujan, Kevin Schuppel, Luke Pendergrass, Pyrater, Joseph William Delisle, terasurfer , vamX, Gabriel Puliatti, David Flickinger, Jonathan Leane, Iucharbius , Luke, Deep Realms, Cory Kujawski, ya boyyy, Illia Dulskyi, senxiiz, Johann-Peter Hartmann, John Villwock, K, Ghost , Spiking Neurons AB, Nikolai Manek, Rainer Wilmers, Pierre Kircher, biorpg, Space Cruiser, Ai Maven, subjectnull, Willem Michiel, Ajan Kanaga, Kalila, chris gileta, Oscar Rangel.
158
 
159
  Thank you to all my generous patrons and donaters!
160
 
 
 
161
  <!-- footer end -->
162
 
163
  # Original model card: WBrown's Cassandra 6.9B
 
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
  # WBrown's Cassandra 6.9B GPTQ
 
34
 
35
  ## Prompt template: NovelAI-style
36
 
37
+ Examples:
38
 
39
  ```
40
  [ Author: Haven Ross; Title: The Biker's Buddy; Tags: friendship, slice of life, funny; Genre: thriller ]
 
76
  import argparse
77
 
78
  model_name_or_path = "TheBloke/cassandra-6.9B-GPTQ"
79
+ model_basename = "model"
80
 
81
  use_triton = False
82
 
 
136
  * Parameters: Groupsize = 128. Act Order / desc_act = False.
137
 
138
  <!-- footer start -->
139
+ <!-- 200823 -->
140
  ## Discord
141
 
142
  For further support, and discussions on these models and AI in general, join us at:
143
 
144
+ [TheBloke AI's Discord server](https://discord.gg/theblokeai)
145
 
146
  ## Thanks, and how to contribute.
147
 
 
156
  * Patreon: https://patreon.com/TheBlokeAI
157
  * Ko-Fi: https://ko-fi.com/TheBlokeAI
158
 
159
+ **Special thanks to**: Aemon Algiz.
160
+
161
+ **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
162
 
 
163
 
164
  Thank you to all my generous patrons and donaters!
165
 
166
+ And thank you again to a16z for their generous grant.
167
+
168
  <!-- footer end -->
169
 
170
  # Original model card: WBrown's Cassandra 6.9B
config.json CHANGED
@@ -1,27 +1,38 @@
1
  {
2
- "_name_or_path": "/finetune-data/models/CarperAI/pythia-6.9b-deduped-4k",
3
- "architectures": [
4
- "GPTNeoXForCausalLM"
5
- ],
6
- "bos_token_id": 0,
7
- "eos_token_id": 0,
8
- "gradient_checkpointing": true,
9
- "hidden_act": "gelu",
10
- "hidden_size": 4096,
11
- "initializer_range": 0.02,
12
- "intermediate_size": 16384,
13
- "layer_norm_eps": 1e-05,
14
- "max_position_embeddings": 4096,
15
- "model_type": "gpt_neox",
16
- "num_attention_heads": 32,
17
- "num_hidden_layers": 32,
18
- "pad_token_id": 0,
19
- "rotary_emb_base": 10000,
20
- "rotary_pct": 0.25,
21
- "tie_word_embeddings": false,
22
- "torch_dtype": "float16",
23
- "transformers_version": "4.27.2",
24
- "use_cache": true,
25
- "use_parallel_residual": true,
26
- "vocab_size": 50277
 
 
 
 
 
 
 
 
 
 
 
27
  }
 
1
  {
2
+ "_name_or_path": "/finetune-data/models/CarperAI/pythia-6.9b-deduped-4k",
3
+ "architectures": [
4
+ "GPTNeoXForCausalLM"
5
+ ],
6
+ "bos_token_id": 0,
7
+ "eos_token_id": 0,
8
+ "gradient_checkpointing": true,
9
+ "hidden_act": "gelu",
10
+ "hidden_size": 4096,
11
+ "initializer_range": 0.02,
12
+ "intermediate_size": 16384,
13
+ "layer_norm_eps": 1e-05,
14
+ "max_position_embeddings": 4096,
15
+ "model_type": "gpt_neox",
16
+ "num_attention_heads": 32,
17
+ "num_hidden_layers": 32,
18
+ "pad_token_id": 0,
19
+ "rotary_emb_base": 10000,
20
+ "rotary_pct": 0.25,
21
+ "tie_word_embeddings": false,
22
+ "torch_dtype": "float16",
23
+ "transformers_version": "4.27.2",
24
+ "use_cache": true,
25
+ "use_parallel_residual": true,
26
+ "vocab_size": 50277,
27
+ "quantization_config": {
28
+ "bits": 4,
29
+ "group_size": 128,
30
+ "damp_percent": 0.01,
31
+ "desc_act": false,
32
+ "sym": true,
33
+ "true_sequential": true,
34
+ "model_name_or_path": null,
35
+ "model_file_base_name": "model",
36
+ "quant_method": "gptq"
37
+ }
38
  }
gptq_model-4bit-128g.safetensors → model.safetensors RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8fe63bc9feaa2b5df80f9f2642218fb6861873a7a3e63a1cf12dbd70f27f4bb0
3
- size 4714862240
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5baee5c1335d42e9ec3b9ea72cb25b289b884a85ab5bf1e5e527568b37178f6d
3
+ size 4714862296
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
  }