Text Generation
Transformers
Safetensors
English
llama
text-generation-inference
4-bit precision
TheBloke commited on
Commit
11cd889
1 Parent(s): 3d3113d

Update for Transformers GPTQ support

Browse files
README.md CHANGED
@@ -10,17 +10,20 @@ language:
10
  ---
11
 
12
  <!-- header start -->
13
- <div style="width: 100%;">
14
- <img src="https://i.imgur.com/EBdldam.jpg" alt="TheBlokeAI" style="width: 100%; min-width: 400px; display: block; margin: auto;">
 
15
  </div>
16
  <div style="display: flex; justify-content: space-between; width: 100%;">
17
  <div style="display: flex; flex-direction: column; align-items: flex-start;">
18
- <p><a href="https://discord.gg/Jq4vkcDakD">Chat & support: my new Discord server</a></p>
19
  </div>
20
  <div style="display: flex; flex-direction: column; align-items: flex-end;">
21
- <p><a href="https://www.patreon.com/TheBlokeAI">Want to contribute? TheBloke's Patreon page</a></p>
22
  </div>
23
  </div>
 
 
24
  <!-- header end -->
25
 
26
  # Allen AI's Tulu 13B GPTQ
@@ -83,7 +86,7 @@ from auto_gptq import AutoGPTQForCausalLM, BaseQuantizeConfig
83
  import argparse
84
 
85
  model_name_or_path = "TheBloke/tulu-13B-GPTQ"
86
- model_basename = "gptq_model-4bit-128g"
87
 
88
  use_triton = False
89
 
@@ -141,11 +144,12 @@ It was created with group_size 128 to increase inference accuracy, but without -
141
  * Parameters: Groupsize = 128. Act Order / desc_act = False.
142
 
143
  <!-- footer start -->
 
144
  ## Discord
145
 
146
  For further support, and discussions on these models and AI in general, join us at:
147
 
