Upload README.md
Browse files
README.md
CHANGED
@@ -41,6 +41,8 @@ This repo contains GGML format model files for [Bud's GenZ 70B](https://huggingf
|
|
41 |
|
42 |
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.
|
43 |
|
|
|
|
|
44 |
### About GGML
|
45 |
|
46 |
GPU acceleration is now available for Llama 2 70B GGML files, with both CUDA (NVidia) and Metal (macOS). The following clients/libraries are known to work with these files, including with GPU acceleration:
|
@@ -114,39 +116,8 @@ Refer to the Provided Files table below to see what files use which methods, and
|
|
114 |
| [genz-70b.ggmlv3.Q5_0.bin](https://huggingface.co/TheBloke/Genz-70b-GGML/blob/main/genz-70b.ggmlv3.Q5_0.bin) | Q5_0 | 5 | 47.46 GB| 49.96 GB | Original quant method, 5-bit. Higher accuracy, higher resource usage and slower inference. |
|
115 |
| [genz-70b.ggmlv3.Q5_K_S.bin](https://huggingface.co/TheBloke/Genz-70b-GGML/blob/main/genz-70b.ggmlv3.Q5_K_S.bin) | Q5_K_S | 5 | 47.46 GB| 49.96 GB | New k-quant method. Uses GGML_TYPE_Q5_K for all tensors |
|
116 |
| [genz-70b.ggmlv3.Q5_K_M.bin](https://huggingface.co/TheBloke/Genz-70b-GGML/blob/main/genz-70b.ggmlv3.Q5_K_M.bin) | Q5_K_M | 5 | 48.75 GB| 51.25 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 |
|
117 |
-
| genz-70b.ggmlv3.q5_1.bin | q5_1 | 5 | 51.76 GB | 54.26 GB | Original quant method, 5-bit. Higher accuracy, slower inference than q5_0. |
|
118 |
-
| genz-70b.ggmlv3.q6_K.bin | q6_K | 6 | 56.59 GB | 59.09 GB | New k-quant method. Uses GGML_TYPE_Q8_K - 6-bit quantization - for all tensors |
|
119 |
-
| genz-70b.ggmlv3.q8_0.bin | q8_0 | 8 | 73.23 GB | 75.73 GB | Original llama.cpp quant method, 8-bit. Almost indistinguishable from float16. High resource use and slow. Not recommended for most users. |
|
120 |
-
|
121 |
-
### q5_1, q6_K and q8_0 files require expansion from archive
|
122 |
-
|
123 |
-
**Note:** HF does not support uploading files larger than 50GB. Therefore I have uploaded the q6_K and q8_0 files as multi-part ZIP files. They are not compressed, they are just for storing a .bin file in two parts.
|
124 |
|
125 |
-
|
126 |
-
<summary>Click for instructions regarding q5_1, q6_K and q8_0 files</summary>
|
127 |
-
|
128 |
-
### q5_1
|
129 |
-
Please download:
|
130 |
-
* `genz-70b.ggmlv3.q5_1.zip`
|
131 |
-
* `genz-70b.ggmlv3.q5_1.z01`
|
132 |
-
|
133 |
-
### q6_K
|
134 |
-
Please download:
|
135 |
-
* `genz-70b.ggmlv3.q6_K.zip`
|
136 |
-
* `genz-70b.ggmlv3.q6_K.z01`
|
137 |
-
|
138 |
-
### q8_0
|
139 |
-
Please download:
|
140 |
-
* `genz-70b.ggmlv3.q8_0.zip`
|
141 |
-
* `genz-70b.ggmlv3.q8_0.z01`
|
142 |
-
|
143 |
-
Then extract the .zip archive. This will will expand both parts automatically. On Linux I found I had to use `7zip` - the basic `unzip` tool did not work. Example:
|
144 |
-
```
|
145 |
-
sudo apt update -y && sudo apt install 7zip
|
146 |
-
7zz x genz-70b.ggmlv3.q6_K.zip
|
147 |
-
```
|
148 |
-
|
149 |
-
</details>
|
150 |
|
151 |
## How to run in `llama.cpp`
|
152 |
|
@@ -157,7 +128,7 @@ For compatibility with latest llama.cpp, please use GGUF files instead.
|
|
157 |
I use the following command line; adjust for your tastes and needs:
|
158 |
|
159 |
```
|
160 |
-
./main -t 10 -ngl 40 -gqa 8 -m genz-70b.ggmlv3.q4_K_M.bin --color -c 4096 --temp 0.7 --repeat_penalty 1.1 -n -1 -p "### User:\
|
161 |
```
|
162 |
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 you are fully offloading the model to GPU, use `-t 1`
|
163 |
|
@@ -198,7 +169,7 @@ Donaters will get priority support on any and all AI/LLM/model questions and req
|
|
198 |
|
199 |
**Special thanks to**: Aemon Algiz.
|
200 |
|
201 |
-
**Patreon special mentions**:
|
202 |
|
203 |
|
204 |
Thank you to all my generous patrons and donaters!
|
@@ -223,7 +194,7 @@ And thank you again to a16z for their generous grant.
|
|
223 |
|
224 |
Welcome to **GenZ**, an advanced Large Language Model (LLM) fine-tuned on the foundation of Meta's open-source Llama V2 70B parameter model. At Bud Ecosystem, we believe in the power of open-source collaboration to drive the advancement of technology at an accelerated pace. Our vision is to democratize access to fine-tuned LLMs, and to that end, we will be releasing a series of models across different parameter counts (7B, 13B, and 70B) and quantizations (32-bit and 4-bit) for the open-source community to use, enhance, and build upon.
|
225 |
|
226 |
-
<p align="center"><img src="https://raw.githubusercontent.com/BudEcosystem/GenZ/main/assets/
|
227 |
|
228 |
The smaller quantization version of our models makes them more accessible, enabling their use even on personal computers. This opens up a world of possibilities for developers, researchers, and enthusiasts to experiment with these models and contribute to the collective advancement of language model technology.
|
229 |
|
@@ -252,6 +223,28 @@ And this isn't the end. It's just the beginning of a journey towards creating mo
|
|
252 |
|
253 |
---
|
254 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
255 |
|
256 |
<h2>Getting Started on Hugging Face 🤗</h2>
|
257 |
|
@@ -362,29 +355,6 @@ Here are the hyperparameters we used for fine-tuning:
|
|
362 |
| Precision | FP16 |
|
363 |
| Optimizer | AdamW |
|
364 |
|
365 |
-
---
|
366 |
-
|
367 |
-
<h2>Evaluations 🎯</h2>
|
368 |
-
|
369 |
-
Evaluating our model is a key part of our fine-tuning process. It helps us understand how our model is performing and how it stacks up against other models. Here's a look at some of the key evaluations for GenZ 70B:
|
370 |
-
|
371 |
-
<h3>Benchmark Comparison</h3>
|
372 |
-
|
373 |
-
We've compared GenZ models to understand the improvements our fine-tuning has achieved.
|
374 |
-
|
375 |
-
| Model Name | MT Bench | MMLU | Human Eval | Hellaswag | BBH |
|
376 |
-
|:----------:|:--------:|:----:|:----------:|:---------:|:----:|
|
377 |
-
| Genz 13B | 6.12 | 53.62| 17.68 | 77.38 | 37.76|
|
378 |
-
| Genz 13B v2| 6.79 | 53.68| 21.95 | 77.48 | 38.1 |
|
379 |
-
| Genz 70B | 7.33 | 70.32| | | |
|
380 |
-
|
381 |
-
<h3>MT Bench Score</h3>
|
382 |
-
|
383 |
-
A key evaluation metric we use is the MT Bench score. This score provides a comprehensive assessment of our model's performance across a range of tasks.
|
384 |
-
|
385 |
-
<p align="center"><img src="https://raw.githubusercontent.com/BudEcosystem/GenZ/main/assets/mt_bench_score.png" width="500"></p>
|
386 |
-
|
387 |
-
|
388 |
---
|
389 |
|
390 |
<h2>Looking Ahead 👀</h2>
|
|
|
41 |
|
42 |
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.
|
43 |
|
44 |
+
Please use the GGUF models instead.
|
45 |
+
|
46 |
### About GGML
|
47 |
|
48 |
GPU acceleration is now available for Llama 2 70B GGML files, with both CUDA (NVidia) and Metal (macOS). The following clients/libraries are known to work with these files, including with GPU acceleration:
|
|
|
116 |
| [genz-70b.ggmlv3.Q5_0.bin](https://huggingface.co/TheBloke/Genz-70b-GGML/blob/main/genz-70b.ggmlv3.Q5_0.bin) | Q5_0 | 5 | 47.46 GB| 49.96 GB | Original quant method, 5-bit. Higher accuracy, higher resource usage and slower inference. |
|
117 |
| [genz-70b.ggmlv3.Q5_K_S.bin](https://huggingface.co/TheBloke/Genz-70b-GGML/blob/main/genz-70b.ggmlv3.Q5_K_S.bin) | Q5_K_S | 5 | 47.46 GB| 49.96 GB | New k-quant method. Uses GGML_TYPE_Q5_K for all tensors |
|
118 |
| [genz-70b.ggmlv3.Q5_K_M.bin](https://huggingface.co/TheBloke/Genz-70b-GGML/blob/main/genz-70b.ggmlv3.Q5_K_M.bin) | Q5_K_M | 5 | 48.75 GB| 51.25 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 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
119 |
|
120 |
+
**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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
121 |
|
122 |
## How to run in `llama.cpp`
|
123 |
|
|
|
128 |
I use the following command line; adjust for your tastes and needs:
|
129 |
|
130 |
```
|
131 |
+
./main -t 10 -ngl 40 -gqa 8 -m genz-70b.ggmlv3.q4_K_M.bin --color -c 4096 --temp 0.7 --repeat_penalty 1.1 -n -1 -p "### User:\n{prompt}\n\n### Assistant:"
|
132 |
```
|
133 |
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 you are fully offloading the model to GPU, use `-t 1`
|
134 |
|
|
|
169 |
|
170 |
**Special thanks to**: Aemon Algiz.
|
171 |
|
172 |
+
**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
|
173 |
|
174 |
|
175 |
Thank you to all my generous patrons and donaters!
|
|
|
194 |
|
195 |
Welcome to **GenZ**, an advanced Large Language Model (LLM) fine-tuned on the foundation of Meta's open-source Llama V2 70B parameter model. At Bud Ecosystem, we believe in the power of open-source collaboration to drive the advancement of technology at an accelerated pace. Our vision is to democratize access to fine-tuned LLMs, and to that end, we will be releasing a series of models across different parameter counts (7B, 13B, and 70B) and quantizations (32-bit and 4-bit) for the open-source community to use, enhance, and build upon.
|
196 |
|
197 |
+
<p align="center"><img src="https://raw.githubusercontent.com/BudEcosystem/GenZ/main/assets/mt_bench_compare.png" width="500"></p>
|
198 |
|
199 |
The smaller quantization version of our models makes them more accessible, enabling their use even on personal computers. This opens up a world of possibilities for developers, researchers, and enthusiasts to experiment with these models and contribute to the collective advancement of language model technology.
|
200 |
|
|
|
223 |
|
224 |
---
|
225 |
|
226 |
+
<h2>Evaluations 🎯</h2>
|
227 |
+
|
228 |
+
Evaluating our model is a key part of our fine-tuning process. It helps us understand how our model is performing and how it stacks up against other models. Here's a look at some of the key evaluations for GenZ 70B:
|
229 |
+
|
230 |
+
<h3>Benchmark Comparison</h3>
|
231 |
+
|
232 |
+
We've compared GenZ models to understand the improvements our fine-tuning has achieved.
|
233 |
+
|
234 |
+
| Model Name | MT Bench | MMLU | Human Eval | BBH |
|
235 |
+
|:----------:|:--------:|:----:|:----------:|:----:|
|
236 |
+
| Genz 13B | 6.12 | 53.62| 17.68 | 37.76|
|
237 |
+
| Genz 13B v2| 6.79 | 53.68| 21.95 | 38.1 |
|
238 |
+
| Genz 70B | 7.33 | 70.32| 37.8 |54.69 |
|
239 |
+
|
240 |
+
<h3>MT Bench Score</h3>
|
241 |
+
|
242 |
+
A key evaluation metric we use is the MT Bench score. This score provides a comprehensive assessment of our model's performance across a range of tasks.
|
243 |
+
|
244 |
+
<p align="center"><img src="https://raw.githubusercontent.com/BudEcosystem/GenZ/main/assets/mt_bench_score.png" width="500"></p>
|
245 |
+
|
246 |
+
|
247 |
+
---
|
248 |
|
249 |
<h2>Getting Started on Hugging Face 🤗</h2>
|
250 |
|
|
|
355 |
| Precision | FP16 |
|
356 |
| Optimizer | AdamW |
|
357 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
358 |
---
|
359 |
|
360 |
<h2>Looking Ahead 👀</h2>
|