Upload folder using huggingface_hub
Browse files- .gitattributes +15 -0
- CodeLlama-70b-Python-hf-Q2_K.gguf +3 -0
- CodeLlama-70b-Python-hf-Q3_K_L.gguf +3 -0
- CodeLlama-70b-Python-hf-Q3_K_M.gguf +3 -0
- CodeLlama-70b-Python-hf-Q3_K_S.gguf +3 -0
- CodeLlama-70b-Python-hf-Q4_0.gguf +3 -0
- CodeLlama-70b-Python-hf-Q4_K_M.gguf +3 -0
- CodeLlama-70b-Python-hf-Q4_K_S.gguf +3 -0
- CodeLlama-70b-Python-hf-Q5_0.gguf +3 -0
- CodeLlama-70b-Python-hf-Q5_K_M.gguf +3 -0
- CodeLlama-70b-Python-hf-Q5_K_S.gguf +3 -0
- CodeLlama-70b-Python-hf-Q6_K/CodeLlama-70b-Python-hf-Q6_K-00001-of-00002.gguf +3 -0
- CodeLlama-70b-Python-hf-Q6_K/CodeLlama-70b-Python-hf-Q6_K-00002-of-00002.gguf +3 -0
- CodeLlama-70b-Python-hf-Q8_0/CodeLlama-70b-Python-hf-Q8_0-00001-of-00003.gguf +3 -0
- CodeLlama-70b-Python-hf-Q8_0/CodeLlama-70b-Python-hf-Q8_0-00002-of-00003.gguf +3 -0
- CodeLlama-70b-Python-hf-Q8_0/CodeLlama-70b-Python-hf-Q8_0-00003-of-00003.gguf +3 -0
- README.md +80 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,18 @@ 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-70b-Python-hf-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
CodeLlama-70b-Python-hf-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
CodeLlama-70b-Python-hf-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
CodeLlama-70b-Python-hf-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
CodeLlama-70b-Python-hf-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
CodeLlama-70b-Python-hf-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
CodeLlama-70b-Python-hf-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
CodeLlama-70b-Python-hf-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
CodeLlama-70b-Python-hf-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
CodeLlama-70b-Python-hf-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
CodeLlama-70b-Python-hf-Q6_K/CodeLlama-70b-Python-hf-Q6_K-00001-of-00002.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
CodeLlama-70b-Python-hf-Q6_K/CodeLlama-70b-Python-hf-Q6_K-00002-of-00002.gguf filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
CodeLlama-70b-Python-hf-Q8_0/CodeLlama-70b-Python-hf-Q8_0-00001-of-00003.gguf filter=lfs diff=lfs merge=lfs -text
|
| 49 |
+
CodeLlama-70b-Python-hf-Q8_0/CodeLlama-70b-Python-hf-Q8_0-00002-of-00003.gguf filter=lfs diff=lfs merge=lfs -text
|
| 50 |
+
CodeLlama-70b-Python-hf-Q8_0/CodeLlama-70b-Python-hf-Q8_0-00003-of-00003.gguf filter=lfs diff=lfs merge=lfs -text
|
CodeLlama-70b-Python-hf-Q2_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5af498272b51308f823a47c7da280d665754d402d1df3f48772ad5a6b8ab4009
|
| 3 |
+
size 25462588160
|
CodeLlama-70b-Python-hf-Q3_K_L.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9c0611b9f34ad8a3e81db354565e349ac648f64b2c54f7ff674c0aa279335c52
|
| 3 |
+
size 36148000512
|
CodeLlama-70b-Python-hf-Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3ec611ddd480bbe635939bf5bf1973e849b0172b9f3230664bc6f9145a98433f
|
| 3 |
+
size 33274902272
|
CodeLlama-70b-Python-hf-Q3_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:10bb4c899781fe2c05999d3dc5d6063505d51f06195dab498c6f0a17c136e5f0
|
| 3 |
+
size 29919459072
|
CodeLlama-70b-Python-hf-Q4_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:61603e6a9e114ece3e004120cc13adde7cd6530894762222fe3ee9f67aaecad3
|
| 3 |
+
size 38872431360
|
CodeLlama-70b-Python-hf-Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:64f3b3662596fac140c53584de6514938839cfc3113d6e626d4d86b1045bde67
|
| 3 |
+
size 41423092480
|
CodeLlama-70b-Python-hf-Q4_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3d063e161346774df8e0e4bef1abc788af00c2720093c51973efdb869aaf1c3e
|
| 3 |
+
size 39249918720
|
CodeLlama-70b-Python-hf-Q5_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a2d1e0df24299aa93fd3f613a71fce44eef581a70c2c70cadb7af07f96661f76
|
| 3 |
+
size 47461595904
|
CodeLlama-70b-Python-hf-Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5b0fb6f3a90e2d7f2bd3e911fcfdf0eeb35d524c194927d69fb09c17e419dfbd
|
| 3 |
+
size 48753965824
|
CodeLlama-70b-Python-hf-Q5_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:132a8542398db3701d6765bce435ca02d72459ddde4ae4ef3d1475a94af39a9c
|
| 3 |
+
size 47461595904
|
CodeLlama-70b-Python-hf-Q6_K/CodeLlama-70b-Python-hf-Q6_K-00001-of-00002.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:147b2dc63b8225f2427f3dfb727dde3d17d1fd07066ea1b4be83fbc08cff88e8
|
| 3 |
+
size 34950823776
|
CodeLlama-70b-Python-hf-Q6_K/CodeLlama-70b-Python-hf-Q6_K-00002-of-00002.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:940344a3dd899fc810ec2a9a3cdb23f72a77f6577f81c8b267253b5d55b85612
|
| 3 |
+
size 21636759680
|
CodeLlama-70b-Python-hf-Q8_0/CodeLlama-70b-Python-hf-Q8_0-00001-of-00003.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:18a1e401bee3aefd8aaffc432001cefd5514fc68b226e3be82db7761b4f01fe4
|
| 3 |
+
size 34857426624
|
CodeLlama-70b-Python-hf-Q8_0/CodeLlama-70b-Python-hf-Q8_0-00002-of-00003.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d812147d299752cdc2154868566de9220ab6c913e501ed6f54f03fcc7c34ab83
|
| 3 |
+
size 34958922176
|
CodeLlama-70b-Python-hf-Q8_0/CodeLlama-70b-Python-hf-Q8_0-00003-of-00003.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5af7aaf8b82dcedbcf2a1e3160d1c9ba945c6615fbe4d37b6a294f05e8c9381a
|
| 3 |
+
size 3476260800
|
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-70b-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-70b-Python-hf - GGUF
|
| 25 |
+
|
| 26 |
+
This repo contains GGUF format model files for [codellama/CodeLlama-70b-Python-hf](https://huggingface.co/codellama/CodeLlama-70b-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 b4242](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-70b-Python-hf-Q2_K.gguf](https://huggingface.co/tensorblock/CodeLlama-70b-Python-hf-GGUF/blob/main/CodeLlama-70b-Python-hf-Q2_K.gguf) | Q2_K | 25.463 GB | smallest, significant quality loss - not recommended for most purposes |
|
| 47 |
+
| [CodeLlama-70b-Python-hf-Q3_K_S.gguf](https://huggingface.co/tensorblock/CodeLlama-70b-Python-hf-GGUF/blob/main/CodeLlama-70b-Python-hf-Q3_K_S.gguf) | Q3_K_S | 29.919 GB | very small, high quality loss |
|
| 48 |
+
| [CodeLlama-70b-Python-hf-Q3_K_M.gguf](https://huggingface.co/tensorblock/CodeLlama-70b-Python-hf-GGUF/blob/main/CodeLlama-70b-Python-hf-Q3_K_M.gguf) | Q3_K_M | 33.275 GB | very small, high quality loss |
|
| 49 |
+
| [CodeLlama-70b-Python-hf-Q3_K_L.gguf](https://huggingface.co/tensorblock/CodeLlama-70b-Python-hf-GGUF/blob/main/CodeLlama-70b-Python-hf-Q3_K_L.gguf) | Q3_K_L | 36.148 GB | small, substantial quality loss |
|
| 50 |
+
| [CodeLlama-70b-Python-hf-Q4_0.gguf](https://huggingface.co/tensorblock/CodeLlama-70b-Python-hf-GGUF/blob/main/CodeLlama-70b-Python-hf-Q4_0.gguf) | Q4_0 | 38.872 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
| 51 |
+
| [CodeLlama-70b-Python-hf-Q4_K_S.gguf](https://huggingface.co/tensorblock/CodeLlama-70b-Python-hf-GGUF/blob/main/CodeLlama-70b-Python-hf-Q4_K_S.gguf) | Q4_K_S | 39.250 GB | small, greater quality loss |
|
| 52 |
+
| [CodeLlama-70b-Python-hf-Q4_K_M.gguf](https://huggingface.co/tensorblock/CodeLlama-70b-Python-hf-GGUF/blob/main/CodeLlama-70b-Python-hf-Q4_K_M.gguf) | Q4_K_M | 41.423 GB | medium, balanced quality - recommended |
|
| 53 |
+
| [CodeLlama-70b-Python-hf-Q5_0.gguf](https://huggingface.co/tensorblock/CodeLlama-70b-Python-hf-GGUF/blob/main/CodeLlama-70b-Python-hf-Q5_0.gguf) | Q5_0 | 47.462 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
| 54 |
+
| [CodeLlama-70b-Python-hf-Q5_K_S.gguf](https://huggingface.co/tensorblock/CodeLlama-70b-Python-hf-GGUF/blob/main/CodeLlama-70b-Python-hf-Q5_K_S.gguf) | Q5_K_S | 47.462 GB | large, low quality loss - recommended |
|
| 55 |
+
| [CodeLlama-70b-Python-hf-Q5_K_M.gguf](https://huggingface.co/tensorblock/CodeLlama-70b-Python-hf-GGUF/blob/main/CodeLlama-70b-Python-hf-Q5_K_M.gguf) | Q5_K_M | 48.754 GB | large, very low quality loss - recommended |
|
| 56 |
+
| [CodeLlama-70b-Python-hf-Q8_0](https://huggingface.co/tensorblock/CodeLlama-70b-Python-hf-GGUF/blob/main/CodeLlama-70b-Python-hf-Q8_0) | Q6_K | 73.293 GB | very large, extremely low quality loss |
|
| 57 |
+
| [CodeLlama-70b-Python-hf-Q6_K](https://huggingface.co/tensorblock/CodeLlama-70b-Python-hf-GGUF/blob/main/CodeLlama-70b-Python-hf-Q6_K) | Q8_0 | 56.588 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-70b-Python-hf-GGUF --include "CodeLlama-70b-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-70b-Python-hf-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
| 80 |
+
```
|