Main branch
Browse files- README.md +51 -0
- measurement.json +0 -0
README.md
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
datasets:
|
4 |
+
- cerebras/SlimPajama-627B
|
5 |
+
- bigcode/starcoderdata
|
6 |
+
- OpenAssistant/oasst_top1_2023-08-25
|
7 |
+
language:
|
8 |
+
- en
|
9 |
+
quantized_by: bartowski
|
10 |
+
pipeline_tag: text-generation
|
11 |
+
---
|
12 |
+
|
13 |
+
## Exllama v2 Quantizations of TinyLlama-1.1B-Chat-v1.0
|
14 |
+
|
15 |
+
Using <a href="https://github.com/turboderp/exllamav2/releases/tag/v0.0.11">turboderp's ExLlamaV2 v0.0.11</a> for quantization.
|
16 |
+
|
17 |
+
Each branch contains an individual bits per weight, with the main one containing only the meaurement.json for further conversions.
|
18 |
+
|
19 |
+
Conversion was done using the default calibration dataset.
|
20 |
+
|
21 |
+
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.
|
22 |
+
|
23 |
+
Original model: https://huggingface.co/TinyLlama/TinyLlama-1.1B-Chat-v1.0
|
24 |
+
|
25 |
+
## Download instructions
|
26 |
+
|
27 |
+
With git:
|
28 |
+
|
29 |
+
```shell
|
30 |
+
git clone --single-branch --branch 4_0 https://huggingface.co/bartowski/TinyLlama-1.1B-Chat-v1.0-exl2
|
31 |
+
```
|
32 |
+
|
33 |
+
With huggingface hub (credit to TheBloke for instructions):
|
34 |
+
|
35 |
+
```shell
|
36 |
+
pip3 install huggingface-hub
|
37 |
+
```
|
38 |
+
|
39 |
+
To download the `main` (only useful if you only care about measurement.json) branch to a folder called `TinyLlama-1.1B-Chat-v1.0-exl2`:
|
40 |
+
|
41 |
+
```shell
|
42 |
+
mkdir TinyLlama-1.1B-Chat-v1.0-exl2
|
43 |
+
huggingface-cli download bartowski/TinyLlama-1.1B-Chat-v1.0-exl2 --local-dir TinyLlama-1.1B-Chat-v1.0-exl2 --local-dir-use-symlinks False
|
44 |
+
```
|
45 |
+
|
46 |
+
To download from a different branch, add the `--revision` parameter:
|
47 |
+
|
48 |
+
```shell
|
49 |
+
mkdir TinyLlama-1.1B-Chat-v1.0-exl2
|
50 |
+
huggingface-cli download bartowski/TinyLlama-1.1B-Chat-v1.0-exl2 --revision 4_0 --local-dir TinyLlama-1.1B-Chat-v1.0-exl2 --local-dir-use-symlinks False
|
51 |
+
```
|
measurement.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|