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