bartowski commited on
Commit
54f5215
1 Parent(s): 5be802e

measurement.json

Browse files
Files changed (2) hide show
  1. README.md +75 -0
  2. measurement.json +0 -0
README.md ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ inference: false
3
+ license: other
4
+ license_name: mnpl
5
+ license_link: https://mistral.ai/licences/MNPL-0.1.md
6
+ tags:
7
+ - code
8
+ language:
9
+ - code
10
+ quantized_by: bartowski
11
+ pipeline_tag: text-generation
12
+ ---
13
+
14
+ ## Exllama v2 Quantizations of Codestral-22B-v0.1
15
+
16
+ Using <a href="https://github.com/turboderp/exllamav2/releases/tag/v0.1.1">turboderp's ExLlamaV2 v0.1.1</a> for quantization.
17
+
18
+ <b>The "main" branch only contains the measurement.json, download one of the other branches for the model (see below)</b>
19
+
20
+ Each branch contains an individual bits per weight, with the main one containing only the meaurement.json for further conversions.
21
+
22
+ Original model: https://huggingface.co/mistral-community/Codestral-22B-v0.1
23
+
24
+ ## Prompt format
25
+
26
+ No chat template specified so default is used. This may be incorrect, check original model card for details.
27
+
28
+ ```
29
+ <s> [INST] <<SYS>>
30
+ {system_prompt}
31
+ <</SYS>>
32
+
33
+ {prompt} [/INST] </s>
34
+ ```
35
+
36
+ ## Available sizes
37
+
38
+ | Branch | Bits | lm_head bits | VRAM (4k) | VRAM (16k) | VRAM (32k) | Description |
39
+ | ------ | ---- | ------------ | ---- | ---- | ---- | ----------- |
40
+ | [8_0](https://huggingface.co/bartowski/Codestral-22B-v0.1-exl2/tree/8_0) | 8.0 | 8.0 | 23.5 GB | 26.0 GB | 29.5 GB | Near unquantized performance, max quality ExLlamaV2 can create. |
41
+ | [6_5](https://huggingface.co/bartowski/Codestral-22B-v0.1-exl2/tree/6_5) | 6.5 | 8.0 | 19.4 GB | 21.9 GB | 25.4 GB | Near unquantized performance at vastly reduced size, **recommended**. |
42
+ | [5_0](https://huggingface.co/bartowski/Codestral-22B-v0.1-exl2/tree/5_0) | 5.0 | 6.0 | 15.5 GB | 18.0 GB | 21.5 GB | Smaller size, lower quality, still very high performance, **recommended**. |
43
+ | [4_25](https://huggingface.co/bartowski/Codestral-22B-v0.1-exl2/tree/4_25) | 4.25 | 6.0 | 13.3 GB | 15.8 GB | 19.3 GB | GPTQ equivalent bits per weight, slightly higher quality. |
44
+ | [3_5](https://huggingface.co/bartowski/Codestral-22B-v0.1-exl2/tree/3_5) | 3.5 | 6.0 | 11.6 GB | 14.1 GB | 17.6 GB | Lower quality, only use if you have to. |
45
+ | [3_0](https://huggingface.co/bartowski/Codestral-22B-v0.1-exl2/tree/3_0) | 3.0 | 6.0 | 9.8 GB | 12.3 GB | 15.8 GB | Very low quality. Usable on 12GB with low context or 16gb with 32k. |
46
+
47
+ ## Download instructions
48
+
49
+ With git:
50
+
51
+ ```shell
52
+ git clone --single-branch --branch 6_5 https://huggingface.co/bartowski/Codestral-22B-v0.1-exl2 Codestral-22B-v0.1-exl2-6_5
53
+ ```
54
+
55
+ With huggingface hub (credit to TheBloke for instructions):
56
+
57
+ ```shell
58
+ pip3 install huggingface-hub
59
+ ```
60
+
61
+ To download a specific branch, use the `--revision` parameter. For example, to download the 6.5 bpw branch:
62
+
63
+ Linux:
64
+
65
+ ```shell
66
+ huggingface-cli download bartowski/Codestral-22B-v0.1-exl2 --revision 6_5 --local-dir Codestral-22B-v0.1-exl2-6_5
67
+ ```
68
+
69
+ Windows (which apparently doesn't like _ in folders sometimes?):
70
+
71
+ ```shell
72
+ huggingface-cli download bartowski/Codestral-22B-v0.1-exl2 --revision 6_5 --local-dir Codestral-22B-v0.1-exl2-6.5
73
+ ```
74
+
75
+ Want to support my work? Visit my ko-fi page here: https://ko-fi.com/bartowski
measurement.json ADDED
The diff for this file is too large to render. See raw diff