Main branch
Browse files- README.md +57 -0
- measurement.json +0 -0
README.md
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
+
pipeline_tag: text-generation
|
5 |
+
inference: false
|
6 |
+
arxiv: 2307.09288
|
7 |
+
tags:
|
8 |
+
- facebook
|
9 |
+
- meta
|
10 |
+
- pytorch
|
11 |
+
- llama
|
12 |
+
- llama-2
|
13 |
+
- gguf
|
14 |
+
- function-calling
|
15 |
+
- function calling
|
16 |
+
quantized_by: bartowski
|
17 |
+
---
|
18 |
+
|
19 |
+
## Exllama v2 Quantizations of Llama-2-7b-chat-hf-function-calling-v3
|
20 |
+
|
21 |
+
Using <a href="https://github.com/turboderp/exllamav2/releases/tag/v0.0.11">turboderp's ExLlamaV2 v0.0.11</a> for quantization.
|
22 |
+
|
23 |
+
Each branch contains an individual bits per weight, with the main one containing only the meaurement.json for further conversions.
|
24 |
+
|
25 |
+
Conversion was done using the default calibration dataset.
|
26 |
+
|
27 |
+
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.
|
28 |
+
|
29 |
+
Original model: https://huggingface.co/Trelis/Llama-2-7b-chat-hf-function-calling-v3
|
30 |
+
|
31 |
+
## Download instructions
|
32 |
+
|
33 |
+
With git:
|
34 |
+
|
35 |
+
```shell
|
36 |
+
git clone --single-branch --branch 4_0 https://huggingface.co/bartowski/Llama-2-7b-chat-hf-function-calling-v3-exl2
|
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 `Llama-2-7b-chat-hf-function-calling-v3-exl2`:
|
46 |
+
|
47 |
+
```shell
|
48 |
+
mkdir Llama-2-7b-chat-hf-function-calling-v3-exl2
|
49 |
+
huggingface-cli download bartowski/Llama-2-7b-chat-hf-function-calling-v3-exl2 --local-dir Llama-2-7b-chat-hf-function-calling-v3-exl2 --local-dir-use-symlinks False
|
50 |
+
```
|
51 |
+
|
52 |
+
To download from a different branch, add the `--revision` parameter:
|
53 |
+
|
54 |
+
```shell
|
55 |
+
mkdir Llama-2-7b-chat-hf-function-calling-v3-exl2
|
56 |
+
huggingface-cli download bartowski/Llama-2-7b-chat-hf-function-calling-v3-exl2 --revision 4_0 --local-dir Llama-2-7b-chat-hf-function-calling-v3-exl2 --local-dir-use-symlinks False
|
57 |
+
```
|
measurement.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|