Initial GGML model commit
Browse files
README.md
CHANGED
@@ -39,6 +39,8 @@ This repo contains GGML format model files for [Jon Durbin's Airoboros L2 70B](h
|
|
39 |
|
40 |
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.
|
41 |
|
|
|
|
|
42 |
### About GGML
|
43 |
|
44 |
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:
|
@@ -111,39 +113,8 @@ Refer to the Provided Files table below to see what files use which methods, and
|
|
111 |
| [airoboros-l2-70b-2.1.ggmlv3.Q5_0.bin](https://huggingface.co/TheBloke/Airoboros-L2-70B-2.1-GGML/blob/main/airoboros-l2-70b-2.1.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. |
|
112 |
| [airoboros-l2-70b-2.1.ggmlv3.Q5_K_S.bin](https://huggingface.co/TheBloke/Airoboros-L2-70B-2.1-GGML/blob/main/airoboros-l2-70b-2.1.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 |
|
113 |
| [airoboros-l2-70b-2.1.ggmlv3.Q5_K_M.bin](https://huggingface.co/TheBloke/Airoboros-L2-70B-2.1-GGML/blob/main/airoboros-l2-70b-2.1.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 |
|
114 |
-
| airoboros-l2-70b-2.1.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. |
|
115 |
-
| airoboros-l2-70b-2.1.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 |
|
116 |
-
| airoboros-l2-70b-2.1.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. |
|
117 |
-
|
118 |
-
### q5_1, q6_K and q8_0 files require expansion from archive
|
119 |
-
|
120 |
-
**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.
|
121 |
|
122 |
-
|
123 |
-
<summary>Click for instructions regarding q5_1, q6_K and q8_0 files</summary>
|
124 |
-
|
125 |
-
### q5_1
|
126 |
-
Please download:
|
127 |
-
* `airoboros-l2-70b-2.1.ggmlv3.q5_1.zip`
|
128 |
-
* `airoboros-l2-70b-2.1.ggmlv3.q5_1.z01`
|
129 |
-
|
130 |
-
### q6_K
|
131 |
-
Please download:
|
132 |
-
* `airoboros-l2-70b-2.1.ggmlv3.q6_K.zip`
|
133 |
-
* `airoboros-l2-70b-2.1.ggmlv3.q6_K.z01`
|
134 |
-
|
135 |
-
### q8_0
|
136 |
-
Please download:
|
137 |
-
* `airoboros-l2-70b-2.1.ggmlv3.q8_0.zip`
|
138 |
-
* `airoboros-l2-70b-2.1.ggmlv3.q8_0.z01`
|
139 |
-
|
140 |
-
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:
|
141 |
-
```
|
142 |
-
sudo apt update -y && sudo apt install 7zip
|
143 |
-
7zz x airoboros-l2-70b-2.1.ggmlv3.q6_K.zip
|
144 |
-
```
|
145 |
-
|
146 |
-
</details>
|
147 |
|
148 |
## How to run in `llama.cpp`
|
149 |
|
@@ -209,7 +180,9 @@ And thank you again to a16z for their generous grant.
|
|
209 |
|
210 |
### Overview
|
211 |
|
212 |
-
__*
|
|
|
|
|
213 |
|
214 |
This is an instruction fine-tuned llama-2 model, using synthetic data generated by [airoboros](https://github.com/jondurbin/airoboros)
|
215 |
|
|
|
39 |
|
40 |
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.
|
41 |
|
42 |
+
Please use the GGUF models instead.
|
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:
|
|
|
113 |
| [airoboros-l2-70b-2.1.ggmlv3.Q5_0.bin](https://huggingface.co/TheBloke/Airoboros-L2-70B-2.1-GGML/blob/main/airoboros-l2-70b-2.1.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. |
|
114 |
| [airoboros-l2-70b-2.1.ggmlv3.Q5_K_S.bin](https://huggingface.co/TheBloke/Airoboros-L2-70B-2.1-GGML/blob/main/airoboros-l2-70b-2.1.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 |
|
115 |
| [airoboros-l2-70b-2.1.ggmlv3.Q5_K_M.bin](https://huggingface.co/TheBloke/Airoboros-L2-70B-2.1-GGML/blob/main/airoboros-l2-70b-2.1.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 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
116 |
|
117 |
+
**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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
118 |
|
119 |
## How to run in `llama.cpp`
|
120 |
|
|
|
180 |
|
181 |
### Overview
|
182 |
|
183 |
+
__*NOTE: The weights have been re-uploaded as of 2023-08-28 06:57PM EST*__
|
184 |
+
|
185 |
+
__*I re-merged the adapter weights (info here: https://twitter.com/jon_durbin/status/1696243076178571474)*__
|
186 |
|
187 |
This is an instruction fine-tuned llama-2 model, using synthetic data generated by [airoboros](https://github.com/jondurbin/airoboros)
|
188 |
|