TheBloke commited on
Commit
e32f864
1 Parent(s): 0625134

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +27 -2
README.md CHANGED
@@ -19,10 +19,35 @@ It was created by merging the LoRA provided in the above repo with the original
19
  The files in this repo were then quantized to 4bit for use with [llama.cpp](https://github.com/ggerganov/llama.cpp) using the new 4bit quantisation methods being worked on in [PR #896](https://github.com/ggerganov/llama.cpp/pull/896).
20
 
21
  ## Provided files
 
 
 
 
 
 
 
22
 
23
- Two files are provided. One is quantised using method Q4_0, the other in Q4_1.
 
 
 
 
24
 
25
- The Q4_1 file requires more RAM and may run a little slower. It may give slightly better results, but this is not proven.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
26
 
27
  ## How to run in `llama.cpp`
28
 
 
19
  The files in this repo were then quantized to 4bit for use with [llama.cpp](https://github.com/ggerganov/llama.cpp) using the new 4bit quantisation methods being worked on in [PR #896](https://github.com/ggerganov/llama.cpp/pull/896).
20
 
21
  ## Provided files
22
+ | Name | Quant method | Bits | Size | RAM required | Use case |
23
+ | ---- | ---- | ---- | ---- | ---- | ----- |
24
+ `gpt4-alpaca-lora-30B.GGML.q4_0.bin` | q4_0 | 4bit | 20.3GB | 23GB | Maximum compatibility |
25
+ `gpt4-alpaca-lora-30B.GGML.q4_2.bin` | q4_2 | 4bit | 24.4GB | 28GB | Best compromise between resources, speed and quality |
26
+ `gpt4-alpaca-lora-30B.GGML.q4_3.bin` | q4_3 | 4bit | 20.3GB | 23GB | Maximum quality 4bit, higher RAM requirements and slower inference |
27
+ `gpt4-alpaca-lora-30B.GGML.q5_0.bin` | q5_0 | 5bit | 24.4GB | 28GB | Brand new 5bit method. Potentially higher quality than 4bit, at cost of slightly higher resources. |
28
+ `gpt4-alpaca-lora-30B.GGML.q5_1.bin` | q5_1 | 5bit | 24.4GB | 28GB | Brand new 5bit method. Slightly higher resource usage than q5_0.|
29
 
30
+ * The q4_0 file provides lower quality, but maximal compatibility. It will work with past and future versions of llama.cpp
31
+ * The q4_2 file offers the best combination of performance and quality. This format is still subject to change and there may be compatibility issues, see below.
32
+ * The q4_3 file offers the highest quality, at the cost of increased RAM usage and slower inference speed. This format is still subject to change and there may be compatibility issues, see below.
33
+ * The q5_0 file is using brand new 5bit method released 26th April. This is the 5bit equivalent of q4_0.
34
+ * The q5_1 file is using brand new 5bit method released 26th April. This is the 5bit equivalent of q4_1.
35
 
36
+ ## q4_2 and q4_3 compatibility
37
+
38
+ q4_2 and q4_3 are new 4bit quantisation methods offering improved quality. However they are still under development and their formats are subject to change.
39
+
40
+ In order to use these files you will need to use recent llama.cpp code. And it's possible that future updates to llama.cpp could require that these files are re-generated.
41
+
42
+ If and when the q4_2 and q4_3 files no longer work with recent versions of llama.cpp I will endeavour to update them.
43
+
44
+ If you want to ensure guaranteed compatibility with a wide range of llama.cpp versions, use the q4_0 file.
45
+
46
+ ## q5_0 and q5_1 compatibility
47
+
48
+ These new methods were released to llama.cpp on 26th April. You will need to pull the latest llama.cpp code and rebuild to be able to use them.
49
+
50
+ Don't expect any third-party UIs/tools to support them yet.
51
 
52
  ## How to run in `llama.cpp`
53