Transformers
GGUF
llama
text-generation-inference
TheBloke commited on
Commit
09d9ada
β€’
1 Parent(s): e4024e3

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +349 -0
README.md ADDED
@@ -0,0 +1,349 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ inference: false
3
+ license: llama2
4
+ model_creator: WizardLM
5
+ model_link: https://huggingface.co/WizardLM/WizardLM-70B-V1.0
6
+ model_name: WizardLM 70B V1.0
7
+ model_type: llama
8
+ quantized_by: TheBloke
9
+ ---
10
+
11
+ <!-- header start -->
12
+ <!-- 200823 -->
13
+ <div style="width: auto; margin-left: auto; margin-right: auto">
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 style="margin-top: 0.5em; margin-bottom: 0em;"><a href="https://discord.gg/theblokeai">Chat & support: TheBloke's Discord server</a></p>
19
+ </div>
20
+ <div style="display: flex; flex-direction: column; align-items: flex-end;">
21
+ <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>
22
+ </div>
23
+ </div>
24
+ <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>
25
+ <hr style="margin-top: 1.0em; margin-bottom: 1.0em;">
26
+ <!-- header end -->
27
+
28
+ # WizardLM 70B V1.0 - GGUF
29
+ - Model creator: [WizardLM](https://huggingface.co/WizardLM)
30
+ - Original model: [WizardLM 70B V1.0](https://huggingface.co/WizardLM/WizardLM-70B-V1.0)
31
+
32
+ ## Description
33
+
34
+ This repo contains GGUF format model files for [WizardLM's WizardLM 70B V1.0](https://huggingface.co/WizardLM/WizardLM-70B-V1.0).
35
+
36
+ <!-- README_GGUF.md-about-gguf start -->
37
+ ### About GGUF
38
+
39
+ GGUF is a new format introduced by the llama.cpp team on August 21st 2023. It is a replacement for GGML, which is no longer supported by llama.cpp.
40
+
41
+ The key benefit of GGUF is that it is a extensible, future-proof format which stores more information about the model as metadata. It also includes significantly improved tokenization code, including for the first time full support for special tokens. This should improve performance, especially with models that use new special tokens and implement custom prompt templates.
42
+
43
+ Here are a list of clients and libraries that are known to support GGUF:
44
+ * [llama.cpp](https://github.com/ggerganov/llama.cpp).
45
+ * [text-generation-webui](https://github.com/oobabooga/text-generation-webui), the most widely used web UI. Supports GGUF with GPU acceleration via the ctransformers backend - llama-cpp-python backend should work soon too.
46
+ * [KoboldCpp](https://github.com/LostRuins/koboldcpp), now supports GGUF as of release 1.41! A powerful GGML web UI, with full GPU accel. Especially good for story telling.
47
+ * [LM Studio](https://lmstudio.ai/), version 0.2.2 and later support GGUF. A fully featured local GUI with GPU acceleration on both Windows (NVidia and AMD), and macOS.
48
+ * [LoLLMS Web UI](https://github.com/ParisNeo/lollms-webui), should now work, choose the `c_transformers` backend. A great web UI with many interesting features. Supports CUDA GPU acceleration.
49
+ * [ctransformers](https://github.com/marella/ctransformers), now supports GGUF as of version 0.2.24! A Python library with GPU accel, LangChain support, and OpenAI-compatible AI server.
50
+ * [llama-cpp-python](https://github.com/abetlen/llama-cpp-python), supports GGUF as of version 0.1.79. A Python library with GPU accel, LangChain support, and OpenAI-compatible API server.
51
+ * [candle](https://github.com/huggingface/candle), added GGUF support on August 22nd. Candle is a Rust ML framework with a focus on performance, including GPU support, and ease of use.
52
+
53
+ <!-- README_GGUF.md-about-gguf end -->
54
+ <!-- repositories-available start -->
55
+ ## Repositories available
56
+
57
+ * [GPTQ models for GPU inference, with multiple quantisation parameter options.](https://huggingface.co/TheBloke/WizardLM-70B-V1.0-GPTQ)
58
+ * [2, 3, 4, 5, 6 and 8-bit GGUF models for CPU+GPU inference](https://huggingface.co/TheBloke/WizardLM-70B-V1.0-GGUF)
59
+ * [2, 3, 4, 5, 6 and 8-bit GGML models for CPU+GPU inference (deprecated)](https://huggingface.co/TheBloke/WizardLM-70B-V1.0-GGML)
60
+ * [WizardLM's original unquantised fp16 model in pytorch format, for GPU inference and for further conversions](https://huggingface.co/WizardLM/WizardLM-70B-V1.0)
61
+ <!-- repositories-available end -->
62
+
63
+ <!-- prompt-template start -->
64
+ ## Prompt template: Vicuna
65
+
66
+ ```
67
+ A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions. USER: {prompt} ASSISTANT:
68
+
69
+ ```
70
+
71
+ <!-- prompt-template end -->
72
+ <!-- compatibility_gguf start -->
73
+ ## Compatibility
74
+
75
+ These quantised GGUF files are compatible with llama.cpp from August 21st 2023 onwards, as of commit [6381d4e110bd0ec02843a60bbeb8b6fc37a9ace9](https://github.com/ggerganov/llama.cpp/commit/6381d4e110bd0ec02843a60bbeb8b6fc37a9ace9)
76
+
77
+ They are now also compatible with many third party UIs and libraries - please see the list at the top of the README.
78
+
79
+ ## Explanation of quantisation methods
80
+ <details>
81
+ <summary>Click to see details</summary>
82
+
83
+ The new methods available are:
84
+ * GGML_TYPE_Q2_K - "type-1" 2-bit quantization in super-blocks containing 16 blocks, each block having 16 weight. Block scales and mins are quantized with 4 bits. This ends up effectively using 2.5625 bits per weight (bpw)
85
+ * GGML_TYPE_Q3_K - "type-0" 3-bit quantization in super-blocks containing 16 blocks, each block having 16 weights. Scales are quantized with 6 bits. This end up using 3.4375 bpw.
86
+ * GGML_TYPE_Q4_K - "type-1" 4-bit quantization in super-blocks containing 8 blocks, each block having 32 weights. Scales and mins are quantized with 6 bits. This ends up using 4.5 bpw.
87
+ * GGML_TYPE_Q5_K - "type-1" 5-bit quantization. Same super-block structure as GGML_TYPE_Q4_K resulting in 5.5 bpw
88
+ * GGML_TYPE_Q6_K - "type-0" 6-bit quantization. Super-blocks with 16 blocks, each block having 16 weights. Scales are quantized with 8 bits. This ends up using 6.5625 bpw
89
+
90
+ Refer to the Provided Files table below to see what files use which methods, and how.
91
+ </details>
92
+ <!-- compatibility_gguf end -->
93
+
94
+ <!-- README_GGUF.md-provided-files start -->
95
+ ## Provided files
96
+
97
+ | Name | Quant method | Bits | Size | Max RAM required | Use case |
98
+ | ---- | ---- | ---- | ---- | ---- | ----- |
99
+ | [wizardlm-70b-v1.0.Q6_K.gguf-split-b](https://huggingface.co/TheBloke/WizardLM-70B-V1.0-GGUF/blob/main/wizardlm-70b-v1.0.Q6_K.gguf-split-b) | Q6_K | 6 | 19.89 GB| 22.39 GB | very large, extremely low quality loss |
100
+ | [wizardlm-70b-v1.0.Q2_K.gguf](https://huggingface.co/TheBloke/WizardLM-70B-V1.0-GGUF/blob/main/wizardlm-70b-v1.0.Q2_K.gguf) | Q2_K | 2 | 29.28 GB| 31.78 GB | smallest, significant quality loss - not recommended for most purposes |
101
+ | [wizardlm-70b-v1.0.Q3_K_S.gguf](https://huggingface.co/TheBloke/WizardLM-70B-V1.0-GGUF/blob/main/wizardlm-70b-v1.0.Q3_K_S.gguf) | Q3_K_S | 3 | 29.92 GB| 32.42 GB | very small, high quality loss |
102
+ | [wizardlm-70b-v1.0.Q3_K_M.gguf](https://huggingface.co/TheBloke/WizardLM-70B-V1.0-GGUF/blob/main/wizardlm-70b-v1.0.Q3_K_M.gguf) | Q3_K_M | 3 | 33.19 GB| 35.69 GB | very small, high quality loss |
103
+ | [wizardlm-70b-v1.0.Q3_K_L.gguf](https://huggingface.co/TheBloke/WizardLM-70B-V1.0-GGUF/blob/main/wizardlm-70b-v1.0.Q3_K_L.gguf) | Q3_K_L | 3 | 36.15 GB| 38.65 GB | small, substantial quality loss |
104
+ | [wizardlm-70b-v1.0.Q8_0.gguf-split-b](https://huggingface.co/TheBloke/WizardLM-70B-V1.0-GGUF/blob/main/wizardlm-70b-v1.0.Q8_0.gguf-split-b) | Q8_0 | 8 | 36.59 GB| 39.09 GB | very large, extremely low quality loss - not recommended |
105
+ | [wizardlm-70b-v1.0.Q6_K.gguf-split-a](https://huggingface.co/TheBloke/WizardLM-70B-V1.0-GGUF/blob/main/wizardlm-70b-v1.0.Q6_K.gguf-split-a) | Q6_K | 6 | 36.70 GB| 39.20 GB | very large, extremely low quality loss |
106
+ | [wizardlm-70b-v1.0.Q8_0.gguf-split-a](https://huggingface.co/TheBloke/WizardLM-70B-V1.0-GGUF/blob/main/wizardlm-70b-v1.0.Q8_0.gguf-split-a) | Q8_0 | 8 | 36.70 GB| 39.20 GB | very large, extremely low quality loss - not recommended |
107
+ | [wizardlm-70b-v1.0.Q4_0.gguf](https://huggingface.co/TheBloke/WizardLM-70B-V1.0-GGUF/blob/main/wizardlm-70b-v1.0.Q4_0.gguf) | Q4_0 | 4 | 38.87 GB| 41.37 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
108
+ | [wizardlm-70b-v1.0.Q4_K_S.gguf](https://huggingface.co/TheBloke/WizardLM-70B-V1.0-GGUF/blob/main/wizardlm-70b-v1.0.Q4_K_S.gguf) | Q4_K_S | 4 | 39.07 GB| 41.57 GB | small, greater quality loss |
109
+ | [wizardlm-70b-v1.0.Q4_K_M.gguf](https://huggingface.co/TheBloke/WizardLM-70B-V1.0-GGUF/blob/main/wizardlm-70b-v1.0.Q4_K_M.gguf) | Q4_K_M | 4 | 41.42 GB| 43.92 GB | medium, balanced quality - recommended |
110
+ | [wizardlm-70b-v1.0.Q5_0.gguf](https://huggingface.co/TheBloke/WizardLM-70B-V1.0-GGUF/blob/main/wizardlm-70b-v1.0.Q5_0.gguf) | Q5_0 | 5 | 47.46 GB| 49.96 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
111
+ | [wizardlm-70b-v1.0.Q5_K_S.gguf](https://huggingface.co/TheBloke/WizardLM-70B-V1.0-GGUF/blob/main/wizardlm-70b-v1.0.Q5_K_S.gguf) | Q5_K_S | 5 | 47.46 GB| 49.96 GB | large, low quality loss - recommended |
112
+ | [wizardlm-70b-v1.0.Q5_K_M.gguf](https://huggingface.co/TheBloke/WizardLM-70B-V1.0-GGUF/blob/main/wizardlm-70b-v1.0.Q5_K_M.gguf) | Q5_K_M | 5 | 48.75 GB| 51.25 GB | large, very low quality loss - recommended |
113
+ | wizardlm-70b-v1.0.Q6_K.gguf | Q6_K | 6 | 56.59 GB| 59.09 GB | very large, extremely low quality loss |
114
+ | wizardlm-70b-v1.0.Q8_0.gguf | Q8_0 | 8 | 73.29 GB| 75.79 GB | very large, extremely low quality loss - not recommended |
115
+
116
+ **Note**: the above RAM figures assume no GPU offloading. If layers are offloaded to the GPU, this will reduce RAM usage and use VRAM instead.
117
+
118
+ ### Q6_K and Q8_0 files are split and require joining
119
+
120
+ **Note:** HF does not support uploading files larger than 50GB. Therefore I have uploaded the Q6_K and Q8_0 files as split files.
121
+
122
+ <details>
123
+ <summary>Click for instructions regarding Q6_K and Q8_0 files</summary>
124
+
125
+ ### q6_K
126
+ Please download:
127
+ * `wizardlm-70b-v1.0.Q6_K.gguf-split-a`
128
+ * `wizardlm-70b-v1.0.Q6_K.gguf-split-b`
129
+
130
+ ### q8_0
131
+ Please download:
132
+ * `wizardlm-70b-v1.0.Q8_0.gguf-split-a`
133
+ * `wizardlm-70b-v1.0.Q8_0.gguf-split-b`
134
+
135
+ To join the files, do the following:
136
+
137
+ Linux and macOS:
138
+ ```
139
+ cat wizardlm-70b-v1.0.Q6_K.gguf-split-* > wizardlm-70b-v1.0.Q6_K.gguf && rm wizardlm-70b-v1.0.Q6_K.gguf-split-*
140
+ cat wizardlm-70b-v1.0.Q8_0.gguf-split-* > wizardlm-70b-v1.0.Q8_0.gguf && rm wizardlm-70b-v1.0.Q8_0.gguf-split-*
141
+ ```
142
+ Windows command line:
143
+ ```
144
+ COPY /B wizardlm-70b-v1.0.Q6_K.gguf-split-a + wizardlm-70b-v1.0.Q6_K.gguf-split-b wizardlm-70b-v1.0.Q6_K.gguf
145
+ del wizardlm-70b-v1.0.Q6_K.gguf-split-a wizardlm-70b-v1.0.Q6_K.gguf-split-b
146
+
147
+ COPY /B wizardlm-70b-v1.0.Q8_0.gguf-split-a + wizardlm-70b-v1.0.Q8_0.gguf-split-b wizardlm-70b-v1.0.Q8_0.gguf
148
+ del wizardlm-70b-v1.0.Q8_0.gguf-split-a wizardlm-70b-v1.0.Q8_0.gguf-split-b
149
+ ```
150
+
151
+ </details>
152
+ <!-- README_GGUF.md-provided-files end -->
153
+
154
+ <!-- README_GGUF.md-how-to-run start -->
155
+ ## Example `llama.cpp` command
156
+
157
+ Make sure you are using `llama.cpp` from commit [6381d4e110bd0ec02843a60bbeb8b6fc37a9ace9](https://github.com/ggerganov/llama.cpp/commit/6381d4e110bd0ec02843a60bbeb8b6fc37a9ace9) or later.
158
+
159
+ For compatibility with older versions of llama.cpp, or for any third-party libraries or clients that haven't yet updated for GGUF, please use GGML files instead.
160
+
161
+ ```
162
+ ./main -t 10 -ngl 32 -m wizardlm-70b-v1.0.q4_K_M.gguf --color -c 4096 --temp 0.7 --repeat_penalty 1.1 -n -1 -p "A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions. USER: Write a story about llamas ASSISTANT:"
163
+ ```
164
+ Change `-t 10` to the number of physical CPU cores you have. For example if your system has 8 cores/16 threads, use `-t 8`. If offloading all layers to GPU, set `-t 1`.
165
+
166
+ Change `-ngl 32` to the number of layers to offload to GPU. Remove it if you don't have GPU acceleration.
167
+
168
+ Change `-c 4096` to the desired sequence length for this model. For extended sequence models - eg 8K, 16K, 32K - the necessary RoPE scaling parameters are read from the GGUF file and set by llama.cpp automatically.
169
+
170
+ If you want to have a chat-style conversation, replace the `-p <PROMPT>` argument with `-i -ins`
171
+
172
+ For other parameters and how to use them, please refer to [the llama.cpp documentation](https://github.com/ggerganov/llama.cpp/blob/master/examples/main/README.md)
173
+
174
+ ## How to run in `text-generation-webui`
175
+
176
+ Further instructions here: [text-generation-webui/docs/llama.cpp.md](https://github.com/oobabooga/text-generation-webui/blob/main/docs/llama.cpp.md).
177
+
178
+ ## How to run from Python code
179
+
180
+ You can use GGUF models from Python using the [llama-cpp-python](https://github.com/abetlen/llama-cpp-python) or [ctransformers](https://github.com/marella/ctransformers) libraries.
181
+
182
+ ### How to load this model from Python using ctransformers
183
+
184
+ #### First install the package
185
+
186
+ ```bash
187
+ # Base ctransformers with no GPU acceleration
188
+ pip install ctransformers>=0.2.24
189
+ # Or with CUDA GPU acceleration
190
+ pip install ctransformers[cuda]>=0.2.24
191
+ # Or with ROCm GPU acceleration
192
+ CT_HIPBLAS=1 pip install ctransformers>=0.2.24 --no-binary ctransformers
193
+ # Or with Metal GPU acceleration for macOS systems
194
+ CT_METAL=1 pip install ctransformers>=0.2.24 --no-binary ctransformers
195
+ ```
196
+
197
+ #### Simple example code to load one of these GGUF models
198
+
199
+ ```python
200
+ from ctransformers import AutoModelForCausalLM
201
+
202
+ # Set gpu_layers to the number of layers to offload to GPU. Set to 0 if no GPU acceleration is available on your system.
203
+ llm = AutoModelForCausalLM.from_pretrained("TheBloke/WizardLM-70B-V1.0-GGUF", model_file="wizardlm-70b-v1.0.q4_K_M.gguf", model_type="llama", gpu_layers=50)
204
+
205
+ print(llm("AI is going to"))
206
+ ```
207
+
208
+ ## How to use with LangChain
209
+
210
+ Here's guides on using llama-cpp-python or ctransformers with LangChain:
211
+
212
+ * [LangChain + llama-cpp-python](https://python.langchain.com/docs/integrations/llms/llamacpp)
213
+ * [LangChain + ctransformers](https://python.langchain.com/docs/integrations/providers/ctransformers)
214
+
215
+ <!-- README_GGUF.md-how-to-run end -->
216
+
217
+ <!-- footer start -->
218
+ <!-- 200823 -->
219
+ ## Discord
220
+
221
+ For further support, and discussions on these models and AI in general, join us at:
222
+
223
+ [TheBloke AI's Discord server](https://discord.gg/theblokeai)
224
+
225
+ ## Thanks, and how to contribute.
226
+
227
+ Thanks to the [chirper.ai](https://chirper.ai) team!
228
+
229
+ I've had a lot of people ask if they can contribute. I enjoy providing models and helping people, and would love to be able to spend even more time doing it, as well as expanding into new projects like fine tuning/training.
230
+
231
+ If you're able and willing to contribute it will be most gratefully received and will help me to keep providing more models, and to start work on new AI projects.
232
+
233
+ Donaters will get priority support on any and all AI/LLM/model questions and requests, access to a private Discord room, plus other benefits.
234
+
235
+ * Patreon: https://patreon.com/TheBlokeAI
236
+ * Ko-Fi: https://ko-fi.com/TheBlokeAI
237
+
238
+ **Special thanks to**: Aemon Algiz.
239
+
240
+ **Patreon special mentions**: Russ Johnson, J, alfie_i, Alex, NimbleBox.ai, Chadd, Mandus, Nikolai Manek, Ken Nordquist, ya boyyy, Illia Dulskyi, Viktor Bowallius, vamX, Iucharbius, zynix, Magnesian, Clay Pascal, Pierre Kircher, Enrico Ros, Tony Hughes, Elle, Andrey, knownsqashed, Deep Realms, Jerry Meng, Lone Striker, Derek Yates, Pyrater, Mesiah Bishop, James Bentley, Femi Adebogun, Brandon Frisco, SuperWojo, Alps Aficionado, Michael Dempsey, Vitor Caleffi, Will Dee, Edmond Seymore, usrbinkat, LangChain4j, Kacper WikieΕ‚, Luke Pendergrass, John Detwiler, theTransient, Nathan LeClaire, Tiffany J. Kim, biorpg, Eugene Pentland, Stanislav Ovsiannikov, Fred von Graf, terasurfer, Kalila, Dan Guido, Nitin Borwankar, 阿明, Ai Maven, John Villwock, Gabriel Puliatti, Stephen Murray, Asp the Wyvern, danny, Chris Smitley, ReadyPlayerEmma, S_X, Daniel P. Andersen, Olakabola, Jeffrey Morgan, Imad Khwaja, Caitlyn Gatomon, webtim, Alicia Loh, Trenton Dambrowitz, Swaroop Kallakuri, Erik BjΓ€reholt, Leonard Tan, Spiking Neurons AB, Luke @flexchar, Ajan Kanaga, Thomas Belote, Deo Leter, RoA, Willem Michiel, transmissions 11, subjectnull, Matthew Berman, Joseph William Delisle, David Ziegler, Michael Davis, Johann-Peter Hartmann, Talal Aujan, senxiiz, Artur Olbinski, Rainer Wilmers, Spencer Kim, Fen Risland, Cap'n Zoog, Rishabh Srivastava, Michael Levine, Geoffrey Montalvo, Sean Connelly, Alexandros Triantafyllidis, Pieter, Gabriel Tamborski, Sam, Subspace Studios, Junyu Yang, Pedro Madruga, Vadim, Cory Kujawski, K, Raven Klaugh, Randy H, Mano Prime, Sebastain Graf, Space Cruiser
241
+
242
+
243
+ Thank you to all my generous patrons and donaters!
244
+
245
+ And thank you again to a16z for their generous grant.
246
+
247
+ <!-- footer end -->
248
+
249
+ <!-- original-model-card start -->
250
+ # Original model card: WizardLM's WizardLM 70B V1.0
251
+
252
+
253
+
254
+ ## WizardLM: Empowering Large Pre-Trained Language Models to Follow Complex Instructions
255
+
256
+
257
+
258
+ <p align="center">
259
+ πŸ€— <a href="https://huggingface.co/WizardLM" target="_blank">HF Repo</a> β€’πŸ± <a href="https://github.com/nlpxucan/WizardLM" target="_blank">Github Repo</a> β€’ 🐦 <a href="https://twitter.com/WizardLM_AI" target="_blank">Twitter</a> β€’ πŸ“ƒ <a href="https://arxiv.org/abs/2304.12244" target="_blank">[WizardLM]</a> β€’ πŸ“ƒ <a href="https://arxiv.org/abs/2306.08568" target="_blank">[WizardCoder]</a> β€’ πŸ“ƒ <a href="https://arxiv.org/abs/2308.09583" target="_blank">[WizardMath]</a> <br>
260
+ </p>
261
+ <p align="center">
262
+ πŸ‘‹ Join our <a href="https://discord.gg/VZjjHtWrKs" target="_blank">Discord</a>
263
+ </p>
264
+
265
+ ## Unofficial Video Introductions
266
+ Thanks to the enthusiastic friends, their video introductions are more lively and interesting.
267
+ 1. [NEW WizardLM 70b πŸ”₯ Giant Model...Insane Performance](https://www.youtube.com/watch?v=WdpiIXrO4_o)
268
+ 2. [GET WizardLM NOW! 7B LLM KING That Can Beat ChatGPT! I'm IMPRESSED!](https://www.youtube.com/watch?v=SaJ8wyKMBds)
269
+ 3. [WizardLM: Enhancing Large Language Models to Follow Complex Instructions](https://www.youtube.com/watch?v=I6sER-qivYk)
270
+ 4. [WizardCoder AI Is The NEW ChatGPT's Coding TWIN!](https://www.youtube.com/watch?v=XjsyHrmd3Xo)
271
+
272
+
273
+
274
+
275
+
276
+ ## News
277
+
278
+ - πŸ”₯πŸ”₯πŸ”₯[2023/08/26] We released **WizardCoder-Python-34B-V1.0** , which achieves the **73.2 pass@1** and surpasses **GPT4 (2023/03/15)**, **ChatGPT-3.5**, and **Claude2** on the [HumanEval Benchmarks](https://github.com/openai/human-eval). For more details, please refer to [WizardCoder](https://github.com/nlpxucan/WizardLM/tree/main/WizardCoder).
279
+ - [2023/06/16] We released **WizardCoder-15B-V1.0** , which surpasses **Claude-Plus (+6.8)**, **Bard (+15.3)** and **InstructCodeT5+ (+22.3)** on the [HumanEval Benchmarks](https://github.com/openai/human-eval). For more details, please refer to [WizardCoder](https://github.com/nlpxucan/WizardLM/tree/main/WizardCoder).
280
+
281
+ | Model | Checkpoint | Paper | HumanEval | MBPP | Demo | License |
282
+ | ----- |------| ---- |------|-------| ----- | ----- |
283
+ | WizardCoder-Python-34B-V1.0 | πŸ€— <a href="https://huggingface.co/WizardLM/WizardCoder-Python-34B-V1.0" target="_blank">HF Link</a> | πŸ“ƒ <a href="https://arxiv.org/abs/2306.08568" target="_blank">[WizardCoder]</a> | 73.2 | 61.2 | [Demo](http://47.103.63.15:50085/) | <a href="https://ai.meta.com/resources/models-and-libraries/llama-downloads/" target="_blank">Llama2</a> |
284
+ | WizardCoder-15B-V1.0 | πŸ€— <a href="https://huggingface.co/WizardLM/WizardCoder-15B-V1.0" target="_blank">HF Link</a> | πŸ“ƒ <a href="https://arxiv.org/abs/2306.08568" target="_blank">[WizardCoder]</a> | 59.8 |50.6 | -- | <a href="https://huggingface.co/spaces/bigcode/bigcode-model-license-agreement" target="_blank">OpenRAIL-M</a> |
285
+ | WizardCoder-Python-13B-V1.0 | πŸ€— <a href="https://huggingface.co/WizardLM/WizardCoder-Python-13B-V1.0" target="_blank">HF Link</a> | πŸ“ƒ <a href="https://arxiv.org/abs/2306.08568" target="_blank">[WizardCoder]</a> | 64.0 | 55.6 | -- | <a href="https://ai.meta.com/resources/models-and-libraries/llama-downloads/" target="_blank">Llama2</a> |
286
+ | WizardCoder-Python-7B-V1.0 | πŸ€— <a href="https://huggingface.co/WizardLM/WizardCoder-Python-7B-V1.0" target="_blank">HF Link</a> | πŸ“ƒ <a href="https://arxiv.org/abs/2306.08568" target="_blank">[WizardCoder]</a> | 55.5 | 51.6 | [Demo](http://47.103.63.15:50088/) | <a href="https://ai.meta.com/resources/models-and-libraries/llama-downloads/" target="_blank">Llama2</a> |
287
+ | WizardCoder-3B-V1.0 | πŸ€— <a href="https://huggingface.co/WizardLM/WizardCoder-3B-V1.0" target="_blank">HF Link</a> | πŸ“ƒ <a href="https://arxiv.org/abs/2306.08568" target="_blank">[WizardCoder]</a> | 34.8 |37.4 | -- | <a href="https://huggingface.co/spaces/bigcode/bigcode-model-license-agreement" target="_blank">OpenRAIL-M</a> |
288
+ | WizardCoder-1B-V1.0 | πŸ€— <a href="https://huggingface.co/WizardLM/WizardCoder-1B-V1.0" target="_blank">HF Link</a> | πŸ“ƒ <a href="https://arxiv.org/abs/2306.08568" target="_blank">[WizardCoder]</a> | 23.8 |28.6 | -- | <a href="https://huggingface.co/spaces/bigcode/bigcode-model-license-agreement" target="_blank">OpenRAIL-M</a> |
289
+
290
+ - πŸ”₯ [08/11/2023] We release **WizardMath** Models.
291
+ - πŸ”₯ Our **WizardMath-70B-V1.0** model slightly outperforms some closed-source LLMs on the GSM8K, including **ChatGPT 3.5**, **Claude Instant 1** and **PaLM 2 540B**.
292
+ - πŸ”₯ Our **WizardMath-70B-V1.0** model achieves **81.6 pass@1** on the [GSM8k Benchmarks](https://github.com/openai/grade-school-math), which is **24.8** points higher than the SOTA open-source LLM.
293
+ - πŸ”₯ Our **WizardMath-70B-V1.0** model achieves **22.7 pass@1** on the [MATH Benchmarks](https://github.com/hendrycks/math), which is **9.2** points higher than the SOTA open-source LLM.
294
+
295
+ | Model | Checkpoint | Paper | GSM8k | MATH |Online Demo| License|
296
+ | ----- |------| ---- |------|-------| ----- | ----- |
297
+ | WizardMath-70B-V1.0 | πŸ€— <a href="https://huggingface.co/WizardLM/WizardMath-70B-V1.0" target="_blank">HF Link</a> | πŸ“ƒ <a href="https://arxiv.org/abs/2308.09583" target="_blank">[WizardMath]</a>| **81.6** | **22.7** |[Demo](http://47.103.63.15:50083/)| <a href="https://ai.meta.com/resources/models-and-libraries/llama-downloads/" target="_blank">Llama 2 </a> |
298
+ | WizardMath-13B-V1.0 | πŸ€— <a href="https://huggingface.co/WizardLM/WizardMath-13B-V1.0" target="_blank">HF Link</a> | πŸ“ƒ <a href="https://arxiv.org/abs/2308.09583" target="_blank">[WizardMath]</a>| **63.9** | **14.0** |[Demo](http://47.103.63.15:50082/)| <a href="https://ai.meta.com/resources/models-and-libraries/llama-downloads/" target="_blank">Llama 2 </a> |
299
+ | WizardMath-7B-V1.0 | πŸ€— <a href="https://huggingface.co/WizardLM/WizardMath-7B-V1.0" target="_blank">HF Link</a> | πŸ“ƒ <a href="https://arxiv.org/abs/2308.09583" target="_blank">[WizardMath]</a>| **54.9** | **10.7** | [Demo](http://47.103.63.15:50080/)| <a href="https://ai.meta.com/resources/models-and-libraries/llama-downloads/" target="_blank">Llama 2 </a>|
300
+
301
+
302
+ <font size=4>
303
+
304
+ | <sup>Model</sup> | <sup>Checkpoint</sup> | <sup>Paper</sup> |<sup>MT-Bench</sup> | <sup>AlpacaEval</sup> | <sup>GSM8k</sup> | <sup>HumanEval</sup> | <sup>License</sup>|
305
+ | ----- |------| ---- |------|-------| ----- | ----- | ----- |
306
+ | <sup>**WizardLM-70B-V1.0**</sup> | <sup>πŸ€— <a href="https://huggingface.co/WizardLM/WizardLM-70B-V1.0" target="_blank">HF Link</a> </sup>|<sup>πŸ“ƒ**Coming Soon**</sup>| <sup>**7.78**</sup> | <sup>**92.91%**</sup> |<sup>**77.6%**</sup> | <sup> **50.6 pass@1**</sup>|<sup> <a href="https://ai.meta.com/resources/models-and-libraries/llama-downloads/" target="_blank">Llama 2 License </a></sup> |
307
+ | <sup>WizardLM-13B-V1.2</sup> | <sup>πŸ€— <a href="https://huggingface.co/WizardLM/WizardLM-13B-V1.2" target="_blank">HF Link</a> </sup>| | <sup>7.06</sup> | <sup>89.17%</sup> |<sup>55.3%</sup> | <sup>36.6 pass@1</sup>|<sup> <a href="https://ai.meta.com/resources/models-and-libraries/llama-downloads/" target="_blank">Llama 2 License </a></sup> |
308
+ | <sup>WizardLM-13B-V1.1</sup> |<sup> πŸ€— <a href="https://huggingface.co/WizardLM/WizardLM-13B-V1.1" target="_blank">HF Link</a> </sup> | | <sup>6.76</sup> |<sup>86.32%</sup> | | <sup>25.0 pass@1</sup>| <sup>Non-commercial</sup>|
309
+ | <sup>WizardLM-30B-V1.0</sup> | <sup>πŸ€— <a href="https://huggingface.co/WizardLM/WizardLM-30B-V1.0" target="_blank">HF Link</a></sup> | | <sup>7.01</sup> | | | <sup>37.8 pass@1</sup>| <sup>Non-commercial</sup> |
310
+ | <sup>WizardLM-13B-V1.0</sup> | <sup>πŸ€— <a href="https://huggingface.co/WizardLM/WizardLM-13B-V1.0" target="_blank">HF Link</a> </sup> | | <sup>6.35</sup> | <sup>75.31%</sup> | | <sup> 24.0 pass@1 </sup> | <sup>Non-commercial</sup>|
311
+ | <sup>WizardLM-7B-V1.0 </sup>| <sup>πŸ€— <a href="https://huggingface.co/WizardLM/WizardLM-7B-V1.0" target="_blank">HF Link</a> </sup> |<sup> πŸ“ƒ <a href="https://arxiv.org/abs/2304.12244" target="_blank">[WizardLM]</a> </sup>| | | |<sup>19.1 pass@1 </sup>|<sup> Non-commercial</sup>|
312
+ </font>
313
+
314
+ - πŸ”₯πŸ”₯πŸ”₯ [08/09/2023] We released **WizardLM-70B-V1.0** model.
315
+
316
+ **Github Repo**: https://github.com/nlpxucan/WizardLM
317
+
318
+ **Twitter**: https://twitter.com/WizardLM_AI/status/1689270108747976704
319
+
320
+ **Discord**: https://discord.gg/bpmeZD7V
321
+
322
+
323
+
324
+ ❗<b>Note for model system prompts usage:</b>
325
+
326
+
327
+ <b>WizardLM</b> adopts the prompt format from <b>Vicuna</b> and supports **multi-turn** conversation. The prompt should be as following:
328
+
329
+ ```
330
+ A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions. USER: Hi ASSISTANT: Hello.</s>USER: Who are you? ASSISTANT: I am WizardLM.</s>......
331
+ ```
332
+
333
+ ## Inference WizardLM Demo Script
334
+
335
+ We provide the inference WizardLM demo code [here](https://github.com/nlpxucan/WizardLM/tree/main/demo).
336
+
337
+
338
+ ❗<b>To commen concern about dataset:</b>
339
+
340
+ Recently, there have been clear changes in the open-source policy and regulations of our overall organization's code, data, and models.
341
+
342
+
343
+ Despite this, we have still worked hard to obtain opening the weights of the model first, but the data involves stricter auditing and is in review with our legal team .
344
+
345
+ Our researchers have no authority to publicly release them without authorization.
346
+
347
+ Thank you for your understanding.
348
+
349
+ <!-- original-model-card end -->