measurement.json
Browse files- README.md +66 -0
- measurement.json +0 -0
README.md
ADDED
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
pipeline_tag: text-generation
|
3 |
+
license: other
|
4 |
+
language:
|
5 |
+
- en
|
6 |
+
- zh
|
7 |
+
tags:
|
8 |
+
- math
|
9 |
+
quantized_by: bartowski
|
10 |
+
---
|
11 |
+
|
12 |
+
## Exllama v2 Quantizations of internlm2-math-20b-llama
|
13 |
+
|
14 |
+
Using <a href="https://github.com/turboderp/exllamav2/releases/tag/v0.0.12">turboderp's ExLlamaV2 v0.0.12</a> for quantization.
|
15 |
+
|
16 |
+
# The "main" branch only contains the measurement.json, download one of the other branches for the model (see below)
|
17 |
+
|
18 |
+
Each branch contains an individual bits per weight, with the main one containing only the meaurement.json for further conversions.
|
19 |
+
|
20 |
+
Original model: https://huggingface.co/internlm/internlm2-math-20b
|
21 |
+
|
22 |
+
| Branch | Bits | lm_head bits | Size | Description |
|
23 |
+
| -------------------------------------------------------------- | ---- | ------------ | ------- | --------------------------------------------------------------------------- |
|
24 |
+
| [6_5](https://huggingface.co/Bartowski/internlm2-math-20b-llama-exl2/tree/6_5) | 6.5 | 8.0 | 21.0 GB | Near unquantized performance at vastly reduced size, **recommended**. |
|
25 |
+
| [4_25](https://huggingface.co/Bartowski/internlm2-math-20b-llama-exl2/tree/4_25) | 4.25 | 6.0 | 15.2 GB | GPTQ equivalent bits per weight, slightly higher quality. |
|
26 |
+
| [3_5](https://huggingface.co/Bartowski/internlm2-math-20b-llama-exl2/tree/3_5) | 3.5 | 6.0 | 13.8 GB | Lower quality, only use if you have to. |
|
27 |
+
| [3_0](https://huggingface.co/Bartowski/internlm2-math-20b-llama-exl2/tree/3_0) | 3.0 | 6.0 | 12.5 GB | Very low quality. Usable on 12GB if you reduce context or use 8 bit cache. |
|
28 |
+
|
29 |
+
All VRAM requirements estimated from 16k context. For 32k context add ~2 GB.
|
30 |
+
|
31 |
+
## Download instructions
|
32 |
+
|
33 |
+
With git:
|
34 |
+
|
35 |
+
```shell
|
36 |
+
git clone --single-branch --branch 6_5 https://huggingface.co/bartowski/internlm2-math-20b-llama-exl2 internlm2-math-20b-llama-exl2-6_5
|
37 |
+
```
|
38 |
+
|
39 |
+
With huggingface hub (credit to TheBloke for instructions):
|
40 |
+
|
41 |
+
```shell
|
42 |
+
pip3 install huggingface-hub
|
43 |
+
```
|
44 |
+
|
45 |
+
To download the `main` (only useful if you only care about measurement.json) branch to a folder called `internlm2-math-20b-llama-exl2`:
|
46 |
+
|
47 |
+
```shell
|
48 |
+
mkdir internlm2-math-20b-llama-exl2
|
49 |
+
huggingface-cli download bartowski/internlm2-math-20b-llama-exl2 --local-dir internlm2-math-20b-llama-exl2 --local-dir-use-symlinks False
|
50 |
+
```
|
51 |
+
|
52 |
+
To download from a different branch, add the `--revision` parameter:
|
53 |
+
|
54 |
+
Linux:
|
55 |
+
|
56 |
+
```shell
|
57 |
+
mkdir internlm2-math-20b-llama-exl2-6_5
|
58 |
+
huggingface-cli download bartowski/internlm2-math-20b-llama-exl2 --revision 6_5 --local-dir internlm2-math-20b-llama-exl2-6_5 --local-dir-use-symlinks False
|
59 |
+
```
|
60 |
+
|
61 |
+
Windows (which apparently doesn't like _ in folders sometimes?):
|
62 |
+
|
63 |
+
```shell
|
64 |
+
mkdir internlm2-math-20b-llama-exl2-6.5
|
65 |
+
huggingface-cli download bartowski/internlm2-math-20b-llama-exl2 --revision 6_5 --local-dir internlm2-math-20b-llama-exl2-6.5 --local-dir-use-symlinks False
|
66 |
+
```
|
measurement.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|