bartowski commited on
Commit
413571f
1 Parent(s): 85389b8

measurement.json

Browse files
Files changed (2) hide show
  1. README.md +80 -0
  2. measurement.json +0 -0
README.md ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ language:
4
+ - en
5
+ - fr
6
+ - de
7
+ - es
8
+ - it
9
+ - pt
10
+ - ja
11
+ - ko
12
+ - zh
13
+ - ar
14
+ license: cc-by-nc-4.0
15
+ quantized_by: bartowski
16
+ pipeline_tag: text-generation
17
+ ---
18
+
19
+ ## Exllama v2 Quantizations of c4ai-command-r-v01
20
+
21
+ Using <a href="https://github.com/turboderp/exllamav2/releases/tag/v0.0.16">turboderp's ExLlamaV2 v0.0.16</a> for quantization.
22
+
23
+ ## The "main" branch only contains the measurement.json, download one of the other branches for the model (see below)
24
+
25
+ Each branch contains an individual bits per weight, with the main one containing only the meaurement.json for further conversions.
26
+
27
+ Conversion was done using the default calibration dataset.
28
+
29
+ Default arguments used except when the bits per weight is above 6.0, at that point the lm_head layer is quantized at 8 bits per weight instead of the default 6.
30
+
31
+ Original model: https://huggingface.co/CohereForAI/c4ai-command-r-v01
32
+
33
+
34
+ <a href="https://huggingface.co/bartowski/c4ai-command-r-v01-exl2/tree/8_0">8.0 bits per weight</a>
35
+
36
+ <a href="https://huggingface.co/bartowski/c4ai-command-r-v01-exl2/tree/6_5">6.5 bits per weight</a>
37
+
38
+ <a href="https://huggingface.co/bartowski/c4ai-command-r-v01-exl2/tree/5_0">5.0 bits per weight</a>
39
+
40
+ <a href="https://huggingface.co/bartowski/c4ai-command-r-v01-exl2/tree/4_25">4.25 bits per weight</a>
41
+
42
+ <a href="https://huggingface.co/bartowski/c4ai-command-r-v01-exl2/tree/3_5">3.5 bits per weight</a>
43
+
44
+
45
+ ## Download instructions
46
+
47
+ With git:
48
+
49
+ ```shell
50
+ git clone --single-branch --branch 6_5 https://huggingface.co/bartowski/c4ai-command-r-v01-exl2
51
+ ```
52
+
53
+ With huggingface hub (credit to TheBloke for instructions):
54
+
55
+ ```shell
56
+ pip3 install huggingface-hub
57
+ ```
58
+
59
+ To download the `main` (only useful if you only care about measurement.json) branch to a folder called `c4ai-command-r-v01-exl2`:
60
+
61
+ ```shell
62
+ mkdir c4ai-command-r-v01-exl2
63
+ huggingface-cli download bartowski/c4ai-command-r-v01-exl2 --local-dir c4ai-command-r-v01-exl2 --local-dir-use-symlinks False
64
+ ```
65
+
66
+ To download from a different branch, add the `--revision` parameter:
67
+
68
+ Linux:
69
+
70
+ ```shell
71
+ mkdir c4ai-command-r-v01-exl2-6_5
72
+ huggingface-cli download bartowski/c4ai-command-r-v01-exl2 --revision 6_5 --local-dir c4ai-command-r-v01-exl2-6_5 --local-dir-use-symlinks False
73
+ ```
74
+
75
+ Windows (which apparently doesn't like _ in folders sometimes?):
76
+
77
+ ```shell
78
+ mkdir c4ai-command-r-v01-exl2-6.5
79
+ huggingface-cli download bartowski/c4ai-command-r-v01-exl2 --revision 6_5 --local-dir c4ai-command-r-v01-exl2-6.5 --local-dir-use-symlinks False
80
+ ```
measurement.json ADDED
The diff for this file is too large to render. See raw diff