measurement.json
Browse files- README.md +82 -0
- measurement.json +0 -0
README.md
ADDED
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: other
|
3 |
+
license_name: gemma-terms-of-use
|
4 |
+
license_link: https://ai.google.dev/gemma/terms
|
5 |
+
base_model: google/gemma-7b
|
6 |
+
tags:
|
7 |
+
- alignment-handbook
|
8 |
+
- trl
|
9 |
+
- sft
|
10 |
+
- generated_from_trainer
|
11 |
+
- trl
|
12 |
+
- sft
|
13 |
+
- generated_from_trainer
|
14 |
+
datasets:
|
15 |
+
- HuggingFaceH4/deita-10k-v0-sft
|
16 |
+
model-index:
|
17 |
+
- name: zephyr-7b-gemma-sft
|
18 |
+
results: []
|
19 |
+
language:
|
20 |
+
- en
|
21 |
+
quantized_by: bartowski
|
22 |
+
pipeline_tag: text-generation
|
23 |
+
---
|
24 |
+
|
25 |
+
## Exllama v2 Quantizations of zephyr-7b-gemma-sft-v0.1
|
26 |
+
|
27 |
+
Using <a href="https://github.com/turboderp/exllamav2/releases/tag/v0.0.14">turboderp's ExLlamaV2 v0.0.14</a> for quantization.
|
28 |
+
|
29 |
+
<b>The "main" branch only contains the measurement.json, download one of the other branches for the model (see below)</b>
|
30 |
+
|
31 |
+
Each branch contains an individual bits per weight, with the main one containing only the meaurement.json for further conversions.
|
32 |
+
|
33 |
+
Original model: https://huggingface.co/HuggingFaceH4/zephyr-7b-gemma-sft-v0.1
|
34 |
+
|
35 |
+
No GQA - VRAM requirements will be higher
|
36 |
+
|
37 |
+
| Branch | Bits | lm_head bits | Size (4k) | Size (16k) | Description |
|
38 |
+
| -------------------------------------------------------------- | ---- | ------------ | --------- | ---------- | ----------- |
|
39 |
+
| [8_0](https://huggingface.co/bartowski/zephyr-7b-gemma-sft-v0.1-exl2/tree/8_0) | 8.0 | 8.0 | 14.0 GB | 19.4 GB | Maximum quality that ExLlamaV2 can produce, near unquantized performance. |
|
40 |
+
| [6_5](https://huggingface.co/bartowski/zephyr-7b-gemma-sft-v0.1-exl2/tree/6_5) | 6.5 | 8.0 | 12.5 GB | 17.9 GB | Near unquantized performance at vastly reduced size, **recommended**. |
|
41 |
+
| [5_0](https://huggingface.co/bartowski/zephyr-7b-gemma-sft-v0.1-exl2/tree/5_0) | 5.0 | 6.0 | 10.9 GB | 16.3 GB | Slightly lower quality vs 6.5, but usable on 8GB cards with 4k context. |
|
42 |
+
| [4_25](https://huggingface.co/bartowski/zephyr-7b-gemma-sft-v0.1-exl2/tree/4_25) | 4.25 | 6.0 | 10.2 GB | 15.7 GB | GPTQ equivalent bits per weight. |
|
43 |
+
| [3_5](https://huggingface.co/bartowski/zephyr-7b-gemma-sft-v0.1-exl2/tree/3_5) | 3.5 | 6.0 | 9.5 GB | 14.9 GB | Lower quality, not recommended. |
|
44 |
+
|
45 |
+
## Download instructions
|
46 |
+
|
47 |
+
With git:
|
48 |
+
|
49 |
+
```shell
|
50 |
+
git clone --single-branch --branch 6_5 https://huggingface.co/bartowski/zephyr-7b-gemma-sft-v0.1-exl2 zephyr-7b-gemma-sft-v0.1-exl2-6_5
|
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 `zephyr-7b-gemma-sft-v0.1-exl2`:
|
60 |
+
|
61 |
+
```shell
|
62 |
+
mkdir zephyr-7b-gemma-sft-v0.1-exl2
|
63 |
+
huggingface-cli download bartowski/zephyr-7b-gemma-sft-v0.1-exl2 --local-dir zephyr-7b-gemma-sft-v0.1-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 zephyr-7b-gemma-sft-v0.1-exl2-6_5
|
72 |
+
huggingface-cli download bartowski/zephyr-7b-gemma-sft-v0.1-exl2 --revision 6_5 --local-dir zephyr-7b-gemma-sft-v0.1-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 zephyr-7b-gemma-sft-v0.1-exl2-6.5
|
79 |
+
huggingface-cli download bartowski/zephyr-7b-gemma-sft-v0.1-exl2 --revision 6_5 --local-dir zephyr-7b-gemma-sft-v0.1-exl2-6.5 --local-dir-use-symlinks False
|
80 |
+
```
|
81 |
+
|
82 |
+
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
|
|