bartowski commited on
Commit
0646dae
·
verified ·
1 Parent(s): 5f2f892

measurement.json

Browse files
Files changed (2) hide show
  1. README.md +70 -0
  2. measurement.json +0 -0
README.md ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - code
7
+ quantized_by: bartowski
8
+ ---
9
+
10
+ ## Exllama v2 Quantizations of OpenCodeInterpreter-CL-13B
11
+
12
+ Using <a href="https://github.com/turboderp/exllamav2/releases/tag/v0.0.14">turboderp's ExLlamaV2 v0.0.14</a> for quantization.
13
+
14
+ <b>The "main" branch only contains the measurement.json, download one of the other branches for the model (see below)</b>
15
+
16
+ Each branch contains an individual bits per weight, with the main one containing only the meaurement.json for further conversions.
17
+
18
+ Original model: https://huggingface.co/m-a-p/OpenCodeInterpreter-CL-13B
19
+
20
+ No GQA - VRAM requirements will be higher
21
+
22
+ | Branch | Bits | lm_head bits | VRAM (4k) | VRAM (16k) | Description |
23
+ | ----- | ---- | ------- | ------ | ------ | ------------ |
24
+ | [8_0](https://huggingface.co/bartowski/OpenCodeInterpreter-CL-13B-exl2/tree/8_0) | 8.0 | 8.0 | 16.8 GB | 26.2 GB | Near unquantized performance at vastly reduced size, **recommended**. |
25
+ | [6_5](https://huggingface.co/bartowski/OpenCodeInterpreter-CL-13B-exl2/tree/6_5) | 6.5 | 8.0 | 14.4 GB | 24.0 GB | Near unquantized performance at vastly reduced size, **recommended**. |
26
+ | [5_0](https://huggingface.co/bartowski/OpenCodeInterpreter-CL-13B-exl2/tree/5_0) | 5.0 | 6.0 | 12.1 GB | 21.7 GB | Slightly lower perplexity vs 6.5, can fit in 12 GB card with even lower context. |
27
+ | [4_25](https://huggingface.co/bartowski/OpenCodeInterpreter-CL-13B-exl2/tree/4_25) | 4.25 | 6.0 | 10.9 GB | 20.5 GB | GPTQ equivalent bits per weight. |
28
+ | [3_75](https://huggingface.co/bartowski/OpenCodeInterpreter-CL-13B-exl2/tree/3_75) | 3.75 | 6.0 | 10.1 GB | 19.7 GB | Lower quality but still generally usable. |
29
+ | [3_0](https://huggingface.co/bartowski/OpenCodeInterpreter-CL-13B-exl2/tree/3_0) | 3.0 | 6.0 | 9.1 GB | 18.7 GB | Very low quality, not recommended unless you have to. |
30
+
31
+ VRAM requirements listed for both 4k context and 16k context since without GQA the differences are massive (9.6 GB)
32
+
33
+ ## Download instructions
34
+
35
+ With git:
36
+
37
+ ```shell
38
+ git clone --single-branch --branch 6_5 https://huggingface.co/bartowski/OpenCodeInterpreter-CL-13B-exl2 OpenCodeInterpreter-CL-13B-exl2-6_5
39
+ ```
40
+
41
+ With huggingface hub (credit to TheBloke for instructions):
42
+
43
+ ```shell
44
+ pip3 install huggingface-hub
45
+ ```
46
+
47
+ To download the `main` (only useful if you only care about measurement.json) branch to a folder called `OpenCodeInterpreter-CL-13B-exl2`:
48
+
49
+ ```shell
50
+ mkdir OpenCodeInterpreter-CL-13B-exl2
51
+ huggingface-cli download bartowski/OpenCodeInterpreter-CL-13B-exl2 --local-dir OpenCodeInterpreter-CL-13B-exl2 --local-dir-use-symlinks False
52
+ ```
53
+
54
+ To download from a different branch, add the `--revision` parameter:
55
+
56
+ Linux:
57
+
58
+ ```shell
59
+ mkdir OpenCodeInterpreter-CL-13B-exl2-6_5
60
+ huggingface-cli download bartowski/OpenCodeInterpreter-CL-13B-exl2 --revision 6_5 --local-dir OpenCodeInterpreter-CL-13B-exl2-6_5 --local-dir-use-symlinks False
61
+ ```
62
+
63
+ Windows (which apparently doesn't like _ in folders sometimes?):
64
+
65
+ ```shell
66
+ mkdir OpenCodeInterpreter-CL-13B-exl2-6.5
67
+ huggingface-cli download bartowski/OpenCodeInterpreter-CL-13B-exl2 --revision 6_5 --local-dir OpenCodeInterpreter-CL-13B-exl2-6.5 --local-dir-use-symlinks False
68
+ ```
69
+
70
+ 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