bartowski commited on
Commit
784d107
1 Parent(s): 799ff37

measurement.json

Browse files
Files changed (2) hide show
  1. README.md +74 -0
  2. measurement.json +0 -0
README.md ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ license_link: https://huggingface.co/microsoft/Phi-3-medium-4k-instruct/resolve/main/LICENSE
4
+
5
+ language:
6
+ - multilingual
7
+ pipeline_tag: text-generation
8
+ tags:
9
+ - nlp
10
+ - code
11
+ inference:
12
+ parameters:
13
+ temperature: 0.7
14
+ widget:
15
+ - messages:
16
+ - role: user
17
+ content: Can you provide ways to eat combinations of bananas and dragonfruits?
18
+ quantized_by: bartowski
19
+ ---
20
+
21
+ ## Exllama v2 Quantizations of Phi-3-medium-4k-instruct
22
+
23
+ Using <a href="https://github.com/turboderp/exllamav2/releases/tag/v0.0.21">turboderp's ExLlamaV2 v0.0.21</a> for quantization.
24
+
25
+ <b>The "main" branch only contains the measurement.json, download one of the other branches for the model (see below)</b>
26
+
27
+ Each branch contains an individual bits per weight, with the main one containing only the meaurement.json for further conversions.
28
+
29
+ Original model: https://huggingface.co/microsoft/Phi-3-medium-4k-instruct
30
+
31
+ ## Prompt format
32
+
33
+ ```
34
+ <|user|> {prompt}<|end|><|assistant|><|end|>
35
+ ```
36
+
37
+ ## Available sizes
38
+
39
+ | Branch | Bits | lm_head bits | VRAM (4k) | VRAM (16k) | VRAM (32k) | Description |
40
+ | ----- | ---- | ------- | ------ | ------ | ------ | ------------ |
41
+ | [6_5](https://huggingface.co/bartowski/Phi-3-medium-4k-instruct-exl2/tree/6_5) | 6.5 | 8.0 | 12.0 GB | 14.7 GB | 18.4 GB | Near unquantized performance at vastly reduced size, **recommended**. |
42
+ | [5_0](https://huggingface.co/bartowski/Phi-3-medium-4k-instruct-exl2/tree/5_0) | 5.0 | 6.0 | 9.8 GB | 12.4 GB | 16.1 GB | Slightly lower quality vs 6.5. |
43
+ | [4_25](https://huggingface.co/bartowski/Phi-3-medium-4k-instruct-exl2/tree/4_25) | 4.25 | 6.0 | 8.7 GB | 11.3 GB | 15.0 GB | GPTQ equivalent bits per weight. |
44
+ | [3_5](https://huggingface.co/bartowski/Phi-3-medium-4k-instruct-exl2/tree/3_5) | 3.5 | 6.0 | 7.6 GB | 10.1 GB | 13.8 GB | Lower quality, not recommended. |
45
+
46
+ ## Download instructions
47
+
48
+ With git:
49
+
50
+ ```shell
51
+ git clone --single-branch --branch 6_5 https://huggingface.co/bartowski/Phi-3-medium-4k-instruct-exl2 Phi-3-medium-4k-instruct-exl2-6_5
52
+ ```
53
+
54
+ With huggingface hub (credit to TheBloke for instructions):
55
+
56
+ ```shell
57
+ pip3 install huggingface-hub
58
+ ```
59
+
60
+ To download a specific branch, use the `--revision` parameter. For example, to download the 6.5 bpw branch:
61
+
62
+ Linux:
63
+
64
+ ```shell
65
+ huggingface-cli download bartowski/Phi-3-medium-4k-instruct-exl2 --revision 6_5 --local-dir Phi-3-medium-4k-instruct-exl2-6_5 --local-dir-use-symlinks False
66
+ ```
67
+
68
+ Windows (which apparently doesn't like _ in folders sometimes?):
69
+
70
+ ```shell
71
+ huggingface-cli download bartowski/Phi-3-medium-4k-instruct-exl2 --revision 6_5 --local-dir Phi-3-medium-4k-instruct-exl2-6.5 --local-dir-use-symlinks False
72
+ ```
73
+
74
+ 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