Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- README.md +89 -0
- llama-2-7b-chat-Q2_K.gguf +3 -0
- llama-2-7b-chat-Q3_K_L.gguf +3 -0
- llama-2-7b-chat-Q3_K_M.gguf +3 -0
- llama-2-7b-chat-Q3_K_S.gguf +3 -0
- llama-2-7b-chat-Q4_0.gguf +3 -0
- llama-2-7b-chat-Q4_K_M.gguf +3 -0
- llama-2-7b-chat-Q4_K_S.gguf +3 -0
- llama-2-7b-chat-Q5_0.gguf +3 -0
- llama-2-7b-chat-Q5_K_M.gguf +3 -0
- llama-2-7b-chat-Q5_K_S.gguf +3 -0
- llama-2-7b-chat-Q6_K.gguf +3 -0
- llama-2-7b-chat-Q8_0.gguf +3 -0
.gitattributes
CHANGED
@@ -33,3 +33,15 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
llama-2-7b-chat-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
37 |
+
llama-2-7b-chat-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
38 |
+
llama-2-7b-chat-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
39 |
+
llama-2-7b-chat-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
40 |
+
llama-2-7b-chat-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
41 |
+
llama-2-7b-chat-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
42 |
+
llama-2-7b-chat-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
43 |
+
llama-2-7b-chat-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
44 |
+
llama-2-7b-chat-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
45 |
+
llama-2-7b-chat-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
46 |
+
llama-2-7b-chat-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
47 |
+
llama-2-7b-chat-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
+
library_name: transformers
|
5 |
+
license: apache-2.0
|
6 |
+
tags:
|
7 |
+
- unsloth
|
8 |
+
- transformers
|
9 |
+
- llama
|
10 |
+
- llama2
|
11 |
+
- llama-2
|
12 |
+
- chat
|
13 |
+
- TensorBlock
|
14 |
+
- GGUF
|
15 |
+
base_model: unsloth/llama-2-7b-chat
|
16 |
+
---
|
17 |
+
|
18 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
19 |
+
<img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
20 |
+
</div>
|
21 |
+
<div style="display: flex; justify-content: space-between; width: 100%;">
|
22 |
+
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
23 |
+
<p style="margin-top: 0.5em; margin-bottom: 0em;">
|
24 |
+
Feedback and support: TensorBlock's <a href="https://x.com/tensorblock_aoi">Twitter/X</a>, <a href="https://t.me/TensorBlock">Telegram Group</a> and <a href="https://x.com/tensorblock_aoi">Discord server</a>
|
25 |
+
</p>
|
26 |
+
</div>
|
27 |
+
</div>
|
28 |
+
|
29 |
+
## unsloth/llama-2-7b-chat - GGUF
|
30 |
+
|
31 |
+
This repo contains GGUF format model files for [unsloth/llama-2-7b-chat](https://huggingface.co/unsloth/llama-2-7b-chat).
|
32 |
+
|
33 |
+
The files were quantized using machines provided by [TensorBlock](https://tensorblock.co/), and they are compatible with llama.cpp as of [commit b4242](https://github.com/ggerganov/llama.cpp/commit/a6744e43e80f4be6398fc7733a01642c846dce1d).
|
34 |
+
|
35 |
+
<div style="text-align: left; margin: 20px 0;">
|
36 |
+
<a href="https://tensorblock.co/waitlist/client" style="display: inline-block; padding: 10px 20px; background-color: #007bff; color: white; text-decoration: none; border-radius: 5px; font-weight: bold;">
|
37 |
+
Run them on the TensorBlock client using your local machine ↗
|
38 |
+
</a>
|
39 |
+
</div>
|
40 |
+
|
41 |
+
## Prompt template
|
42 |
+
|
43 |
+
```
|
44 |
+
<s>[INST] <<SYS>>
|
45 |
+
{system_prompt}
|
46 |
+
<</SYS>>
|
47 |
+
|
48 |
+
{prompt} [/INST]
|
49 |
+
```
|
50 |
+
|
51 |
+
## Model file specification
|
52 |
+
|
53 |
+
| Filename | Quant type | File Size | Description |
|
54 |
+
| -------- | ---------- | --------- | ----------- |
|
55 |
+
| [llama-2-7b-chat-Q2_K.gguf](https://huggingface.co/tensorblock/llama-2-7b-chat-GGUF/blob/main/llama-2-7b-chat-Q2_K.gguf) | Q2_K | 2.533 GB | smallest, significant quality loss - not recommended for most purposes |
|
56 |
+
| [llama-2-7b-chat-Q3_K_S.gguf](https://huggingface.co/tensorblock/llama-2-7b-chat-GGUF/blob/main/llama-2-7b-chat-Q3_K_S.gguf) | Q3_K_S | 2.948 GB | very small, high quality loss |
|
57 |
+
| [llama-2-7b-chat-Q3_K_M.gguf](https://huggingface.co/tensorblock/llama-2-7b-chat-GGUF/blob/main/llama-2-7b-chat-Q3_K_M.gguf) | Q3_K_M | 3.298 GB | very small, high quality loss |
|
58 |
+
| [llama-2-7b-chat-Q3_K_L.gguf](https://huggingface.co/tensorblock/llama-2-7b-chat-GGUF/blob/main/llama-2-7b-chat-Q3_K_L.gguf) | Q3_K_L | 3.597 GB | small, substantial quality loss |
|
59 |
+
| [llama-2-7b-chat-Q4_0.gguf](https://huggingface.co/tensorblock/llama-2-7b-chat-GGUF/blob/main/llama-2-7b-chat-Q4_0.gguf) | Q4_0 | 3.826 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
60 |
+
| [llama-2-7b-chat-Q4_K_S.gguf](https://huggingface.co/tensorblock/llama-2-7b-chat-GGUF/blob/main/llama-2-7b-chat-Q4_K_S.gguf) | Q4_K_S | 3.857 GB | small, greater quality loss |
|
61 |
+
| [llama-2-7b-chat-Q4_K_M.gguf](https://huggingface.co/tensorblock/llama-2-7b-chat-GGUF/blob/main/llama-2-7b-chat-Q4_K_M.gguf) | Q4_K_M | 4.081 GB | medium, balanced quality - recommended |
|
62 |
+
| [llama-2-7b-chat-Q5_0.gguf](https://huggingface.co/tensorblock/llama-2-7b-chat-GGUF/blob/main/llama-2-7b-chat-Q5_0.gguf) | Q5_0 | 4.652 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
63 |
+
| [llama-2-7b-chat-Q5_K_S.gguf](https://huggingface.co/tensorblock/llama-2-7b-chat-GGUF/blob/main/llama-2-7b-chat-Q5_K_S.gguf) | Q5_K_S | 4.652 GB | large, low quality loss - recommended |
|
64 |
+
| [llama-2-7b-chat-Q5_K_M.gguf](https://huggingface.co/tensorblock/llama-2-7b-chat-GGUF/blob/main/llama-2-7b-chat-Q5_K_M.gguf) | Q5_K_M | 4.783 GB | large, very low quality loss - recommended |
|
65 |
+
| [llama-2-7b-chat-Q6_K.gguf](https://huggingface.co/tensorblock/llama-2-7b-chat-GGUF/blob/main/llama-2-7b-chat-Q6_K.gguf) | Q6_K | 5.529 GB | very large, extremely low quality loss |
|
66 |
+
| [llama-2-7b-chat-Q8_0.gguf](https://huggingface.co/tensorblock/llama-2-7b-chat-GGUF/blob/main/llama-2-7b-chat-Q8_0.gguf) | Q8_0 | 7.161 GB | very large, extremely low quality loss - not recommended |
|
67 |
+
|
68 |
+
|
69 |
+
## Downloading instruction
|
70 |
+
|
71 |
+
### Command line
|
72 |
+
|
73 |
+
Firstly, install Huggingface Client
|
74 |
+
|
75 |
+
```shell
|
76 |
+
pip install -U "huggingface_hub[cli]"
|
77 |
+
```
|
78 |
+
|
79 |
+
Then, downoad the individual model file the a local directory
|
80 |
+
|
81 |
+
```shell
|
82 |
+
huggingface-cli download tensorblock/llama-2-7b-chat-GGUF --include "llama-2-7b-chat-Q2_K.gguf" --local-dir MY_LOCAL_DIR
|
83 |
+
```
|
84 |
+
|
85 |
+
If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
|
86 |
+
|
87 |
+
```shell
|
88 |
+
huggingface-cli download tensorblock/llama-2-7b-chat-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
89 |
+
```
|
llama-2-7b-chat-Q2_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b08780753d031b8077d73c1657a458487bc222bf2b9ae9ae49eb678eac364a9b
|
3 |
+
size 2532865248
|
llama-2-7b-chat-Q3_K_L.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c6a3570ffb0c842e0eb94b28f30549fb71581c102dd3aad8a7f2d1300ff25aca
|
3 |
+
size 3597112544
|
llama-2-7b-chat-Q3_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:971a2f925eea077880e02f55763ae3b57ce8408406b29e90897a89ce33b3d818
|
3 |
+
size 3298006240
|
llama-2-7b-chat-Q3_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:48768595e62f5029050a4b6f5cd54916db0b82432405c606b49d6aa93939ef3a
|
3 |
+
size 2948306144
|
llama-2-7b-chat-Q4_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a651349946a267a4a66ea88e8cd124d19f2cd5dcccdc403d6068ade02092a855
|
3 |
+
size 3825808608
|
llama-2-7b-chat-Q4_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:567f3fc0cc9ec67111e045cf65c88bd7c066f5c7a812cf2b88dc12aaf9c52f9a
|
3 |
+
size 4081005792
|
llama-2-7b-chat-Q4_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8d13d42c6e440c6cded4aafcf1143b7f2ba29848550ddf5190796228cd10bd4a
|
3 |
+
size 3856741600
|
llama-2-7b-chat-Q5_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:11826ef604198fc37f8eb248bf031c0c2e8397fb3a2fc0d2dfbad128776ebf3a
|
3 |
+
size 4651693280
|
llama-2-7b-chat-Q5_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ad88d617bde85b8a1024eccd1516b4b0582555ebd3a627e2bd0faf54657c723a
|
3 |
+
size 4783158496
|
llama-2-7b-chat-Q5_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4d04fc3bdfaef731cbd061792a65d5872ed77b03dd084ea8f552d197f6710184
|
3 |
+
size 4651693280
|
llama-2-7b-chat-Q6_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f8d2d49797ac8ce4c96278d55890adb43862a30b741c2e26afd630bb08f80347
|
3 |
+
size 5529195744
|
llama-2-7b-chat-Q8_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9dad9032e61357c70c2139fa1bb3d22915e136de951f57f40b6959d62c9b442a
|
3 |
+
size 7161091296
|