Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- CodeLlama-13b-Python-hf-Q2_K.gguf +3 -0
- CodeLlama-13b-Python-hf-Q3_K_L.gguf +3 -0
- CodeLlama-13b-Python-hf-Q3_K_M.gguf +3 -0
- CodeLlama-13b-Python-hf-Q3_K_S.gguf +3 -0
- CodeLlama-13b-Python-hf-Q4_0.gguf +3 -0
- CodeLlama-13b-Python-hf-Q4_K_M.gguf +3 -0
- CodeLlama-13b-Python-hf-Q4_K_S.gguf +3 -0
- CodeLlama-13b-Python-hf-Q5_0.gguf +3 -0
- CodeLlama-13b-Python-hf-Q5_K_M.gguf +3 -0
- CodeLlama-13b-Python-hf-Q5_K_S.gguf +3 -0
- CodeLlama-13b-Python-hf-Q6_K.gguf +3 -0
- CodeLlama-13b-Python-hf-Q8_0.gguf +3 -0
- README.md +80 -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-13b-Python-hf-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
37 |
+
CodeLlama-13b-Python-hf-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
38 |
+
CodeLlama-13b-Python-hf-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
39 |
+
CodeLlama-13b-Python-hf-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
40 |
+
CodeLlama-13b-Python-hf-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
41 |
+
CodeLlama-13b-Python-hf-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
42 |
+
CodeLlama-13b-Python-hf-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
43 |
+
CodeLlama-13b-Python-hf-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
44 |
+
CodeLlama-13b-Python-hf-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
45 |
+
CodeLlama-13b-Python-hf-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
46 |
+
CodeLlama-13b-Python-hf-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
47 |
+
CodeLlama-13b-Python-hf-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
CodeLlama-13b-Python-hf-Q2_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:117528f11f2ea81b427b443d6862aac6a60d96d1370d9d8eff3b833af6f13830
|
3 |
+
size 4854270400
|
CodeLlama-13b-Python-hf-Q3_K_L.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f3cdd917377447732cf147cf9172f449de38d595636b71e560ac0f9a5c80035e
|
3 |
+
size 6929560000
|
CodeLlama-13b-Python-hf-Q3_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e9ba8e86ba2571c6c1e6a0c88459169f1612d14ed28d9610ddeab687b09e339d
|
3 |
+
size 6337769920
|
CodeLlama-13b-Python-hf-Q3_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2e5d77b04012bf020d7eb536f3da51a35fe29e194bff15b80b95c36835593396
|
3 |
+
size 5658980800
|
CodeLlama-13b-Python-hf-Q4_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a8c7c141be0966e0ba9982ccadad61359ff19ca7cf1f496f6de038a592a922de
|
3 |
+
size 7365835200
|
CodeLlama-13b-Python-hf-Q4_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cc38d6a6125d62019b9479c3f071aab324f6c024c2beba737794de9559f73f6d
|
3 |
+
size 7865956800
|
CodeLlama-13b-Python-hf-Q4_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a8f1097320133cc18f81fd99df5d7406fcca9f5cec8018ae2a12dd77ea949d21
|
3 |
+
size 7423179200
|
CodeLlama-13b-Python-hf-Q5_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bd912976de0e7964954bebddd2e1ac6c7613bfd376be008f6dd1c56fe3841806
|
3 |
+
size 8972286400
|
CodeLlama-13b-Python-hf-Q5_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6053b7a3328f65a6afeb665adb9bc8cae126cc92e877a6fdc728b1180d77fa66
|
3 |
+
size 9229924800
|
CodeLlama-13b-Python-hf-Q5_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:70f84245b1f1240f7702beefef968e1550c988a74cbc9dac09108940d8083c2d
|
3 |
+
size 8972286400
|
CodeLlama-13b-Python-hf-Q6_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e23a793f90f992590fc111b99a2ae6fdb5185d8c163a2929dcebf319d01d5677
|
3 |
+
size 10679140800
|
CodeLlama-13b-Python-hf-Q8_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8c85e71917c1a4eab8ea85b3cdd170363b03d5157b9217a24f8d0e678be1bd0f
|
3 |
+
size 13831320000
|
README.md
ADDED
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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-13b-Python-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-13b-Python-hf - GGUF
|
25 |
+
|
26 |
+
This repo contains GGUF format model files for [codellama/CodeLlama-13b-Python-hf](https://huggingface.co/codellama/CodeLlama-13b-Python-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 |
+
<div style="text-align: left; margin: 20px 0;">
|
31 |
+
<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;">
|
32 |
+
Run them on the TensorBlock client using your local machine ↗
|
33 |
+
</a>
|
34 |
+
</div>
|
35 |
+
|
36 |
+
## Prompt template
|
37 |
+
|
38 |
+
```
|
39 |
+
|
40 |
+
```
|
41 |
+
|
42 |
+
## Model file specification
|
43 |
+
|
44 |
+
| Filename | Quant type | File Size | Description |
|
45 |
+
| -------- | ---------- | --------- | ----------- |
|
46 |
+
| [CodeLlama-13b-Python-hf-Q2_K.gguf](https://huggingface.co/tensorblock/CodeLlama-13b-Python-hf-GGUF/blob/main/CodeLlama-13b-Python-hf-Q2_K.gguf) | Q2_K | 4.521 GB | smallest, significant quality loss - not recommended for most purposes |
|
47 |
+
| [CodeLlama-13b-Python-hf-Q3_K_S.gguf](https://huggingface.co/tensorblock/CodeLlama-13b-Python-hf-GGUF/blob/main/CodeLlama-13b-Python-hf-Q3_K_S.gguf) | Q3_K_S | 5.270 GB | very small, high quality loss |
|
48 |
+
| [CodeLlama-13b-Python-hf-Q3_K_M.gguf](https://huggingface.co/tensorblock/CodeLlama-13b-Python-hf-GGUF/blob/main/CodeLlama-13b-Python-hf-Q3_K_M.gguf) | Q3_K_M | 5.903 GB | very small, high quality loss |
|
49 |
+
| [CodeLlama-13b-Python-hf-Q3_K_L.gguf](https://huggingface.co/tensorblock/CodeLlama-13b-Python-hf-GGUF/blob/main/CodeLlama-13b-Python-hf-Q3_K_L.gguf) | Q3_K_L | 6.454 GB | small, substantial quality loss |
|
50 |
+
| [CodeLlama-13b-Python-hf-Q4_0.gguf](https://huggingface.co/tensorblock/CodeLlama-13b-Python-hf-GGUF/blob/main/CodeLlama-13b-Python-hf-Q4_0.gguf) | Q4_0 | 6.860 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
51 |
+
| [CodeLlama-13b-Python-hf-Q4_K_S.gguf](https://huggingface.co/tensorblock/CodeLlama-13b-Python-hf-GGUF/blob/main/CodeLlama-13b-Python-hf-Q4_K_S.gguf) | Q4_K_S | 6.913 GB | small, greater quality loss |
|
52 |
+
| [CodeLlama-13b-Python-hf-Q4_K_M.gguf](https://huggingface.co/tensorblock/CodeLlama-13b-Python-hf-GGUF/blob/main/CodeLlama-13b-Python-hf-Q4_K_M.gguf) | Q4_K_M | 7.326 GB | medium, balanced quality - recommended |
|
53 |
+
| [CodeLlama-13b-Python-hf-Q5_0.gguf](https://huggingface.co/tensorblock/CodeLlama-13b-Python-hf-GGUF/blob/main/CodeLlama-13b-Python-hf-Q5_0.gguf) | Q5_0 | 8.356 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
54 |
+
| [CodeLlama-13b-Python-hf-Q5_K_S.gguf](https://huggingface.co/tensorblock/CodeLlama-13b-Python-hf-GGUF/blob/main/CodeLlama-13b-Python-hf-Q5_K_S.gguf) | Q5_K_S | 8.356 GB | large, low quality loss - recommended |
|
55 |
+
| [CodeLlama-13b-Python-hf-Q5_K_M.gguf](https://huggingface.co/tensorblock/CodeLlama-13b-Python-hf-GGUF/blob/main/CodeLlama-13b-Python-hf-Q5_K_M.gguf) | Q5_K_M | 8.596 GB | large, very low quality loss - recommended |
|
56 |
+
| [CodeLlama-13b-Python-hf-Q6_K.gguf](https://huggingface.co/tensorblock/CodeLlama-13b-Python-hf-GGUF/blob/main/CodeLlama-13b-Python-hf-Q6_K.gguf) | Q6_K | 9.946 GB | very large, extremely low quality loss |
|
57 |
+
| [CodeLlama-13b-Python-hf-Q8_0.gguf](https://huggingface.co/tensorblock/CodeLlama-13b-Python-hf-GGUF/blob/main/CodeLlama-13b-Python-hf-Q8_0.gguf) | Q8_0 | 12.881 GB | very large, extremely low quality loss - not recommended |
|
58 |
+
|
59 |
+
|
60 |
+
## Downloading instruction
|
61 |
+
|
62 |
+
### Command line
|
63 |
+
|
64 |
+
Firstly, install Huggingface Client
|
65 |
+
|
66 |
+
```shell
|
67 |
+
pip install -U "huggingface_hub[cli]"
|
68 |
+
```
|
69 |
+
|
70 |
+
Then, downoad the individual model file the a local directory
|
71 |
+
|
72 |
+
```shell
|
73 |
+
huggingface-cli download tensorblock/CodeLlama-13b-Python-hf-GGUF --include "CodeLlama-13b-Python-hf-Q2_K.gguf" --local-dir MY_LOCAL_DIR
|
74 |
+
```
|
75 |
+
|
76 |
+
If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
|
77 |
+
|
78 |
+
```shell
|
79 |
+
huggingface-cli download tensorblock/CodeLlama-13b-Python-hf-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
80 |
+
```
|