File size: 5,089 Bytes
d74e129
 
 
 
 
 
 
 
 
 
 
 
9904859
 
 
 
 
 
d74e129
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d1af410
1af6501
 
 
 
d74e129
 
 
d1af410
 
1af6501
d74e129
 
1af6501
 
d1af410
d74e129
 
1af6501
d1af410
1af6501
d74e129
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
---
base_model: codellama/CodeLlama-70b-hf
language:
- code
library_name: transformers
license: llama2
quantized_by: mradermacher
tags:
- llama-2
---
## About

<!-- ### quantize_version: 2 -->
<!-- ### output_tensor_quantised: 1 -->
<!-- ### convert_type: hf -->
<!-- ### vocab_type:  -->
<!-- ### tags: nicoboss -->
weighted/imatrix quants of https://huggingface.co/codellama/CodeLlama-70b-hf

<!-- provided-files -->
static quants are available at https://huggingface.co/mradermacher/CodeLlama-70b-hf-GGUF
## Usage

If you are unsure how to use GGUF files, refer to one of [TheBloke's
READMEs](https://huggingface.co/TheBloke/KafkaLM-70B-German-V0.1-GGUF) for
more details, including on how to concatenate multi-part files.

## Provided Quants

(sorted by size, not necessarily quality. IQ-quants are often preferable over similar sized non-IQ quants)

| Link | Type | Size/GB | Notes |
|:-----|:-----|--------:|:------|
| [GGUF](https://huggingface.co/mradermacher/CodeLlama-70b-hf-i1-GGUF/resolve/main/CodeLlama-70b-hf.i1-IQ1_S.gguf) | i1-IQ1_S | 14.6 | for the desperate |
| [GGUF](https://huggingface.co/mradermacher/CodeLlama-70b-hf-i1-GGUF/resolve/main/CodeLlama-70b-hf.i1-IQ1_M.gguf) | i1-IQ1_M | 16.0 | mostly desperate |
| [GGUF](https://huggingface.co/mradermacher/CodeLlama-70b-hf-i1-GGUF/resolve/main/CodeLlama-70b-hf.i1-IQ2_XXS.gguf) | i1-IQ2_XXS | 18.4 |  |
| [GGUF](https://huggingface.co/mradermacher/CodeLlama-70b-hf-i1-GGUF/resolve/main/CodeLlama-70b-hf.i1-IQ2_XS.gguf) | i1-IQ2_XS | 20.4 |  |
| [GGUF](https://huggingface.co/mradermacher/CodeLlama-70b-hf-i1-GGUF/resolve/main/CodeLlama-70b-hf.i1-IQ2_S.gguf) | i1-IQ2_S | 21.5 |  |
| [GGUF](https://huggingface.co/mradermacher/CodeLlama-70b-hf-i1-GGUF/resolve/main/CodeLlama-70b-hf.i1-IQ2_M.gguf) | i1-IQ2_M | 23.3 |  |
| [GGUF](https://huggingface.co/mradermacher/CodeLlama-70b-hf-i1-GGUF/resolve/main/CodeLlama-70b-hf.i1-Q2_K.gguf) | i1-Q2_K | 25.6 | IQ3_XXS probably better |
| [GGUF](https://huggingface.co/mradermacher/CodeLlama-70b-hf-i1-GGUF/resolve/main/CodeLlama-70b-hf.i1-IQ3_XXS.gguf) | i1-IQ3_XXS | 26.7 | lower quality |
| [GGUF](https://huggingface.co/mradermacher/CodeLlama-70b-hf-i1-GGUF/resolve/main/CodeLlama-70b-hf.i1-IQ3_XS.gguf) | i1-IQ3_XS | 28.4 |  |
| [GGUF](https://huggingface.co/mradermacher/CodeLlama-70b-hf-i1-GGUF/resolve/main/CodeLlama-70b-hf.i1-IQ3_S.gguf) | i1-IQ3_S | 30.0 | beats Q3_K* |
| [GGUF](https://huggingface.co/mradermacher/CodeLlama-70b-hf-i1-GGUF/resolve/main/CodeLlama-70b-hf.i1-Q3_K_S.gguf) | i1-Q3_K_S | 30.0 | IQ3_XS probably better |
| [GGUF](https://huggingface.co/mradermacher/CodeLlama-70b-hf-i1-GGUF/resolve/main/CodeLlama-70b-hf.i1-IQ3_M.gguf) | i1-IQ3_M | 31.0 |  |
| [GGUF](https://huggingface.co/mradermacher/CodeLlama-70b-hf-i1-GGUF/resolve/main/CodeLlama-70b-hf.i1-Q3_K_M.gguf) | i1-Q3_K_M | 33.4 | IQ3_S probably better |
| [GGUF](https://huggingface.co/mradermacher/CodeLlama-70b-hf-i1-GGUF/resolve/main/CodeLlama-70b-hf.i1-Q3_K_L.gguf) | i1-Q3_K_L | 36.2 | IQ3_M probably better |
| [GGUF](https://huggingface.co/mradermacher/CodeLlama-70b-hf-i1-GGUF/resolve/main/CodeLlama-70b-hf.i1-IQ4_XS.gguf) | i1-IQ4_XS | 36.9 |  |
| [GGUF](https://huggingface.co/mradermacher/CodeLlama-70b-hf-i1-GGUF/resolve/main/CodeLlama-70b-hf.i1-Q4_0.gguf) | i1-Q4_0 | 39.1 | fast, low quality |
| [GGUF](https://huggingface.co/mradermacher/CodeLlama-70b-hf-i1-GGUF/resolve/main/CodeLlama-70b-hf.i1-Q4_K_S.gguf) | i1-Q4_K_S | 39.3 | optimal size/speed/quality |
| [GGUF](https://huggingface.co/mradermacher/CodeLlama-70b-hf-i1-GGUF/resolve/main/CodeLlama-70b-hf.i1-Q4_K_M.gguf) | i1-Q4_K_M | 41.5 | fast, recommended |
| [GGUF](https://huggingface.co/mradermacher/CodeLlama-70b-hf-i1-GGUF/resolve/main/CodeLlama-70b-hf.i1-Q5_K_S.gguf) | i1-Q5_K_S | 47.6 |  |
| [GGUF](https://huggingface.co/mradermacher/CodeLlama-70b-hf-i1-GGUF/resolve/main/CodeLlama-70b-hf.i1-Q5_K_M.gguf) | i1-Q5_K_M | 48.9 |  |
| [PART 1](https://huggingface.co/mradermacher/CodeLlama-70b-hf-i1-GGUF/resolve/main/CodeLlama-70b-hf.i1-Q6_K.gguf.part1of2) [PART 2](https://huggingface.co/mradermacher/CodeLlama-70b-hf-i1-GGUF/resolve/main/CodeLlama-70b-hf.i1-Q6_K.gguf.part2of2) | i1-Q6_K | 56.7 | practically like static Q6_K |

Here is a handy graph by ikawrakow comparing some lower-quality quant
types (lower is better):

![image.png](https://www.nethype.de/huggingface_embed/quantpplgraph.png)

And here are Artefact2's thoughts on the matter:
https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9

## FAQ / Model Request

See https://huggingface.co/mradermacher/model_requests for some answers to
questions you might have and/or if you want some other model quantized.

## Thanks

I thank my company, [nethype GmbH](https://www.nethype.de/), for letting
me use its servers and providing upgrades to my workstation to enable
this work in my free time. Additional thanks to [@nicoboss](https://huggingface.co/nicoboss) for giving me access to his private supercomputer, enabling me to provide many more imatrix quants, at much higher quality, than I would otherwise be able to.

<!-- end -->