148
- [TheBloke AI's Discord server](https://discord.gg/Jq4vkcDakD)
149
 
150
  ## Thanks, and how to contribute.
151
 
@@ -160,12 +164,15 @@ Donaters will get priority support on any and all AI/LLM/model questions and req
160
  * Patreon: https://patreon.com/TheBlokeAI
161
  * Ko-Fi: https://ko-fi.com/TheBlokeAI
162
 
163
- **Special thanks to**: Luke from CarbonQuill, Aemon Algiz, Dmitriy Samsonov.
 
 
164
 
165
- **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.
166
 
167
  Thank you to all my generous patrons and donaters!
168
 
 
 
169
  <!-- footer end -->
170
 
171
  # Original model card: Allen AI's Tulu 13B
@@ -219,7 +226,7 @@ If you use this model, please cite our work, the llama paper, and the original d
219
 
220
  ```
221
  @misc{wang2023far,
222
- title={How Far Can Camels Go? Exploring the State of Instruction Tuning on Open Resources},
223
  author={Yizhong Wang and Hamish Ivison and Pradeep Dasigi and Jack Hessel and Tushar Khot and Khyathi Raghavi Chandu and David Wadden and Kelsey MacMillan and Noah A. Smith and Iz Beltagy and Hannaneh Hajishirzi},
224
  year={2023},
225
  eprint={2306.04751},
@@ -230,7 +237,7 @@ If you use this model, please cite our work, the llama paper, and the original d
230
 
231
  ```
232
  @misc{touvron2023llama,
233
- title={LLaMA: Open and Efficient Foundation Language Models},
234
  author={Hugo Touvron and Thibaut Lavril and Gautier Izacard and Xavier Martinet and Marie-Anne Lachaux and Timothée Lacroix and Baptiste Rozière and Naman Goyal and Eric Hambro and Faisal Azhar and Aurelien Rodriguez and Armand Joulin and Edouard Grave and Guillaume Lample},
235
  year={2023},
236
  eprint={2302.13971},
@@ -262,7 +269,7 @@ If you use this model, please cite our work, the llama paper, and the original d
262
 
263
  ```
264
  @misc{köpf2023openassistant,
265
- title={OpenAssistant Conversations -- Democratizing Large Language Model Alignment},
266
  author={Andreas Köpf and Yannic Kilcher and Dimitri von Rütte and Sotiris Anagnostidis and Zhi-Rui Tam and Keith Stevens and Abdullah Barhoum and Nguyen Minh Duc and Oliver Stanley and Richárd Nagyfi and Shahul ES and Sameer Suri and David Glushkov and Arnav Dantuluri and Andrew Maguire and Christoph Schuhmann and Huu Nguyen and Alexander Mattick},
267
  year={2023},
268
  eprint={2304.07327},
 
10
  ---
11
 
12
  <!-- header start -->
13
+ <!-- 200823 -->
14
+ <div style="width: auto; margin-left: auto; margin-right: auto">
15
+ <img src="https://i.imgur.com/EBdldam.jpg" alt="TheBlokeAI" style="width: 100%; min-width: 400px; display: block; margin: auto;">
16
  </div>
17
  <div style="display: flex; justify-content: space-between; width: 100%;">
18
  <div style="display: flex; flex-direction: column; align-items: flex-start;">
19
+ <p style="margin-top: 0.5em; margin-bottom: 0em;"><a href="https://discord.gg/theblokeai">Chat & support: TheBloke's Discord server</a></p>
20
  </div>
21
  <div style="display: flex; flex-direction: column; align-items: flex-end;">
22
+ <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>
23
  </div>
24
  </div>
25
+ <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>
26
+ <hr style="margin-top: 1.0em; margin-bottom: 1.0em;">
27
  <!-- header end -->
28
 
29
  # Allen AI's Tulu 13B GPTQ
 
86
  import argparse
87
 
88
  model_name_or_path = "TheBloke/tulu-13B-GPTQ"
89
+ model_basename = "model"
90
 
91
  use_triton = False
92
 
 
144
  * Parameters: Groupsize = 128. Act Order / desc_act = False.
145
 
146
  <!-- footer start -->
147
+ <!-- 200823 -->
148
  ## Discord
149
 
150
  For further support, and discussions on these models and AI in general, join us at:
151
 
152
+ [TheBloke AI's Discord server](https://discord.gg/theblokeai)
153
 
154
  ## Thanks, and how to contribute.
155
 
 
164
  * Patreon: https://patreon.com/TheBlokeAI
165
  * Ko-Fi: https://ko-fi.com/TheBlokeAI
166
 
167
+ **Special thanks to**: Aemon Algiz.
168
+
169
+ **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
170
 
 
171
 
172
  Thank you to all my generous patrons and donaters!
173
 
174
+ And thank you again to a16z for their generous grant.
175
+
176
  <!-- footer end -->
177
 
178
  # Original model card: Allen AI's Tulu 13B
 
226
 
227
  ```
228
  @misc{wang2023far,
229
+ title={How Far Can Camels Go? Exploring the State of Instruction Tuning on Open Resources},
230
  author={Yizhong Wang and Hamish Ivison and Pradeep Dasigi and Jack Hessel and Tushar Khot and Khyathi Raghavi Chandu and David Wadden and Kelsey MacMillan and Noah A. Smith and Iz Beltagy and Hannaneh Hajishirzi},
231
  year={2023},
232
  eprint={2306.04751},
 
237
 
238
  ```
239
  @misc{touvron2023llama,
240
+ title={LLaMA: Open and Efficient Foundation Language Models},
241
  author={Hugo Touvron and Thibaut Lavril and Gautier Izacard and Xavier Martinet and Marie-Anne Lachaux and Timothée Lacroix and Baptiste Rozière and Naman Goyal and Eric Hambro and Faisal Azhar and Aurelien Rodriguez and Armand Joulin and Edouard Grave and Guillaume Lample},
242
  year={2023},
243
  eprint={2302.13971},
 
269
 
270
  ```
271
  @misc{köpf2023openassistant,
272
+ title={OpenAssistant Conversations -- Democratizing Large Language Model Alignment},
273
  author={Andreas Köpf and Yannic Kilcher and Dimitri von Rütte and Sotiris Anagnostidis and Zhi-Rui Tam and Keith Stevens and Abdullah Barhoum and Nguyen Minh Duc and Oliver Stanley and Richárd Nagyfi and Shahul ES and Sameer Suri and David Glushkov and Arnav Dantuluri and Andrew Maguire and Christoph Schuhmann and Huu Nguyen and Alexander Mattick},
274
  year={2023},
275
  eprint={2304.07327},
config.json CHANGED
@@ -1,23 +1,34 @@
1
  {
2
- "_name_or_path": "/workspace/process/tulu-13b/source",
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": "float32",
20
- "transformers_version": "4.30.0.dev0",
21
- "use_cache": true,
22
- "vocab_size": 32001
 
 
 
 
 
 
 
 
 
 
 
23
  }
 
1
  {
2
+ "_name_or_path": "/workspace/process/tulu-13b/source",
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": "float32",
20
+ "transformers_version": "4.30.0.dev0",
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_name_or_path": null,
31
+ "model_file_base_name": "model",
32
+ "quant_method": "gptq"
33
+ }
34
  }
gptq_model-4bit-128g.safetensors → model.safetensors RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ce7224e4f4b783d04656505148d60a1512fd52fb57435801934cdabf82f68eb1
3
- size 7259469904
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:15b0098ec8b71768659ff3af94f5013675f896cb37604f954213fdea05854edb
3
+ size 7259469960
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
  }