@@ -9,6 +9,7 @@ Inference of [LLaMA](https://arxiv.org/abs/2302.13971) model in pure C/C++
9
9
10
10
** Hot topics:**
11
11
12
+ - Quantization formats ` Q4 ` and ` Q8 ` have changed again (19 May) - [ (info)] ( https://github.com/ggerganov/llama.cpp/pull/1508 )
12
13
- Quantization formats ` Q4 ` and ` Q5 ` have changed - requantize any old models [ (info)] ( https://github.com/ggerganov/llama.cpp/pull/1405 )
13
14
- [ Roadmap May 2023] ( https://github.com/ggerganov/llama.cpp/discussions/1220 )
14
15
@@ -334,16 +335,16 @@ Several quantization methods are supported. They differ in the resulting model d
334
335
335
336
| Model | Measure | F16 | Q4_0 | Q4_1 | Q5_0 | Q5_1 | Q8_0 |
336
337
|------:|--------------|-------:|-------:|-------:|-------:|-------:|-------:|
337
- | 7B | perplexity | 5.9066 | 6.1565 | 6.0910 | 5.9862 | 5.9481 | 5.9069 |
338
- | 7B | file size | 13.0G | 4.0G | 4.8G | 4.4G | 4.8G | 7.1G |
339
- | 7B | ms/tok @ 4th | 128 | 50 | 54 | 75 | 83 | 75 |
340
- | 7B | ms/tok @ 8th | 123 | 44 | 52 | 53 | 58 | 72 |
341
- | 7B | bits/weight | 16.0 | 5.0 | 6 .0 | 5.5 | 6.0 | 9.0 |
342
- | 13B | perplexity | 5.2543 | 5.3860 | 5.3607 | 5.2856 | 5.2706 | 5.2548 |
343
- | 13B | file size | 25.0G | 7.6G | 9.1G | 8.4G | 9.1G | 14G |
344
- | 13B | ms/tok @ 4th | 239 | 93 | 101 | 150 | 164 | 141 |
345
- | 13B | ms/tok @ 8th | 240 | 81 | 96 | 96 | 104 | 136 |
346
- | 13B | bits/weight | 16.0 | 5.0 | 6 .0 | 5.5 | 6.0 | 9.0 |
338
+ | 7B | perplexity | 5.9066 | 6.1565 | 6.0912 | 5.9862 | 5.9481 | 5.9070 |
339
+ | 7B | file size | 13.0G | 3.5G | 3.9G | 4.3G | 4.7G | 6.7G |
340
+ | 7B | ms/tok @ 4th | 127 | 55 | 54 | 76 | 83 | 72 |
341
+ | 7B | ms/tok @ 8th | 122 | 43 | 45 | 52 | 56 | 67 |
342
+ | 7B | bits/weight | 16.0 | 4.5 | 5 .0 | 5.5 | 6.0 | 8.5 |
343
+ | 13B | perplexity | 5.2543 | 5.3860 | 5.3608 | 5.2856 | 5.2706 | 5.2548 |
344
+ | 13B | file size | 25.0G | 6.8G | 7.6G | 8.3G | 9.1G | 13G |
345
+ | 13B | ms/tok @ 4th | - | 103 | 105 | 148 | 160 | 131 |
346
+ | 13B | ms/tok @ 8th | - | 73 | 82 | 98 | 105 | 128 |
347
+ | 13B | bits/weight | 16.0 | 4.5 | 5 .0 | 5.5 | 6.0 | 8.5 |
347
348
348
349
### Perplexity (measuring model quality)
349
350
0 commit comments