Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- CodeLlama-34b-Python-hf-Q2_K.gguf +3 -0
- CodeLlama-34b-Python-hf-Q3_K_L.gguf +3 -0
- CodeLlama-34b-Python-hf-Q3_K_M.gguf +3 -0
- CodeLlama-34b-Python-hf-Q3_K_S.gguf +3 -0
- CodeLlama-34b-Python-hf-Q4_0.gguf +3 -0
- CodeLlama-34b-Python-hf-Q4_K_M.gguf +3 -0
- CodeLlama-34b-Python-hf-Q4_K_S.gguf +3 -0
- CodeLlama-34b-Python-hf-Q5_0.gguf +3 -0
- CodeLlama-34b-Python-hf-Q5_K_M.gguf +3 -0
- CodeLlama-34b-Python-hf-Q5_K_S.gguf +3 -0
- CodeLlama-34b-Python-hf-Q6_K.gguf +3 -0
- CodeLlama-34b-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-34b-Python-hf-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
37 |
+
CodeLlama-34b-Python-hf-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
38 |
+
CodeLlama-34b-Python-hf-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
39 |
+
CodeLlama-34b-Python-hf-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
40 |
+
CodeLlama-34b-Python-hf-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
41 |
+
CodeLlama-34b-Python-hf-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
42 |
+
CodeLlama-34b-Python-hf-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
43 |
+
CodeLlama-34b-Python-hf-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
44 |
+
CodeLlama-34b-Python-hf-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
45 |
+
CodeLlama-34b-Python-hf-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
46 |
+
CodeLlama-34b-Python-hf-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
47 |
+
CodeLlama-34b-Python-hf-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
CodeLlama-34b-Python-hf-Q2_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2a91a19231c70b4187cf0bdbdaf6fef4c995c7e31b9f3160fe1607684040f587
|
3 |
+
size 12505690784
|
CodeLlama-34b-Python-hf-Q3_K_L.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:17d449e252fe845591e8eed1a7dafe549e107c58bf86f225f0f8506b47171eba
|
3 |
+
size 17771524768
|
CodeLlama-34b-Python-hf-Q3_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:62ee87687555772dd6d536980e559707c3e5f8b8e9937fd23cb1e9cb1a073165
|
3 |
+
size 16306139808
|
CodeLlama-34b-Python-hf-Q3_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:46b245d937e92637a7db3c122e33961d853ae2a9802fbc9e2a8b36cc8ba58db1
|
3 |
+
size 14605349536
|
CodeLlama-34b-Python-hf-Q4_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:40caba6c77d602931911b6d0f5bc68141d7472291998622b725ba13011e9bc3d
|
3 |
+
size 19052049056
|
CodeLlama-34b-Python-hf-Q4_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0f4f60578a4985ad8b29d15969bb644dd5d633742dc5d553180d3e3e03218183
|
3 |
+
size 20219900576
|
CodeLlama-34b-Python-hf-Q4_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:933b040f03c036ae4d6a3cf41b4124a410e94e0d94cce961e8d5dc7b71906ec1
|
3 |
+
size 19191509664
|
CodeLlama-34b-Python-hf-Q5_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5618232ba04f8f17690e5cfd469aa774c7667117b33074d5e0806847c33135a1
|
3 |
+
size 23237178016
|
CodeLlama-34b-Python-hf-Q5_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:940ebfb5d09337c4c3b4b4708ee246ce87f4bae9c4f8a49cc34912aec2d86ae2
|
3 |
+
size 23838798496
|
CodeLlama-34b-Python-hf-Q5_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ec8f1a5ca691d223472f2d03115bc6032eb3352d3a088696437957be052d8e5f
|
3 |
+
size 23237178016
|
CodeLlama-34b-Python-hf-Q6_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c65256f99d41f9e6f2160de299196829b72362a3e9d14fa2bcc73af87f9422ab
|
3 |
+
size 27683877536
|
CodeLlama-34b-Python-hf-Q8_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:661c8501990e8c3f27eb89673fb0f629b11164531b70df4089619135efc238c6
|
3 |
+
size 35856052896
|
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-34b-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-34b-Python-hf - GGUF
|
25 |
+
|
26 |
+
This repo contains GGUF format model files for [codellama/CodeLlama-34b-Python-hf](https://huggingface.co/codellama/CodeLlama-34b-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-34b-Python-hf-Q2_K.gguf](https://huggingface.co/tensorblock/CodeLlama-34b-Python-hf-GGUF/blob/main/CodeLlama-34b-Python-hf-Q2_K.gguf) | Q2_K | 11.647 GB | smallest, significant quality loss - not recommended for most purposes |
|
47 |
+
| [CodeLlama-34b-Python-hf-Q3_K_S.gguf](https://huggingface.co/tensorblock/CodeLlama-34b-Python-hf-GGUF/blob/main/CodeLlama-34b-Python-hf-Q3_K_S.gguf) | Q3_K_S | 13.602 GB | very small, high quality loss |
|
48 |
+
| [CodeLlama-34b-Python-hf-Q3_K_M.gguf](https://huggingface.co/tensorblock/CodeLlama-34b-Python-hf-GGUF/blob/main/CodeLlama-34b-Python-hf-Q3_K_M.gguf) | Q3_K_M | 15.186 GB | very small, high quality loss |
|
49 |
+
| [CodeLlama-34b-Python-hf-Q3_K_L.gguf](https://huggingface.co/tensorblock/CodeLlama-34b-Python-hf-GGUF/blob/main/CodeLlama-34b-Python-hf-Q3_K_L.gguf) | Q3_K_L | 16.551 GB | small, substantial quality loss |
|
50 |
+
| [CodeLlama-34b-Python-hf-Q4_0.gguf](https://huggingface.co/tensorblock/CodeLlama-34b-Python-hf-GGUF/blob/main/CodeLlama-34b-Python-hf-Q4_0.gguf) | Q4_0 | 17.744 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
51 |
+
| [CodeLlama-34b-Python-hf-Q4_K_S.gguf](https://huggingface.co/tensorblock/CodeLlama-34b-Python-hf-GGUF/blob/main/CodeLlama-34b-Python-hf-Q4_K_S.gguf) | Q4_K_S | 17.873 GB | small, greater quality loss |
|
52 |
+
| [CodeLlama-34b-Python-hf-Q4_K_M.gguf](https://huggingface.co/tensorblock/CodeLlama-34b-Python-hf-GGUF/blob/main/CodeLlama-34b-Python-hf-Q4_K_M.gguf) | Q4_K_M | 18.831 GB | medium, balanced quality - recommended |
|
53 |
+
| [CodeLlama-34b-Python-hf-Q5_0.gguf](https://huggingface.co/tensorblock/CodeLlama-34b-Python-hf-GGUF/blob/main/CodeLlama-34b-Python-hf-Q5_0.gguf) | Q5_0 | 21.641 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
54 |
+
| [CodeLlama-34b-Python-hf-Q5_K_S.gguf](https://huggingface.co/tensorblock/CodeLlama-34b-Python-hf-GGUF/blob/main/CodeLlama-34b-Python-hf-Q5_K_S.gguf) | Q5_K_S | 21.641 GB | large, low quality loss - recommended |
|
55 |
+
| [CodeLlama-34b-Python-hf-Q5_K_M.gguf](https://huggingface.co/tensorblock/CodeLlama-34b-Python-hf-GGUF/blob/main/CodeLlama-34b-Python-hf-Q5_K_M.gguf) | Q5_K_M | 22.202 GB | large, very low quality loss - recommended |
|
56 |
+
| [CodeLlama-34b-Python-hf-Q6_K.gguf](https://huggingface.co/tensorblock/CodeLlama-34b-Python-hf-GGUF/blob/main/CodeLlama-34b-Python-hf-Q6_K.gguf) | Q6_K | 25.783 GB | very large, extremely low quality loss |
|
57 |
+
| [CodeLlama-34b-Python-hf-Q8_0.gguf](https://huggingface.co/tensorblock/CodeLlama-34b-Python-hf-GGUF/blob/main/CodeLlama-34b-Python-hf-Q8_0.gguf) | Q8_0 | 33.394 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-34b-Python-hf-GGUF --include "CodeLlama-34b-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-34b-Python-hf-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
80 |
+
```
|