TheBloke commited on
Commit
6490f46
1 Parent(s): 5539714

Update for Transformers GPTQ support

Browse files
README.md CHANGED
@@ -4,17 +4,20 @@ license: bigcode-openrail-m
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
  # WizardLM's WizardCoder 15B 1.0 GPTQ
@@ -113,11 +116,12 @@ It was created without group_size to lower VRAM requirements, and with --act-ord
113
  * Parameters: Groupsize = -1. Act Order / desc_act = True.
114
 
115
  <!-- footer start -->
 
116
  ## Discord
117
 
118
  For further support, and discussions on these models and AI in general, join us at:
119
 
120
- [TheBloke AI's Discord server](https://discord.gg/Jq4vkcDakD)
121
 
122
  ## Thanks, and how to contribute.
123
 
@@ -132,12 +136,15 @@ Donaters will get priority support on any and all AI/LLM/model questions and req
132
  * Patreon: https://patreon.com/TheBlokeAI
133
  * Ko-Fi: https://ko-fi.com/TheBlokeAI
134
 
135
- **Special thanks to**: Luke from CarbonQuill, Aemon Algiz, Dmitriy Samsonov.
 
 
136
 
137
- **Patreon special mentions**: Ajan Kanaga, Kalila, Derek Yates, Sean Connelly, Luke, Nathan LeClaire, Trenton Dambrowitz, Mano Prime, David Flickinger, vamX, Nikolai Manek, senxiiz, Khalefa Al-Ahmad, Illia Dulskyi, trip7s trip, Jonathan Leane, Talal Aujan, Artur Olbinski, Cory Kujawski, Joseph William Delisle, Pyrater, Oscar Rangel, Lone Striker, Luke Pendergrass, Eugene Pentland, Johann-Peter Hartmann.
138
 
139
  Thank you to all my generous patrons and donaters!
140
 
 
 
141
  <!-- footer end -->
142
 
143
  # Original model card: WizardLM's WizardCoder 15B 1.0
@@ -150,10 +157,10 @@ This is the Full-Weight of WizardCoder.
150
 
151
  **Paper**: Is coming, with brand-new Evol+ methods for code LLMs.
152
 
153
- **Demos (Only support code-related English instructions now.)**:
154
 
155
- [Demo](https://8194635813f45a1e.gradio.app/),
156
- [Backup Demo1](https://375cead61e4db124.gradio.app/),
157
  [Backup Demo2](https://1594ad375fc80cc7.gradio.app/),
158
  [Backup Demo3](https://4989441110ee350f.gradio.app/)
159
 
@@ -168,7 +175,7 @@ To develop our WizardCoder model, we begin by adapting the Evol-Instruct method
168
 
169
  - 🔥 Our **WizardCoder-15B-v1.0** model achieves the **57.3 pass@1** on the [HumanEval Benchmarks](https://github.com/openai/human-eval), which is **22.3** points higher than the SOTA open-source Code LLMs.
170
  - 🔥 We released **WizardCoder-15B-v1.0** trained with **78k** evolved code instructions. Please checkout the [Model Weights](https://huggingface.co/WizardLM/WizardCoder-15B-V1.0), and [Paper]().
171
- - &#x1F4E3; Please refer to our Twitter account https://twitter.com/WizardLM_AI and HuggingFace Repo https://huggingface.co/WizardLM . We will use them to announce any new release at the 1st time.
172
 
173
 
174
  ## Comparing WizardCoder with the Closed-Source Models.
@@ -365,7 +372,7 @@ Please cite the repo if you use the data or code in this repo.
365
 
366
  ```
367
  @misc{luo2023wizardcoder,
368
- title={WizardCoder: Empowering Code Large Language Models with Evol-Instruct},
369
  author={Ziyang Luo and Can Xu and Pu Zhao and Qingfeng Sun and Xiubo Geng and Wenxiang Hu and Chongyang Tao and Jing Ma and Qingwei Lin and Daxin Jiang},
370
  year={2023},
371
  }
 
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
  # WizardLM's WizardCoder 15B 1.0 GPTQ
 
116
  * Parameters: Groupsize = -1. Act Order / desc_act = True.
117
 
118
  <!-- footer start -->
119
+ <!-- 200823 -->
120
  ## Discord
121
 
122
  For further support, and discussions on these models and AI in general, join us at:
123
 
124
+ [TheBloke AI's Discord server](https://discord.gg/theblokeai)
125
 
126
  ## Thanks, and how to contribute.
127
 
 
136
  * Patreon: https://patreon.com/TheBlokeAI
137
  * Ko-Fi: https://ko-fi.com/TheBlokeAI
138
 
139
+ **Special thanks to**: Aemon Algiz.
140
+
141
+ **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
142
 
 
143
 
144
  Thank you to all my generous patrons and donaters!
145
 
146
+ And thank you again to a16z for their generous grant.
147
+
148
  <!-- footer end -->
149
 
150
  # Original model card: WizardLM's WizardCoder 15B 1.0
 
157
 
158
  **Paper**: Is coming, with brand-new Evol+ methods for code LLMs.
159
 
160
+ **Demos (Only support code-related English instructions now.)**:
161
 
162
+ [Demo](https://8194635813f45a1e.gradio.app/),
163
+ [Backup Demo1](https://375cead61e4db124.gradio.app/),
164
  [Backup Demo2](https://1594ad375fc80cc7.gradio.app/),
165
  [Backup Demo3](https://4989441110ee350f.gradio.app/)
166
 
 
175
 
176
  - 🔥 Our **WizardCoder-15B-v1.0** model achieves the **57.3 pass@1** on the [HumanEval Benchmarks](https://github.com/openai/human-eval), which is **22.3** points higher than the SOTA open-source Code LLMs.
177
  - 🔥 We released **WizardCoder-15B-v1.0** trained with **78k** evolved code instructions. Please checkout the [Model Weights](https://huggingface.co/WizardLM/WizardCoder-15B-V1.0), and [Paper]().
178
+ - &#x1F4E3; Please refer to our Twitter account https://twitter.com/WizardLM_AI and HuggingFace Repo https://huggingface.co/WizardLM . We will use them to announce any new release at the 1st time.
179
 
180
 
181
  ## Comparing WizardCoder with the Closed-Source Models.
 
372
 
373
  ```
374
  @misc{luo2023wizardcoder,
375
+ title={WizardCoder: Empowering Code Large Language Models with Evol-Instruct},
376
  author={Ziyang Luo and Can Xu and Pu Zhao and Qingfeng Sun and Xiubo Geng and Wenxiang Hu and Chongyang Tao and Jing Ma and Qingwei Lin and Daxin Jiang},
377
  year={2023},
378
  }
config.json CHANGED
@@ -1,39 +1,50 @@
1
  {
2
- "_name_or_path": "bigcode/starcoder",
3
- "activation_function": "gelu",
4
- "architectures": [
5
- "GPTBigCodeForCausalLM"
6
- ],
7
- "attention_softmax_in_fp32": true,
8
- "attn_pdrop": 0.1,
9
- "bos_token_id": 0,
10
- "embd_pdrop": 0.1,
11
- "eos_token_id": 0,
12
- "inference_runner": 0,
13
- "initializer_range": 0.02,
14
- "layer_norm_epsilon": 1e-05,
15
- "max_batch_size": null,
16
- "max_sequence_length": null,
17
- "model_type": "gpt_bigcode",
18
- "multi_query": true,
19
- "n_embd": 6144,
20
- "n_head": 48,
21
- "n_inner": 24576,
22
- "n_layer": 40,
23
- "n_positions": 8192,
24
- "pad_key_length": true,
25
- "pre_allocate_kv_cache": false,
26
- "resid_pdrop": 0.1,
27
- "scale_attention_softmax_in_fp32": true,
28
- "scale_attn_weights": true,
29
- "summary_activation": null,
30
- "summary_first_dropout": 0.1,
31
- "summary_proj_to_labels": true,
32
- "summary_type": "cls_index",
33
- "summary_use_proj": true,
34
- "torch_dtype": "float16",
35
- "transformers_version": "4.30.0.dev0",
36
- "use_cache": true,
37
- "validate_runner_input": true,
38
- "vocab_size": 49153
 
 
 
 
 
 
 
 
 
 
 
39
  }
 
1
  {
2
+ "_name_or_path": "bigcode/starcoder",
3
+ "activation_function": "gelu",
4
+ "architectures": [
5
+ "GPTBigCodeForCausalLM"
6
+ ],
7
+ "attention_softmax_in_fp32": true,
8
+ "attn_pdrop": 0.1,
9
+ "bos_token_id": 0,
10
+ "embd_pdrop": 0.1,
11
+ "eos_token_id": 0,
12
+ "inference_runner": 0,
13
+ "initializer_range": 0.02,
14
+ "layer_norm_epsilon": 1e-05,
15
+ "max_batch_size": null,
16
+ "max_sequence_length": null,
17
+ "model_type": "gpt_bigcode",
18
+ "multi_query": true,
19
+ "n_embd": 6144,
20
+ "n_head": 48,
21
+ "n_inner": 24576,
22
+ "n_layer": 40,
23
+ "n_positions": 8192,
24
+ "pad_key_length": true,
25
+ "pre_allocate_kv_cache": false,
26
+ "resid_pdrop": 0.1,
27
+ "scale_attention_softmax_in_fp32": true,
28
+ "scale_attn_weights": true,
29
+ "summary_activation": null,
30
+ "summary_first_dropout": 0.1,
31
+ "summary_proj_to_labels": true,
32
+ "summary_type": "cls_index",
33
+ "summary_use_proj": true,
34
+ "torch_dtype": "float16",
35
+ "transformers_version": "4.30.0.dev0",
36
+ "use_cache": true,
37
+ "validate_runner_input": true,
38
+ "vocab_size": 49153,
39
+ "quantization_config": {
40
+ "bits": 4,
41
+ "group_size": 128,
42
+ "damp_percent": 0.01,
43
+ "desc_act": false,
44
+ "sym": true,
45
+ "true_sequential": true,
46
+ "model_name_or_path": null,
47
+ "model_file_base_name": "model",
48
+ "quant_method": "gptq"
49
+ }
50
  }
gptq_model-4bit-128g.safetensors → model.safetensors RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c4fb923dc804c2e416173fe20abc06662cbd0e99ebfb5d9df1b49b54d4ce1868
3
- size 9198428896
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0babe14f618ba388e6406c0074c7aeeecce7045167e16cab9a1b198cfddc5184
3
+ size 9198428952
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
  }