Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- CodeLlama-34b-hf-Q2_K.gguf +3 -0
- CodeLlama-34b-hf-Q3_K_L.gguf +3 -0
- CodeLlama-34b-hf-Q3_K_M.gguf +3 -0
- CodeLlama-34b-hf-Q3_K_S.gguf +3 -0
- CodeLlama-34b-hf-Q4_0.gguf +3 -0
- CodeLlama-34b-hf-Q4_K_M.gguf +3 -0
- CodeLlama-34b-hf-Q4_K_S.gguf +3 -0
- CodeLlama-34b-hf-Q5_0.gguf +3 -0
- CodeLlama-34b-hf-Q5_K_M.gguf +3 -0
- CodeLlama-34b-hf-Q5_K_S.gguf +3 -0
- CodeLlama-34b-hf-Q6_K.gguf +3 -0
- CodeLlama-34b-hf-Q8_0.gguf +3 -0
- README.md +74 -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 |
+
CodeLlama-34b-hf-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
37 |
+
CodeLlama-34b-hf-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
38 |
+
CodeLlama-34b-hf-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
39 |
+
CodeLlama-34b-hf-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
40 |
+
CodeLlama-34b-hf-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
41 |
+
CodeLlama-34b-hf-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
42 |
+
CodeLlama-34b-hf-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
43 |
+
CodeLlama-34b-hf-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
44 |
+
CodeLlama-34b-hf-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
45 |
+
CodeLlama-34b-hf-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
46 |
+
CodeLlama-34b-hf-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
47 |
+
CodeLlama-34b-hf-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
CodeLlama-34b-hf-Q2_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7480123331179e4065e3ed2df73beb10aca7f78ab0134634c0813c31d9fa7617
|
3 |
+
size 12505690752
|
CodeLlama-34b-hf-Q3_K_L.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:143b8a239ede2d73ae60456ab41c3812e02130ac3a02f555c10de0ca7ddcab8c
|
3 |
+
size 17771524736
|
CodeLlama-34b-hf-Q3_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6dc0f334c7519650c1e432f3bd9137d49c4e80817ef84b59b38b0e418f1f79bb
|
3 |
+
size 16306139776
|
CodeLlama-34b-hf-Q3_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e4b85eaf6102fa13c5edd147eb86e335d34f1c08b0f13ee1d4875aa53f962021
|
3 |
+
size 14605349504
|
CodeLlama-34b-hf-Q4_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:281d7bf4eae0126a39d98f134722e302d2bed070fed4b9f132d9c389c289dec4
|
3 |
+
size 19052049024
|
CodeLlama-34b-hf-Q4_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dfcdd3d04e4e651f90d1d132ac4b40dddfcd485322a77da2e9a034cc6a861ecf
|
3 |
+
size 20219900544
|
CodeLlama-34b-hf-Q4_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:151f1e968ae6c28a19893fa3d6a0748222b93b140e0d6e9786a7718d460b0ff5
|
3 |
+
size 19191509632
|
CodeLlama-34b-hf-Q5_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a6fe69b92a69049e5e70a9c02787472afea6ad8c48102e273de335563fd681d5
|
3 |
+
size 23237177984
|
CodeLlama-34b-hf-Q5_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5886904451b40cfd8ad6da76a3cba1d769487f249a0decfd8de8414f6a797e12
|
3 |
+
size 23838798464
|
CodeLlama-34b-hf-Q5_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:87a0a310e0d148400bde8af407818e83643f1c4e45278eb6949af38918ac62a5
|
3 |
+
size 23237177984
|
CodeLlama-34b-hf-Q6_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:401ceeb6da1234e6982ea8d6eeb460af5ca81bee7f13fbd50ebd2dc022d66186
|
3 |
+
size 27683877504
|
CodeLlama-34b-hf-Q8_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:44ba4ed724cfb8c94198b2ffe82e6e4c2d7253a88488de0bae90f726a785071b
|
3 |
+
size 35856052864
|
README.md
ADDED
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- code
|
4 |
+
pipeline_tag: text-generation
|
5 |
+
tags:
|
6 |
+
- llama-2
|
7 |
+
- TensorBlock
|
8 |
+
- GGUF
|
9 |
+
license: llama2
|
10 |
+
base_model: codellama/CodeLlama-34b-hf
|
11 |
+
---
|
12 |
+
|
13 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
14 |
+
<img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
15 |
+
</div>
|
16 |
+
<div style="display: flex; justify-content: space-between; width: 100%;">
|
17 |
+
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
18 |
+
<p style="margin-top: 0.5em; margin-bottom: 0em;">
|
19 |
+
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>
|
20 |
+
</p>
|
21 |
+
</div>
|
22 |
+
</div>
|
23 |
+
|
24 |
+
## codellama/CodeLlama-34b-hf - GGUF
|
25 |
+
|
26 |
+
This repo contains GGUF format model files for [codellama/CodeLlama-34b-hf](https://huggingface.co/codellama/CodeLlama-34b-hf).
|
27 |
+
|
28 |
+
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).
|
29 |
+
|
30 |
+
## Prompt template
|
31 |
+
|
32 |
+
```
|
33 |
+
|
34 |
+
```
|
35 |
+
|
36 |
+
## Model file specification
|
37 |
+
|
38 |
+
| Filename | Quant type | File Size | Description |
|
39 |
+
| -------- | ---------- | --------- | ----------- |
|
40 |
+
| [CodeLlama-34b-hf-Q2_K.gguf](https://huggingface.co/tensorblock/CodeLlama-34b-hf-GGUF/tree/main/CodeLlama-34b-hf-Q2_K.gguf) | Q2_K | 11.647 GB | smallest, significant quality loss - not recommended for most purposes |
|
41 |
+
| [CodeLlama-34b-hf-Q3_K_S.gguf](https://huggingface.co/tensorblock/CodeLlama-34b-hf-GGUF/tree/main/CodeLlama-34b-hf-Q3_K_S.gguf) | Q3_K_S | 13.602 GB | very small, high quality loss |
|
42 |
+
| [CodeLlama-34b-hf-Q3_K_M.gguf](https://huggingface.co/tensorblock/CodeLlama-34b-hf-GGUF/tree/main/CodeLlama-34b-hf-Q3_K_M.gguf) | Q3_K_M | 15.186 GB | very small, high quality loss |
|
43 |
+
| [CodeLlama-34b-hf-Q3_K_L.gguf](https://huggingface.co/tensorblock/CodeLlama-34b-hf-GGUF/tree/main/CodeLlama-34b-hf-Q3_K_L.gguf) | Q3_K_L | 16.551 GB | small, substantial quality loss |
|
44 |
+
| [CodeLlama-34b-hf-Q4_0.gguf](https://huggingface.co/tensorblock/CodeLlama-34b-hf-GGUF/tree/main/CodeLlama-34b-hf-Q4_0.gguf) | Q4_0 | 17.744 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
45 |
+
| [CodeLlama-34b-hf-Q4_K_S.gguf](https://huggingface.co/tensorblock/CodeLlama-34b-hf-GGUF/tree/main/CodeLlama-34b-hf-Q4_K_S.gguf) | Q4_K_S | 17.873 GB | small, greater quality loss |
|
46 |
+
| [CodeLlama-34b-hf-Q4_K_M.gguf](https://huggingface.co/tensorblock/CodeLlama-34b-hf-GGUF/tree/main/CodeLlama-34b-hf-Q4_K_M.gguf) | Q4_K_M | 18.831 GB | medium, balanced quality - recommended |
|
47 |
+
| [CodeLlama-34b-hf-Q5_0.gguf](https://huggingface.co/tensorblock/CodeLlama-34b-hf-GGUF/tree/main/CodeLlama-34b-hf-Q5_0.gguf) | Q5_0 | 21.641 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
48 |
+
| [CodeLlama-34b-hf-Q5_K_S.gguf](https://huggingface.co/tensorblock/CodeLlama-34b-hf-GGUF/tree/main/CodeLlama-34b-hf-Q5_K_S.gguf) | Q5_K_S | 21.641 GB | large, low quality loss - recommended |
|
49 |
+
| [CodeLlama-34b-hf-Q5_K_M.gguf](https://huggingface.co/tensorblock/CodeLlama-34b-hf-GGUF/tree/main/CodeLlama-34b-hf-Q5_K_M.gguf) | Q5_K_M | 22.202 GB | large, very low quality loss - recommended |
|
50 |
+
| [CodeLlama-34b-hf-Q6_K.gguf](https://huggingface.co/tensorblock/CodeLlama-34b-hf-GGUF/tree/main/CodeLlama-34b-hf-Q6_K.gguf) | Q6_K | 25.783 GB | very large, extremely low quality loss |
|
51 |
+
| [CodeLlama-34b-hf-Q8_0.gguf](https://huggingface.co/tensorblock/CodeLlama-34b-hf-GGUF/tree/main/CodeLlama-34b-hf-Q8_0.gguf) | Q8_0 | 33.394 GB | very large, extremely low quality loss - not recommended |
|
52 |
+
|
53 |
+
|
54 |
+
## Downloading instruction
|
55 |
+
|
56 |
+
### Command line
|
57 |
+
|
58 |
+
Firstly, install Huggingface Client
|
59 |
+
|
60 |
+
```shell
|
61 |
+
pip install -U "huggingface_hub[cli]"
|
62 |
+
```
|
63 |
+
|
64 |
+
Then, downoad the individual model file the a local directory
|
65 |
+
|
66 |
+
```shell
|
67 |
+
huggingface-cli download tensorblock/CodeLlama-34b-hf-GGUF --include "CodeLlama-34b-hf-Q2_K.gguf" --local-dir MY_LOCAL_DIR
|
68 |
+
```
|
69 |
+
|
70 |
+
If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
|
71 |
+
|
72 |
+
```shell
|
73 |
+
huggingface-cli download tensorblock/CodeLlama-34b-hf-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
74 |
+
```
|