measurement.json
Browse files- README.md +80 -0
- measurement.json +0 -0
README.md
ADDED
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
language:
|
4 |
+
- en
|
5 |
+
- fr
|
6 |
+
- de
|
7 |
+
- es
|
8 |
+
- it
|
9 |
+
- pt
|
10 |
+
- ru
|
11 |
+
- zh
|
12 |
+
- ja
|
13 |
+
pipeline_tag: text-generation
|
14 |
+
tags:
|
15 |
+
- chat
|
16 |
+
quantized_by: bartowski
|
17 |
+
---
|
18 |
+
|
19 |
+
## Exllama v2 Quantizations of magnum-12b-v2.5-kto
|
20 |
+
|
21 |
+
Using <a href="https://github.com/turboderp/exllamav2/releases/tag/v0.1.8">turboderp's ExLlamaV2 v0.1.8</a> for quantization.
|
22 |
+
|
23 |
+
<b>The "main" branch only contains the measurement.json, download one of the other branches for the model (see below)</b>
|
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/anthracite-org/magnum-12b-v2.5-kto
|
32 |
+
|
33 |
+
|
34 |
+
<a href="https://huggingface.co/bartowski/magnum-12b-v2.5-kto-exl2/tree/8_0">8.0 bits per weight</a>
|
35 |
+
|
36 |
+
<a href="https://huggingface.co/bartowski/magnum-12b-v2.5-kto-exl2/tree/6_5">6.5 bits per weight</a>
|
37 |
+
|
38 |
+
<a href="https://huggingface.co/bartowski/magnum-12b-v2.5-kto-exl2/tree/5_0">5.0 bits per weight</a>
|
39 |
+
|
40 |
+
<a href="https://huggingface.co/bartowski/magnum-12b-v2.5-kto-exl2/tree/4_25">4.25 bits per weight</a>
|
41 |
+
|
42 |
+
<a href="https://huggingface.co/bartowski/magnum-12b-v2.5-kto-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/magnum-12b-v2.5-kto-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 `magnum-12b-v2.5-kto-exl2`:
|
60 |
+
|
61 |
+
```shell
|
62 |
+
mkdir magnum-12b-v2.5-kto-exl2
|
63 |
+
huggingface-cli download bartowski/magnum-12b-v2.5-kto-exl2 --local-dir magnum-12b-v2.5-kto-exl2
|
64 |
+
```
|
65 |
+
|
66 |
+
To download from a different branch, add the `--revision` parameter:
|
67 |
+
|
68 |
+
Linux:
|
69 |
+
|
70 |
+
```shell
|
71 |
+
mkdir magnum-12b-v2.5-kto-exl2-6_5
|
72 |
+
huggingface-cli download bartowski/magnum-12b-v2.5-kto-exl2 --revision 6_5 --local-dir magnum-12b-v2.5-kto-exl2-6_5
|
73 |
+
```
|
74 |
+
|
75 |
+
Windows (which apparently doesn't like _ in folders sometimes?):
|
76 |
+
|
77 |
+
```shell
|
78 |
+
mkdir magnum-12b-v2.5-kto-exl2-6.5
|
79 |
+
huggingface-cli download bartowski/magnum-12b-v2.5-kto-exl2 --revision 6_5 --local-dir magnum-12b-v2.5-kto-exl2-6.5
|
80 |
+
```
|
measurement.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|