Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- Llama-2-7b-hf-Q2_K.gguf +3 -0
- Llama-2-7b-hf-Q3_K_L.gguf +3 -0
- Llama-2-7b-hf-Q3_K_M.gguf +3 -0
- Llama-2-7b-hf-Q3_K_S.gguf +3 -0
- Llama-2-7b-hf-Q4_0.gguf +3 -0
- Llama-2-7b-hf-Q4_K_M.gguf +3 -0
- Llama-2-7b-hf-Q4_K_S.gguf +3 -0
- Llama-2-7b-hf-Q5_0.gguf +3 -0
- Llama-2-7b-hf-Q5_K_M.gguf +3 -0
- Llama-2-7b-hf-Q5_K_S.gguf +3 -0
- Llama-2-7b-hf-Q6_K.gguf +3 -0
- Llama-2-7b-hf-Q8_0.gguf +3 -0
- README.md +88 -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-hf-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
37 |
+
Llama-2-7b-hf-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
38 |
+
Llama-2-7b-hf-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
39 |
+
Llama-2-7b-hf-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
40 |
+
Llama-2-7b-hf-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
41 |
+
Llama-2-7b-hf-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
42 |
+
Llama-2-7b-hf-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
43 |
+
Llama-2-7b-hf-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
44 |
+
Llama-2-7b-hf-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
45 |
+
Llama-2-7b-hf-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
46 |
+
Llama-2-7b-hf-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
47 |
+
Llama-2-7b-hf-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
Llama-2-7b-hf-Q2_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3154c1a1c267efc0bdcd362a8adf0935c34f44842939ad8708789c64414a5aa5
|
3 |
+
size 2532864256
|
Llama-2-7b-hf-Q3_K_L.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b26023ba56df848ed34bc95c72cd13064c025aace7bff8e4e8603090a734ef6a
|
3 |
+
size 3597111552
|
Llama-2-7b-hf-Q3_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b32402ea3f86ddd724045de56b9ec5a659361be06b907001b075225325b37e3d
|
3 |
+
size 3298005248
|
Llama-2-7b-hf-Q3_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5b4de9e1b884a2b331d745ad133be146f7739f09510abded27dc7acea7703a6e
|
3 |
+
size 2948305152
|
Llama-2-7b-hf-Q4_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8fb9ae424600ad84372bfaf0a3921ff45f555c18e613653fa78ae1d5cd9504b6
|
3 |
+
size 3825807616
|
Llama-2-7b-hf-Q4_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:03bbb3f41afceaf614a46af53c37f25293b29784a1ad4c80a346a1f3a95b8663
|
3 |
+
size 4081004800
|
Llama-2-7b-hf-Q4_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:07a7d8139a4d13f7a2450f9dc84bbfb63d07168716d0a7503bca045050b6e1e8
|
3 |
+
size 3856740608
|
Llama-2-7b-hf-Q5_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:569847998ca7c897860f169957f0cc7217d54c776daf1848ffc70b6172edbd17
|
3 |
+
size 4651692288
|
Llama-2-7b-hf-Q5_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:eef50b09bdd2ca199403ebccf4ab6e061660ae42dbba01cd1c30d929b9896277
|
3 |
+
size 4783157504
|
Llama-2-7b-hf-Q5_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6e4bec56e34bd88c62f07c5e7501eeb5de373b2c5c37577f7365b7cc307d34c6
|
3 |
+
size 4651692288
|
Llama-2-7b-hf-Q6_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a8cfb29419133aa227a5b11997698abf7e0d753959229b07e86e247bc9e5c994
|
3 |
+
size 5529194752
|
Llama-2-7b-hf-Q8_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e4acf2bc2dd83a4f7ff5fe84ccbc188e90373fdc55ae9fe6a2a7ca69edd7e8c4
|
3 |
+
size 7161090304
|
README.md
ADDED
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
extra_gated_heading: Access Llama 2 on Hugging Face
|
3 |
+
extra_gated_description: This is a form to enable access to Llama 2 on Hugging Face
|
4 |
+
after you have been granted access from Meta. Please visit the [Meta website](https://ai.meta.com/resources/models-and-libraries/llama-downloads)
|
5 |
+
and accept our license terms and acceptable use policy before submitting this form.
|
6 |
+
Requests will be processed in 1-2 days.
|
7 |
+
extra_gated_button_content: Submit
|
8 |
+
extra_gated_fields:
|
9 |
+
? I agree to share my name, email address and username with Meta and confirm that
|
10 |
+
I have already been granted download access on the Meta website
|
11 |
+
: checkbox
|
12 |
+
language:
|
13 |
+
- en
|
14 |
+
pipeline_tag: text-generation
|
15 |
+
inference: false
|
16 |
+
tags:
|
17 |
+
- facebook
|
18 |
+
- meta
|
19 |
+
- pytorch
|
20 |
+
- llama
|
21 |
+
- llama-2
|
22 |
+
- TensorBlock
|
23 |
+
- GGUF
|
24 |
+
base_model: NousResearch/Llama-2-7b-hf
|
25 |
+
---
|
26 |
+
|
27 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
28 |
+
<img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
29 |
+
</div>
|
30 |
+
<div style="display: flex; justify-content: space-between; width: 100%;">
|
31 |
+
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
32 |
+
<p style="margin-top: 0.5em; margin-bottom: 0em;">
|
33 |
+
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>
|
34 |
+
</p>
|
35 |
+
</div>
|
36 |
+
</div>
|
37 |
+
|
38 |
+
## NousResearch/Llama-2-7b-hf - GGUF
|
39 |
+
|
40 |
+
This repo contains GGUF format model files for [NousResearch/Llama-2-7b-hf](https://huggingface.co/NousResearch/Llama-2-7b-hf).
|
41 |
+
|
42 |
+
The files were quantized using machines provided by [TensorBlock](https://tensorblock.co/), and they are compatible with llama.cpp as of [commit b4011](https://github.com/ggerganov/llama.cpp/commit/a6744e43e80f4be6398fc7733a01642c846dce1d).
|
43 |
+
|
44 |
+
## Prompt template
|
45 |
+
|
46 |
+
```
|
47 |
+
|
48 |
+
```
|
49 |
+
|
50 |
+
## Model file specification
|
51 |
+
|
52 |
+
| Filename | Quant type | File Size | Description |
|
53 |
+
| -------- | ---------- | --------- | ----------- |
|
54 |
+
| [Llama-2-7b-hf-Q2_K.gguf](https://huggingface.co/tensorblock/Llama-2-7b-hf-GGUF/tree/main/Llama-2-7b-hf-Q2_K.gguf) | Q2_K | 2.359 GB | smallest, significant quality loss - not recommended for most purposes |
|
55 |
+
| [Llama-2-7b-hf-Q3_K_S.gguf](https://huggingface.co/tensorblock/Llama-2-7b-hf-GGUF/tree/main/Llama-2-7b-hf-Q3_K_S.gguf) | Q3_K_S | 2.746 GB | very small, high quality loss |
|
56 |
+
| [Llama-2-7b-hf-Q3_K_M.gguf](https://huggingface.co/tensorblock/Llama-2-7b-hf-GGUF/tree/main/Llama-2-7b-hf-Q3_K_M.gguf) | Q3_K_M | 3.072 GB | very small, high quality loss |
|
57 |
+
| [Llama-2-7b-hf-Q3_K_L.gguf](https://huggingface.co/tensorblock/Llama-2-7b-hf-GGUF/tree/main/Llama-2-7b-hf-Q3_K_L.gguf) | Q3_K_L | 3.350 GB | small, substantial quality loss |
|
58 |
+
| [Llama-2-7b-hf-Q4_0.gguf](https://huggingface.co/tensorblock/Llama-2-7b-hf-GGUF/tree/main/Llama-2-7b-hf-Q4_0.gguf) | Q4_0 | 3.563 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
59 |
+
| [Llama-2-7b-hf-Q4_K_S.gguf](https://huggingface.co/tensorblock/Llama-2-7b-hf-GGUF/tree/main/Llama-2-7b-hf-Q4_K_S.gguf) | Q4_K_S | 3.592 GB | small, greater quality loss |
|
60 |
+
| [Llama-2-7b-hf-Q4_K_M.gguf](https://huggingface.co/tensorblock/Llama-2-7b-hf-GGUF/tree/main/Llama-2-7b-hf-Q4_K_M.gguf) | Q4_K_M | 3.801 GB | medium, balanced quality - recommended |
|
61 |
+
| [Llama-2-7b-hf-Q5_0.gguf](https://huggingface.co/tensorblock/Llama-2-7b-hf-GGUF/tree/main/Llama-2-7b-hf-Q5_0.gguf) | Q5_0 | 4.332 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
62 |
+
| [Llama-2-7b-hf-Q5_K_S.gguf](https://huggingface.co/tensorblock/Llama-2-7b-hf-GGUF/tree/main/Llama-2-7b-hf-Q5_K_S.gguf) | Q5_K_S | 4.332 GB | large, low quality loss - recommended |
|
63 |
+
| [Llama-2-7b-hf-Q5_K_M.gguf](https://huggingface.co/tensorblock/Llama-2-7b-hf-GGUF/tree/main/Llama-2-7b-hf-Q5_K_M.gguf) | Q5_K_M | 4.455 GB | large, very low quality loss - recommended |
|
64 |
+
| [Llama-2-7b-hf-Q6_K.gguf](https://huggingface.co/tensorblock/Llama-2-7b-hf-GGUF/tree/main/Llama-2-7b-hf-Q6_K.gguf) | Q6_K | 5.149 GB | very large, extremely low quality loss |
|
65 |
+
| [Llama-2-7b-hf-Q8_0.gguf](https://huggingface.co/tensorblock/Llama-2-7b-hf-GGUF/tree/main/Llama-2-7b-hf-Q8_0.gguf) | Q8_0 | 6.669 GB | very large, extremely low quality loss - not recommended |
|
66 |
+
|
67 |
+
|
68 |
+
## Downloading instruction
|
69 |
+
|
70 |
+
### Command line
|
71 |
+
|
72 |
+
Firstly, install Huggingface Client
|
73 |
+
|
74 |
+
```shell
|
75 |
+
pip install -U "huggingface_hub[cli]"
|
76 |
+
```
|
77 |
+
|
78 |
+
Then, downoad the individual model file the a local directory
|
79 |
+
|
80 |
+
```shell
|
81 |
+
huggingface-cli download tensorblock/Llama-2-7b-hf-GGUF --include "Llama-2-7b-hf-Q2_K.gguf" --local-dir MY_LOCAL_DIR
|
82 |
+
```
|
83 |
+
|
84 |
+
If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
|
85 |
+
|
86 |
+
```shell
|
87 |
+
huggingface-cli download tensorblock/Llama-2-7b-hf-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
88 |
+
```
|