TheBloke commited on
Commit
0175b94
1 Parent(s): 16f282c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +29 -6
README.md CHANGED
@@ -28,13 +28,36 @@ This repo is the result of converting to GGML and quantising.
28
  ## Provided files
29
  | Name | Quant method | Bits | Size | RAM required | Use case |
30
  | ---- | ---- | ---- | ---- | ---- | ----- |
31
- `mpt7b.ggmlv2.ggmlv2.q4_0.bin` | q4_0 | 4bit | 4.21GB | 7.0GB | 4-bit. |
32
- `mpt7b.ggmlv2.ggmlv2.q4_1.bin` | q4_0 | 4bit | 4.63GB | 7.5GB | 4-bit. Higher accuracy than q4_0 but not as high as q5_0. However has quicker inference than q5 models. |
33
- `mpt7b.ggmlv2.ggmlv2.q5_0.bin` | q5_0 | 5bit | 4.63GB | 7.5GB | 5-bit. Higher accuracy, higher resource usage and slower inference. |
34
- `mpt7b.ggmlv2.ggmlv2.q5_1.bin` | q5_1 | 5bit | 5.06GB | 7.5GB | 5-bit. Even higher accuracy, and higher resource usage and slower inference. |
35
- `mpt7b.ggmlv2.ggmlv2.q8_0.bin` | q8_0 | 8bit | 7.58GB | 9.0GB | 8-bit. Almost indistinguishable from float16. Huge resource use and slow. Not recommended for normal use. |
36
- `mpt7b.ggmlv2.ggmlv2.fp16.bin` | fp16 | 16bit | GB | GB | Full 16-bit. |
37
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
 
39
  # Original model card: MPT-7B
40
 
 
28
  ## Provided files
29
  | Name | Quant method | Bits | Size | RAM required | Use case |
30
  | ---- | ---- | ---- | ---- | ---- | ----- |
31
+ `mpt7b.ggmlv2.q4_0.bin` | q4_0 | 4bit | 4.21GB | 7.0GB | 4-bit. |
32
+ `mpt7b.ggmlv2.q4_1.bin` | q4_0 | 4bit | 4.63GB | 7.5GB | 4-bit. Higher accuracy than q4_0 but not as high as q5_0. However has quicker inference than q5 models. |
33
+ `mpt7b.ggmlv2.q5_0.bin` | q5_0 | 5bit | 4.63GB | 7.5GB | 5-bit. Higher accuracy, higher resource usage and slower inference. |
34
+ `mpt7b.ggmlv2.q5_1.bin` | q5_1 | 5bit | 5.06GB | 7.5GB | 5-bit. Even higher accuracy, and higher resource usage and slower inference. |
35
+ `mpt7b.ggmlv2.q8_0.bin` | q8_0 | 8bit | 7.58GB | 9.0GB | 8-bit. Almost indistinguishable from float16. Huge resource use and slow. Not recommended for normal use. |
36
+ `mpt7b.ggmlv2.fp16.bin` | fp16 | 16bit | GB | GB | Full 16-bit. |
37
 
38
+ ## Compatibilty
39
+
40
+ These files are **not** compatible with llama.cpp.
41
+
42
+ Currently they can be used with:
43
+ * The example `mpt` binary provided with [ggml](https://github.com/ggerganov/ggml)
44
+ * [rustformers' llm](https://github.com/rustformers/llm)
45
+
46
+ As other options become available I will endeavour to update them here (do let me know in the Community tab if I've missed something!)
47
+
48
+ ## How to build, and an example of using the ggml `mpt` binary (command line only):
49
+
50
+ ```
51
+ git clone https://github.com/ggerganov/ggml
52
+ cd ggml
53
+ mkdir build
54
+ cd build
55
+ cmake ..
56
+ cmake --build . --config Release
57
+ bin/mpt -m /path/to/mpt7b.ggmlv2.ggmlv2.q4_0.bin -t 8 -n 512 -p "Write a story about llamas"
58
+ ```
59
+
60
+ Please see the ggml repo for other build options.
61
 
62
  # Original model card: MPT-7B
63