Upload README.md
Browse files
README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
---
|
2 |
inference: false
|
3 |
-
license:
|
4 |
model_creator: WizardLM
|
5 |
model_link: https://huggingface.co/WizardLM/WizardMath-7b-V1.0
|
6 |
model_name: WizardMath 7B V1.0
|
@@ -9,17 +9,20 @@ quantized_by: TheBloke
|
|
9 |
---
|
10 |
|
11 |
<!-- header start -->
|
12 |
-
|
13 |
-
|
|
|
14 |
</div>
|
15 |
<div style="display: flex; justify-content: space-between; width: 100%;">
|
16 |
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
17 |
-
<p><a href="https://discord.gg/theblokeai">Chat & support:
|
18 |
</div>
|
19 |
<div style="display: flex; flex-direction: column; align-items: flex-end;">
|
20 |
-
<p><a href="https://www.patreon.com/TheBlokeAI">Want to contribute? TheBloke's Patreon page</a></p>
|
21 |
</div>
|
22 |
</div>
|
|
|
|
|
23 |
<!-- header end -->
|
24 |
|
25 |
# WizardMath 7B V1.0 - GGML
|
@@ -30,6 +33,13 @@ quantized_by: TheBloke
|
|
30 |
|
31 |
This repo contains GGML format model files for [WizardLM's WizardMath 7B V1.0](https://huggingface.co/WizardLM/WizardMath-7b-V1.0).
|
32 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
GGML files are for CPU + GPU inference using [llama.cpp](https://github.com/ggerganov/llama.cpp) and libraries and UIs which support this format, such as:
|
34 |
* [text-generation-webui](https://github.com/oobabooga/text-generation-webui), the most popular web UI. Supports NVidia CUDA GPU acceleration.
|
35 |
* [KoboldCpp](https://github.com/LostRuins/koboldcpp), a powerful GGML web UI with GPU acceleration on all platforms (CUDA and OpenCL). Especially good for story telling.
|
@@ -41,7 +51,8 @@ GGML files are for CPU + GPU inference using [llama.cpp](https://github.com/gger
|
|
41 |
## Repositories available
|
42 |
|
43 |
* [GPTQ models for GPU inference, with multiple quantisation parameter options.](https://huggingface.co/TheBloke/WizardMath-7B-V1.0-GPTQ)
|
44 |
-
* [2, 3, 4, 5, 6 and 8-bit
|
|
|
45 |
* [WizardLM's original unquantised fp16 model in pytorch format, for GPU inference and for further conversions](https://huggingface.co/WizardLM/WizardMath-7b-V1.0)
|
46 |
|
47 |
## Prompt template: Alpaca-CoT
|
@@ -55,14 +66,19 @@ Below is an instruction that describes a task. Write a response that appropriate
|
|
55 |
|
56 |
|
57 |
### Response: Let's think step by step.
|
|
|
58 |
```
|
59 |
|
60 |
<!-- compatibility_ggml start -->
|
61 |
## Compatibility
|
62 |
|
63 |
-
These quantised GGML files are compatible with llama.cpp
|
|
|
|
|
64 |
|
65 |
-
|
|
|
|
|
66 |
|
67 |
## Explanation of the new k-quant methods
|
68 |
<details>
|
@@ -85,17 +101,17 @@ Refer to the Provided Files table below to see what files use which methods, and
|
|
85 |
| Name | Quant method | Bits | Size | Max RAM required | Use case |
|
86 |
| ---- | ---- | ---- | ---- | ---- | ----- |
|
87 |
| [wizardmath-7b-v1.0.ggmlv3.q2_K.bin](https://huggingface.co/TheBloke/WizardMath-7B-V1.0-GGML/blob/main/wizardmath-7b-v1.0.ggmlv3.q2_K.bin) | q2_K | 2 | 3.05 GB| 5.55 GB | New k-quant method. Uses GGML_TYPE_Q4_K for the attention.vw and feed_forward.w2 tensors, GGML_TYPE_Q2_K for the other tensors. |
|
88 |
-
| [wizardmath-7b-v1.0.ggmlv3.q3_K_L.bin](https://huggingface.co/TheBloke/WizardMath-7B-V1.0-GGML/blob/main/wizardmath-7b-v1.0.ggmlv3.q3_K_L.bin) | q3_K_L | 3 | 3.77 GB| 6.27 GB | New k-quant method. Uses GGML_TYPE_Q5_K for the attention.wv, attention.wo, and feed_forward.w2 tensors, else GGML_TYPE_Q3_K |
|
89 |
-
| [wizardmath-7b-v1.0.ggmlv3.q3_K_M.bin](https://huggingface.co/TheBloke/WizardMath-7B-V1.0-GGML/blob/main/wizardmath-7b-v1.0.ggmlv3.q3_K_M.bin) | q3_K_M | 3 | 3.45 GB| 5.95 GB | New k-quant method. Uses GGML_TYPE_Q4_K for the attention.wv, attention.wo, and feed_forward.w2 tensors, else GGML_TYPE_Q3_K |
|
90 |
| [wizardmath-7b-v1.0.ggmlv3.q3_K_S.bin](https://huggingface.co/TheBloke/WizardMath-7B-V1.0-GGML/blob/main/wizardmath-7b-v1.0.ggmlv3.q3_K_S.bin) | q3_K_S | 3 | 3.12 GB| 5.62 GB | New k-quant method. Uses GGML_TYPE_Q3_K for all tensors |
|
|
|
|
|
91 |
| [wizardmath-7b-v1.0.ggmlv3.q4_0.bin](https://huggingface.co/TheBloke/WizardMath-7B-V1.0-GGML/blob/main/wizardmath-7b-v1.0.ggmlv3.q4_0.bin) | q4_0 | 4 | 3.79 GB| 6.29 GB | Original quant method, 4-bit. |
|
|
|
92 |
| [wizardmath-7b-v1.0.ggmlv3.q4_1.bin](https://huggingface.co/TheBloke/WizardMath-7B-V1.0-GGML/blob/main/wizardmath-7b-v1.0.ggmlv3.q4_1.bin) | q4_1 | 4 | 4.21 GB| 6.71 GB | Original quant method, 4-bit. Higher accuracy than q4_0 but not as high as q5_0. However has quicker inference than q5 models. |
|
93 |
| [wizardmath-7b-v1.0.ggmlv3.q4_K_M.bin](https://huggingface.co/TheBloke/WizardMath-7B-V1.0-GGML/blob/main/wizardmath-7b-v1.0.ggmlv3.q4_K_M.bin) | q4_K_M | 4 | 4.24 GB| 6.74 GB | New k-quant method. Uses GGML_TYPE_Q6_K for half of the attention.wv and feed_forward.w2 tensors, else GGML_TYPE_Q4_K |
|
94 |
-
| [wizardmath-7b-v1.0.ggmlv3.q4_K_S.bin](https://huggingface.co/TheBloke/WizardMath-7B-V1.0-GGML/blob/main/wizardmath-7b-v1.0.ggmlv3.q4_K_S.bin) | q4_K_S | 4 | 3.98 GB| 6.48 GB | New k-quant method. Uses GGML_TYPE_Q4_K for all tensors |
|
95 |
| [wizardmath-7b-v1.0.ggmlv3.q5_0.bin](https://huggingface.co/TheBloke/WizardMath-7B-V1.0-GGML/blob/main/wizardmath-7b-v1.0.ggmlv3.q5_0.bin) | q5_0 | 5 | 4.63 GB| 7.13 GB | Original quant method, 5-bit. Higher accuracy, higher resource usage and slower inference. |
|
96 |
-
| [wizardmath-7b-v1.0.ggmlv3.q5_1.bin](https://huggingface.co/TheBloke/WizardMath-7B-V1.0-GGML/blob/main/wizardmath-7b-v1.0.ggmlv3.q5_1.bin) | q5_1 | 5 | 5.06 GB| 7.56 GB | Original quant method, 5-bit. Even higher accuracy, resource usage and slower inference. |
|
97 |
-
| [wizardmath-7b-v1.0.ggmlv3.q5_K_M.bin](https://huggingface.co/TheBloke/WizardMath-7B-V1.0-GGML/blob/main/wizardmath-7b-v1.0.ggmlv3.q5_K_M.bin) | q5_K_M | 5 | 4.92 GB| 7.42 GB | New k-quant method. Uses GGML_TYPE_Q6_K for half of the attention.wv and feed_forward.w2 tensors, else GGML_TYPE_Q5_K |
|
98 |
| [wizardmath-7b-v1.0.ggmlv3.q5_K_S.bin](https://huggingface.co/TheBloke/WizardMath-7B-V1.0-GGML/blob/main/wizardmath-7b-v1.0.ggmlv3.q5_K_S.bin) | q5_K_S | 5 | 4.79 GB| 7.29 GB | New k-quant method. Uses GGML_TYPE_Q5_K for all tensors |
|
|
|
|
|
99 |
| [wizardmath-7b-v1.0.ggmlv3.q6_K.bin](https://huggingface.co/TheBloke/WizardMath-7B-V1.0-GGML/blob/main/wizardmath-7b-v1.0.ggmlv3.q6_K.bin) | q6_K | 6 | 5.65 GB| 8.15 GB | New k-quant method. Uses GGML_TYPE_Q8_K for all tensors - 6-bit quantization |
|
100 |
| [wizardmath-7b-v1.0.ggmlv3.q8_0.bin](https://huggingface.co/TheBloke/WizardMath-7B-V1.0-GGML/blob/main/wizardmath-7b-v1.0.ggmlv3.q8_0.bin) | q8_0 | 8 | 7.16 GB| 9.66 GB | Original quant method, 8-bit. Almost indistinguishable from float16. High resource use and slow. Not recommended for most users. |
|
101 |
|
@@ -103,10 +119,12 @@ Refer to the Provided Files table below to see what files use which methods, and
|
|
103 |
|
104 |
## How to run in `llama.cpp`
|
105 |
|
106 |
-
|
|
|
|
|
107 |
|
108 |
```
|
109 |
-
./main -t 10 -ngl 32 -m wizardmath-7b-v1.0.ggmlv3.q4_K_M.bin --color -c 2048 --temp 0.7 --repeat_penalty 1.1 -n -1 -p "
|
110 |
```
|
111 |
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`.
|
112 |
|
@@ -120,9 +138,10 @@ For other parameters and how to use them, please refer to [the llama.cpp documen
|
|
120 |
|
121 |
## How to run in `text-generation-webui`
|
122 |
|
123 |
-
Further instructions here: [text-generation-webui/docs/llama.cpp
|
124 |
|
125 |
<!-- footer start -->
|
|
|
126 |
## Discord
|
127 |
|
128 |
For further support, and discussions on these models and AI in general, join us at:
|
@@ -142,66 +161,115 @@ Donaters will get priority support on any and all AI/LLM/model questions and req
|
|
142 |
* Patreon: https://patreon.com/TheBlokeAI
|
143 |
* Ko-Fi: https://ko-fi.com/TheBlokeAI
|
144 |
|
145 |
-
**Special thanks to**:
|
146 |
|
147 |
-
**Patreon special mentions**:
|
148 |
|
149 |
|
150 |
Thank you to all my generous patrons and donaters!
|
151 |
|
|
|
|
|
152 |
<!-- footer end -->
|
153 |
|
154 |
# Original model card: WizardLM's WizardMath 7B V1.0
|
155 |
|
156 |
|
157 |
|
158 |
-
## WizardMath: Empowering Mathematical Reasoning for Large Language Models via Reinforced Evol-Instruct
|
159 |
-
|
160 |
|
161 |
|
162 |
<p align="center">
|
163 |
-
π€ <a href="https://huggingface.co/WizardLM" target="_blank">HF 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> <br>
|
164 |
</p>
|
165 |
<p align="center">
|
166 |
-
π Join our <a href="https://discord.gg/
|
167 |
</p>
|
168 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
169 |
|
170 |
|
171 |
-
|
|
|
|
|
|
|
|
|
172 |
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
178 |
|
179 |
**Github Repo**: https://github.com/nlpxucan/WizardLM/tree/main/WizardMath
|
180 |
|
181 |
-
**Twitter**: https://twitter.com/WizardLM_AI/status/
|
182 |
|
183 |
-
**Discord**: https://discord.gg/
|
184 |
|
|
|
185 |
|
|
|
|
|
|
|
|
|
|
|
186 |
|
187 |
β<b>Note for model system prompts usage:</b>
|
188 |
|
189 |
-
|
|
|
|
|
190 |
|
191 |
```
|
192 |
-
Below is an instruction that describes a task. Write a response that appropriately completes the request
|
|
|
193 |
|
194 |
|
195 |
-
|
196 |
-
{instruction}
|
197 |
|
198 |
|
199 |
-
|
|
|
200 |
```
|
201 |
|
|
|
|
|
|
|
|
|
|
|
202 |
β<b>To commen concern about dataset:</b>
|
203 |
|
204 |
Recently, there have been clear changes in the open-source policy and regulations of our overall organization's code, data, and models.
|
205 |
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 .
|
206 |
Our researchers have no authority to publicly release them without authorization.
|
207 |
Thank you for your understanding.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
inference: false
|
3 |
+
license: llama2
|
4 |
model_creator: WizardLM
|
5 |
model_link: https://huggingface.co/WizardLM/WizardMath-7b-V1.0
|
6 |
model_name: WizardMath 7B V1.0
|
|
|
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 |
# WizardMath 7B V1.0 - GGML
|
|
|
33 |
|
34 |
This repo contains GGML format model files for [WizardLM's WizardMath 7B V1.0](https://huggingface.co/WizardLM/WizardMath-7b-V1.0).
|
35 |
|
36 |
+
### Important note regarding GGML files.
|
37 |
+
|
38 |
+
The GGML format has now been superseded by GGUF. As of August 21st 2023, [llama.cpp](https://github.com/ggerganov/llama.cpp) no longer supports GGML models. Third party clients and libraries are expected to still support it for a time, but many may also drop support.
|
39 |
+
|
40 |
+
Please use the GGUF models instead.
|
41 |
+
### About GGML
|
42 |
+
|
43 |
GGML files are for CPU + GPU inference using [llama.cpp](https://github.com/ggerganov/llama.cpp) and libraries and UIs which support this format, such as:
|
44 |
* [text-generation-webui](https://github.com/oobabooga/text-generation-webui), the most popular web UI. Supports NVidia CUDA GPU acceleration.
|
45 |
* [KoboldCpp](https://github.com/LostRuins/koboldcpp), a powerful GGML web UI with GPU acceleration on all platforms (CUDA and OpenCL). Especially good for story telling.
|
|
|
51 |
## Repositories available
|
52 |
|
53 |
* [GPTQ models for GPU inference, with multiple quantisation parameter options.](https://huggingface.co/TheBloke/WizardMath-7B-V1.0-GPTQ)
|
54 |
+
* [2, 3, 4, 5, 6 and 8-bit GGUF models for CPU+GPU inference](https://huggingface.co/TheBloke/WizardMath-7B-V1.0-GGUF)
|
55 |
+
* [2, 3, 4, 5, 6 and 8-bit GGML models for CPU+GPU inference (deprecated)](https://huggingface.co/TheBloke/WizardMath-7B-V1.0-GGML)
|
56 |
* [WizardLM's original unquantised fp16 model in pytorch format, for GPU inference and for further conversions](https://huggingface.co/WizardLM/WizardMath-7b-V1.0)
|
57 |
|
58 |
## Prompt template: Alpaca-CoT
|
|
|
66 |
|
67 |
|
68 |
### Response: Let's think step by step.
|
69 |
+
|
70 |
```
|
71 |
|
72 |
<!-- compatibility_ggml start -->
|
73 |
## Compatibility
|
74 |
|
75 |
+
These quantised GGML files are compatible with llama.cpp between June 6th (commit `2d43387`) and August 21st 2023.
|
76 |
+
|
77 |
+
For support with latest llama.cpp, please use GGUF files instead.
|
78 |
|
79 |
+
The final llama.cpp commit with support for GGML was: [dadbed99e65252d79f81101a392d0d6497b86caa](https://github.com/ggerganov/llama.cpp/commit/dadbed99e65252d79f81101a392d0d6497b86caa)
|
80 |
+
|
81 |
+
As of August 23rd 2023 they are still compatible with all UIs, libraries and utilities which use GGML. This may change in the future.
|
82 |
|
83 |
## Explanation of the new k-quant methods
|
84 |
<details>
|
|
|
101 |
| Name | Quant method | Bits | Size | Max RAM required | Use case |
|
102 |
| ---- | ---- | ---- | ---- | ---- | ----- |
|
103 |
| [wizardmath-7b-v1.0.ggmlv3.q2_K.bin](https://huggingface.co/TheBloke/WizardMath-7B-V1.0-GGML/blob/main/wizardmath-7b-v1.0.ggmlv3.q2_K.bin) | q2_K | 2 | 3.05 GB| 5.55 GB | New k-quant method. Uses GGML_TYPE_Q4_K for the attention.vw and feed_forward.w2 tensors, GGML_TYPE_Q2_K for the other tensors. |
|
|
|
|
|
104 |
| [wizardmath-7b-v1.0.ggmlv3.q3_K_S.bin](https://huggingface.co/TheBloke/WizardMath-7B-V1.0-GGML/blob/main/wizardmath-7b-v1.0.ggmlv3.q3_K_S.bin) | q3_K_S | 3 | 3.12 GB| 5.62 GB | New k-quant method. Uses GGML_TYPE_Q3_K for all tensors |
|
105 |
+
| [wizardmath-7b-v1.0.ggmlv3.q3_K_M.bin](https://huggingface.co/TheBloke/WizardMath-7B-V1.0-GGML/blob/main/wizardmath-7b-v1.0.ggmlv3.q3_K_M.bin) | q3_K_M | 3 | 3.45 GB| 5.95 GB | New k-quant method. Uses GGML_TYPE_Q4_K for the attention.wv, attention.wo, and feed_forward.w2 tensors, else GGML_TYPE_Q3_K |
|
106 |
+
| [wizardmath-7b-v1.0.ggmlv3.q3_K_L.bin](https://huggingface.co/TheBloke/WizardMath-7B-V1.0-GGML/blob/main/wizardmath-7b-v1.0.ggmlv3.q3_K_L.bin) | q3_K_L | 3 | 3.77 GB| 6.27 GB | New k-quant method. Uses GGML_TYPE_Q5_K for the attention.wv, attention.wo, and feed_forward.w2 tensors, else GGML_TYPE_Q3_K |
|
107 |
| [wizardmath-7b-v1.0.ggmlv3.q4_0.bin](https://huggingface.co/TheBloke/WizardMath-7B-V1.0-GGML/blob/main/wizardmath-7b-v1.0.ggmlv3.q4_0.bin) | q4_0 | 4 | 3.79 GB| 6.29 GB | Original quant method, 4-bit. |
|
108 |
+
| [wizardmath-7b-v1.0.ggmlv3.q4_K_S.bin](https://huggingface.co/TheBloke/WizardMath-7B-V1.0-GGML/blob/main/wizardmath-7b-v1.0.ggmlv3.q4_K_S.bin) | q4_K_S | 4 | 3.98 GB| 6.48 GB | New k-quant method. Uses GGML_TYPE_Q4_K for all tensors |
|
109 |
| [wizardmath-7b-v1.0.ggmlv3.q4_1.bin](https://huggingface.co/TheBloke/WizardMath-7B-V1.0-GGML/blob/main/wizardmath-7b-v1.0.ggmlv3.q4_1.bin) | q4_1 | 4 | 4.21 GB| 6.71 GB | Original quant method, 4-bit. Higher accuracy than q4_0 but not as high as q5_0. However has quicker inference than q5 models. |
|
110 |
| [wizardmath-7b-v1.0.ggmlv3.q4_K_M.bin](https://huggingface.co/TheBloke/WizardMath-7B-V1.0-GGML/blob/main/wizardmath-7b-v1.0.ggmlv3.q4_K_M.bin) | q4_K_M | 4 | 4.24 GB| 6.74 GB | New k-quant method. Uses GGML_TYPE_Q6_K for half of the attention.wv and feed_forward.w2 tensors, else GGML_TYPE_Q4_K |
|
|
|
111 |
| [wizardmath-7b-v1.0.ggmlv3.q5_0.bin](https://huggingface.co/TheBloke/WizardMath-7B-V1.0-GGML/blob/main/wizardmath-7b-v1.0.ggmlv3.q5_0.bin) | q5_0 | 5 | 4.63 GB| 7.13 GB | Original quant method, 5-bit. Higher accuracy, higher resource usage and slower inference. |
|
|
|
|
|
112 |
| [wizardmath-7b-v1.0.ggmlv3.q5_K_S.bin](https://huggingface.co/TheBloke/WizardMath-7B-V1.0-GGML/blob/main/wizardmath-7b-v1.0.ggmlv3.q5_K_S.bin) | q5_K_S | 5 | 4.79 GB| 7.29 GB | New k-quant method. Uses GGML_TYPE_Q5_K for all tensors |
|
113 |
+
| [wizardmath-7b-v1.0.ggmlv3.q5_K_M.bin](https://huggingface.co/TheBloke/WizardMath-7B-V1.0-GGML/blob/main/wizardmath-7b-v1.0.ggmlv3.q5_K_M.bin) | q5_K_M | 5 | 4.92 GB| 7.42 GB | New k-quant method. Uses GGML_TYPE_Q6_K for half of the attention.wv and feed_forward.w2 tensors, else GGML_TYPE_Q5_K |
|
114 |
+
| [wizardmath-7b-v1.0.ggmlv3.q5_1.bin](https://huggingface.co/TheBloke/WizardMath-7B-V1.0-GGML/blob/main/wizardmath-7b-v1.0.ggmlv3.q5_1.bin) | q5_1 | 5 | 5.06 GB| 7.56 GB | Original quant method, 5-bit. Even higher accuracy, resource usage and slower inference. |
|
115 |
| [wizardmath-7b-v1.0.ggmlv3.q6_K.bin](https://huggingface.co/TheBloke/WizardMath-7B-V1.0-GGML/blob/main/wizardmath-7b-v1.0.ggmlv3.q6_K.bin) | q6_K | 6 | 5.65 GB| 8.15 GB | New k-quant method. Uses GGML_TYPE_Q8_K for all tensors - 6-bit quantization |
|
116 |
| [wizardmath-7b-v1.0.ggmlv3.q8_0.bin](https://huggingface.co/TheBloke/WizardMath-7B-V1.0-GGML/blob/main/wizardmath-7b-v1.0.ggmlv3.q8_0.bin) | q8_0 | 8 | 7.16 GB| 9.66 GB | Original quant method, 8-bit. Almost indistinguishable from float16. High resource use and slow. Not recommended for most users. |
|
117 |
|
|
|
119 |
|
120 |
## How to run in `llama.cpp`
|
121 |
|
122 |
+
Make sure you are using `llama.cpp` from commit [dadbed99e65252d79f81101a392d0d6497b86caa](https://github.com/ggerganov/llama.cpp/commit/dadbed99e65252d79f81101a392d0d6497b86caa) or earlier.
|
123 |
+
|
124 |
+
For compatibility with latest llama.cpp, please use GGUF files instead.
|
125 |
|
126 |
```
|
127 |
+
./main -t 10 -ngl 32 -m wizardmath-7b-v1.0.ggmlv3.q4_K_M.bin --color -c 2048 --temp 0.7 --repeat_penalty 1.1 -n -1 -p "Below is an instruction that describes a task. Write a response that appropriately completes the request.\n\n\n### Instruction:\nWrite a story about llamas\n\n\n### Response: Let's think step by step."
|
128 |
```
|
129 |
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`.
|
130 |
|
|
|
138 |
|
139 |
## How to run in `text-generation-webui`
|
140 |
|
141 |
+
Further instructions here: [text-generation-webui/docs/llama.cpp.md](https://github.com/oobabooga/text-generation-webui/blob/main/docs/llama.cpp.md).
|
142 |
|
143 |
<!-- footer start -->
|
144 |
+
<!-- 200823 -->
|
145 |
## Discord
|
146 |
|
147 |
For further support, and discussions on these models and AI in general, join us at:
|
|
|
161 |
* Patreon: https://patreon.com/TheBlokeAI
|
162 |
* Ko-Fi: https://ko-fi.com/TheBlokeAI
|
163 |
|
164 |
+
**Special thanks to**: Aemon Algiz.
|
165 |
|
166 |
+
**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
|
167 |
|
168 |
|
169 |
Thank you to all my generous patrons and donaters!
|
170 |
|
171 |
+
And thank you again to a16z for their generous grant.
|
172 |
+
|
173 |
<!-- footer end -->
|
174 |
|
175 |
# Original model card: WizardLM's WizardMath 7B V1.0
|
176 |
|
177 |
|
178 |
|
179 |
+
## WizardMath: Empowering Mathematical Reasoning for Large Language Models via Reinforced Evol-Instruct (RLEIF)
|
|
|
180 |
|
181 |
|
182 |
<p align="center">
|
183 |
+
π€ <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>
|
184 |
</p>
|
185 |
<p align="center">
|
186 |
+
π Join our <a href="https://discord.gg/VZjjHtWrKs" target="_blank">Discord</a>
|
187 |
</p>
|
188 |
|
189 |
+
| Model | Checkpoint | Paper | HumanEval | MBPP | Demo | License |
|
190 |
+
| ----- |------| ---- |------|-------| ----- | ----- |
|
191 |
+
| 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> |
|
192 |
+
| 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> |
|
193 |
+
| 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> |
|
194 |
+
| 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> |
|
195 |
+
| 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> |
|
196 |
+
| 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> |
|
197 |
|
198 |
|
199 |
+
| Model | Checkpoint | Paper | GSM8k | MATH |Online Demo| License|
|
200 |
+
| ----- |------| ---- |------|-------| ----- | ----- |
|
201 |
+
| 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> |
|
202 |
+
| 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> |
|
203 |
+
| 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>|
|
204 |
|
205 |
+
|
206 |
+
|
207 |
+
<font size=4>
|
208 |
+
|
209 |
+
| <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>|
|
210 |
+
| ----- |------| ---- |------|-------| ----- | ----- | ----- |
|
211 |
+
| <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> |
|
212 |
+
| <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> |
|
213 |
+
| <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>|
|
214 |
+
| <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> |
|
215 |
+
| <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>|
|
216 |
+
| <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>|
|
217 |
+
</font>
|
218 |
|
219 |
**Github Repo**: https://github.com/nlpxucan/WizardLM/tree/main/WizardMath
|
220 |
|
221 |
+
**Twitter**: https://twitter.com/WizardLM_AI/status/1689998428200112128
|
222 |
|
223 |
+
**Discord**: https://discord.gg/VZjjHtWrKs
|
224 |
|
225 |
+
## Comparing WizardMath-V1.0 with Other LLMs.
|
226 |
|
227 |
+
π₯ The following figure shows that our **WizardMath-70B-V1.0 attains the fifth position in this benchmark**, surpassing ChatGPT (81.6 vs. 80.8) , Claude Instant (81.6 vs. 80.9), PaLM 2 540B (81.6 vs. 80.7).
|
228 |
+
|
229 |
+
<p align="center" width="100%">
|
230 |
+
<a ><img src="https://raw.githubusercontent.com/nlpxucan/WizardLM/main/WizardMath/images/wizardmath_gsm8k.png" alt="WizardMath" style="width: 96%; min-width: 300px; display: block; margin: auto;"></a>
|
231 |
+
</p>
|
232 |
|
233 |
β<b>Note for model system prompts usage:</b>
|
234 |
|
235 |
+
Please use **the same systems prompts strictly** with us, and we do not guarantee the accuracy of the **quantified versions**.
|
236 |
+
|
237 |
+
**Default version:**
|
238 |
|
239 |
```
|
240 |
+
"Below is an instruction that describes a task. Write a response that appropriately completes the request.\n\n### Instruction:\n{instruction}\n\n### Response:"
|
241 |
+
```
|
242 |
|
243 |
|
244 |
+
**CoT Version:** οΌβFor the **simple** math questions, we do NOT recommend to use the CoT prompt.οΌ
|
|
|
245 |
|
246 |
|
247 |
+
```
|
248 |
+
"Below is an instruction that describes a task. Write a response that appropriately completes the request.\n\n### Instruction:\n{instruction}\n\n### Response: Let's think step by step."
|
249 |
```
|
250 |
|
251 |
+
## Inference WizardMath Demo Script
|
252 |
+
|
253 |
+
We provide the WizardMath inference demo code [here](https://github.com/nlpxucan/WizardLM/tree/main/demo).
|
254 |
+
|
255 |
+
|
256 |
β<b>To commen concern about dataset:</b>
|
257 |
|
258 |
Recently, there have been clear changes in the open-source policy and regulations of our overall organization's code, data, and models.
|
259 |
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 .
|
260 |
Our researchers have no authority to publicly release them without authorization.
|
261 |
Thank you for your understanding.
|
262 |
+
|
263 |
+
|
264 |
+
## Citation
|
265 |
+
|
266 |
+
Please cite the repo if you use the data, method or code in this repo.
|
267 |
+
|
268 |
+
```
|
269 |
+
@article{luo2023wizardmath,
|
270 |
+
title={WizardMath: Empowering Mathematical Reasoning for Large Language Models via Reinforced Evol-Instruct},
|
271 |
+
author={Luo, Haipeng and Sun, Qingfeng and Xu, Can and Zhao, Pu and Lou, Jianguang and Tao, Chongyang and Geng, Xiubo and Lin, Qingwei and Chen, Shifeng and Zhang, Dongmei},
|
272 |
+
journal={arXiv preprint arXiv:2308.09583},
|
273 |
+
year={2023}
|
274 |
+
}
|
275 |
+
```
|