bartowski commited on
Commit
342971f
1 Parent(s): 10a3d3e

measurement.json

Browse files
Files changed (2) hide show
  1. README.md +78 -0
  2. measurement.json +0 -0
README.md ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ datasets:
4
+ - HuggingFaceTB/cosmopedia
5
+ language:
6
+ - en
7
+ inference:
8
+ parameters:
9
+ temperature: 0.6
10
+ top_p: 0.95
11
+ top_k: 50
12
+ repetition_penalty: 1.2
13
+ quantized_by: bartowski
14
+ pipeline_tag: text-generation
15
+ ---
16
+
17
+ ## Exllama v2 Quantizations of cosmo-1b
18
+
19
+ Using <a href="https://github.com/turboderp/exllamav2/releases/tag/v0.0.13">turboderp's ExLlamaV2 v0.0.13</a> for quantization.
20
+
21
+ ## The "main" branch only contains the measurement.json, download one of the other branches for the model (see below)
22
+
23
+ Each branch contains an individual bits per weight, with the main one containing only the meaurement.json for further conversions.
24
+
25
+ Conversion was done using the default calibration dataset.
26
+
27
+ 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.
28
+
29
+ Original model: https://huggingface.co/HuggingFaceTB/cosmo-1b
30
+
31
+
32
+ <a href="https://huggingface.co/bartowski/cosmo-1b-exl2/tree/8_0">8.0 bits per weight</a>
33
+
34
+ <a href="https://huggingface.co/bartowski/cosmo-1b-exl2/tree/6_5">6.5 bits per weight</a>
35
+
36
+ <a href="https://huggingface.co/bartowski/cosmo-1b-exl2/tree/5_0">5.0 bits per weight</a>
37
+
38
+ <a href="https://huggingface.co/bartowski/cosmo-1b-exl2/tree/4_25">4.25 bits per weight</a>
39
+
40
+ <a href="https://huggingface.co/bartowski/cosmo-1b-exl2/tree/3_5">3.5 bits per weight</a>
41
+
42
+
43
+ ## Download instructions
44
+
45
+ With git:
46
+
47
+ ```shell
48
+ git clone --single-branch --branch 6_5 https://huggingface.co/bartowski/cosmo-1b-exl2
49
+ ```
50
+
51
+ With huggingface hub (credit to TheBloke for instructions):
52
+
53
+ ```shell
54
+ pip3 install huggingface-hub
55
+ ```
56
+
57
+ To download the `main` (only useful if you only care about measurement.json) branch to a folder called `cosmo-1b-exl2`:
58
+
59
+ ```shell
60
+ mkdir cosmo-1b-exl2
61
+ huggingface-cli download bartowski/cosmo-1b-exl2 --local-dir cosmo-1b-exl2 --local-dir-use-symlinks False
62
+ ```
63
+
64
+ To download from a different branch, add the `--revision` parameter:
65
+
66
+ Linux:
67
+
68
+ ```shell
69
+ mkdir cosmo-1b-exl2-6_5
70
+ huggingface-cli download bartowski/cosmo-1b-exl2 --revision 6_5 --local-dir cosmo-1b-exl2-6_5 --local-dir-use-symlinks False
71
+ ```
72
+
73
+ Windows (which apparently doesn't like _ in folders sometimes?):
74
+
75
+ ```shell
76
+ mkdir cosmo-1b-exl2-6.5
77
+ huggingface-cli download bartowski/cosmo-1b-exl2 --revision 6_5 --local-dir cosmo-1b-exl2-6.5 --local-dir-use-symlinks False
78
+ ```
measurement.json ADDED
The diff for this file is too large to render. See raw diff