morriszms commited on
Commit
b8b388e
·
verified ·
1 Parent(s): 779d3b4

Upload folder using huggingface_hub

Browse files
.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-7b-Python-hf-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
37
+ CodeLlama-7b-Python-hf-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
38
+ CodeLlama-7b-Python-hf-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
39
+ CodeLlama-7b-Python-hf-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
40
+ CodeLlama-7b-Python-hf-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
41
+ CodeLlama-7b-Python-hf-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
42
+ CodeLlama-7b-Python-hf-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
43
+ CodeLlama-7b-Python-hf-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
44
+ CodeLlama-7b-Python-hf-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
45
+ CodeLlama-7b-Python-hf-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
46
+ CodeLlama-7b-Python-hf-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
47
+ CodeLlama-7b-Python-hf-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
CodeLlama-7b-Python-hf-Q2_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ae5f34e1a0b12b0361c7910d441800f7945d7c4a9166e01276eb79b25b74712d
3
+ size 2532864256
CodeLlama-7b-Python-hf-Q3_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:79e8f7a85bf22c8950cf1f3d601f2f815c7b1365f55208a698449586eea46b4d
3
+ size 3597111552
CodeLlama-7b-Python-hf-Q3_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8071e2e2ae5bd89a141f726d8446bd3325fabad79a052534375e2f5ad7d77a78
3
+ size 3298005248
CodeLlama-7b-Python-hf-Q3_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8e52a381278b69d0c3dbd7040032ecf58f703091f7d2074a4ca7a1930bbb7fbb
3
+ size 2948305152
CodeLlama-7b-Python-hf-Q4_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9ff21c3f9da1a08e54d9a896d006db3b8265b6b8801acde351fa6fb636d6ceeb
3
+ size 3825807616
CodeLlama-7b-Python-hf-Q4_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a1cc425b3fa38f78f1c2209a804ff3ea0a5025693152d81a94ed0eda5af663e0
3
+ size 4081004800
CodeLlama-7b-Python-hf-Q4_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f695a3d691220578443ee6682edb22aa3c91cc0d44054f502cc1ed91e8fefbd8
3
+ size 3856740608
CodeLlama-7b-Python-hf-Q5_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7ae93a42e83c36efc6b139bb2456c4e8214f2964bdda7246d20f259c1054d6f3
3
+ size 4651692288
CodeLlama-7b-Python-hf-Q5_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ed82419fdc191fa13a0f6f10632dcf302c81a8e86a0ebbd8292c7ea34f6b445c
3
+ size 4783157504
CodeLlama-7b-Python-hf-Q5_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d7553e6593fc1a5d7a5eb635b555969cfe9a6ac89f5aec7f9a078e68f3902cda
3
+ size 4651692288
CodeLlama-7b-Python-hf-Q6_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8c99f8b09cc26e7809d5f7b24509df27c7d8d0fc1455c456c9b7dbc37fb6dbe4
3
+ size 5529194752
CodeLlama-7b-Python-hf-Q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2534f118c881cbab8d7f414ca77385cfdffe79e66efa5e6965c1785691eb2302
3
+ size 7161090304
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-7b-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-7b-Python-hf - GGUF
25
+
26
+ This repo contains GGUF format model files for [codellama/CodeLlama-7b-Python-hf](https://huggingface.co/codellama/CodeLlama-7b-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
+ ## Prompt template
31
+
32
+ ```
33
+
34
+ ```
35
+
36
+ ## Model file specification
37
+
38
+ | Filename | Quant type | File Size | Description |
39
+ | -------- | ---------- | --------- | ----------- |
40
+ | [CodeLlama-7b-Python-hf-Q2_K.gguf](https://huggingface.co/tensorblock/CodeLlama-7b-Python-hf-GGUF/tree/main/CodeLlama-7b-Python-hf-Q2_K.gguf) | Q2_K | 2.359 GB | smallest, significant quality loss - not recommended for most purposes |
41
+ | [CodeLlama-7b-Python-hf-Q3_K_S.gguf](https://huggingface.co/tensorblock/CodeLlama-7b-Python-hf-GGUF/tree/main/CodeLlama-7b-Python-hf-Q3_K_S.gguf) | Q3_K_S | 2.746 GB | very small, high quality loss |
42
+ | [CodeLlama-7b-Python-hf-Q3_K_M.gguf](https://huggingface.co/tensorblock/CodeLlama-7b-Python-hf-GGUF/tree/main/CodeLlama-7b-Python-hf-Q3_K_M.gguf) | Q3_K_M | 3.072 GB | very small, high quality loss |
43
+ | [CodeLlama-7b-Python-hf-Q3_K_L.gguf](https://huggingface.co/tensorblock/CodeLlama-7b-Python-hf-GGUF/tree/main/CodeLlama-7b-Python-hf-Q3_K_L.gguf) | Q3_K_L | 3.350 GB | small, substantial quality loss |
44
+ | [CodeLlama-7b-Python-hf-Q4_0.gguf](https://huggingface.co/tensorblock/CodeLlama-7b-Python-hf-GGUF/tree/main/CodeLlama-7b-Python-hf-Q4_0.gguf) | Q4_0 | 3.563 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
45
+ | [CodeLlama-7b-Python-hf-Q4_K_S.gguf](https://huggingface.co/tensorblock/CodeLlama-7b-Python-hf-GGUF/tree/main/CodeLlama-7b-Python-hf-Q4_K_S.gguf) | Q4_K_S | 3.592 GB | small, greater quality loss |
46
+ | [CodeLlama-7b-Python-hf-Q4_K_M.gguf](https://huggingface.co/tensorblock/CodeLlama-7b-Python-hf-GGUF/tree/main/CodeLlama-7b-Python-hf-Q4_K_M.gguf) | Q4_K_M | 3.801 GB | medium, balanced quality - recommended |
47
+ | [CodeLlama-7b-Python-hf-Q5_0.gguf](https://huggingface.co/tensorblock/CodeLlama-7b-Python-hf-GGUF/tree/main/CodeLlama-7b-Python-hf-Q5_0.gguf) | Q5_0 | 4.332 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
48
+ | [CodeLlama-7b-Python-hf-Q5_K_S.gguf](https://huggingface.co/tensorblock/CodeLlama-7b-Python-hf-GGUF/tree/main/CodeLlama-7b-Python-hf-Q5_K_S.gguf) | Q5_K_S | 4.332 GB | large, low quality loss - recommended |
49
+ | [CodeLlama-7b-Python-hf-Q5_K_M.gguf](https://huggingface.co/tensorblock/CodeLlama-7b-Python-hf-GGUF/tree/main/CodeLlama-7b-Python-hf-Q5_K_M.gguf) | Q5_K_M | 4.455 GB | large, very low quality loss - recommended |
50
+ | [CodeLlama-7b-Python-hf-Q6_K.gguf](https://huggingface.co/tensorblock/CodeLlama-7b-Python-hf-GGUF/tree/main/CodeLlama-7b-Python-hf-Q6_K.gguf) | Q6_K | 5.149 GB | very large, extremely low quality loss |
51
+ | [CodeLlama-7b-Python-hf-Q8_0.gguf](https://huggingface.co/tensorblock/CodeLlama-7b-Python-hf-GGUF/tree/main/CodeLlama-7b-Python-hf-Q8_0.gguf) | Q8_0 | 6.669 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-7b-Python-hf-GGUF --include "CodeLlama-7b-Python-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-7b-Python-hf-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
74
+ ```