Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- README.md +124 -0
- llama-2-7b-int4-python-code-20k-Q2_K.gguf +3 -0
- llama-2-7b-int4-python-code-20k-Q3_K_L.gguf +3 -0
- llama-2-7b-int4-python-code-20k-Q3_K_M.gguf +3 -0
- llama-2-7b-int4-python-code-20k-Q3_K_S.gguf +3 -0
- llama-2-7b-int4-python-code-20k-Q4_0.gguf +3 -0
- llama-2-7b-int4-python-code-20k-Q4_K_M.gguf +3 -0
- llama-2-7b-int4-python-code-20k-Q4_K_S.gguf +3 -0
- llama-2-7b-int4-python-code-20k-Q5_0.gguf +3 -0
- llama-2-7b-int4-python-code-20k-Q5_K_M.gguf +3 -0
- llama-2-7b-int4-python-code-20k-Q5_K_S.gguf +3 -0
- llama-2-7b-int4-python-code-20k-Q6_K.gguf +3 -0
- llama-2-7b-int4-python-code-20k-Q8_0.gguf +3 -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 |
+
llama-2-7b-int4-python-code-20k-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
llama-2-7b-int4-python-code-20k-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
llama-2-7b-int4-python-code-20k-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
llama-2-7b-int4-python-code-20k-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
llama-2-7b-int4-python-code-20k-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
llama-2-7b-int4-python-code-20k-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
llama-2-7b-int4-python-code-20k-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
llama-2-7b-int4-python-code-20k-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
llama-2-7b-int4-python-code-20k-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
llama-2-7b-int4-python-code-20k-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
llama-2-7b-int4-python-code-20k-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
llama-2-7b-int4-python-code-20k-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,124 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- generated_from_trainer
|
| 4 |
+
- code
|
| 5 |
+
- coding
|
| 6 |
+
- llama-2
|
| 7 |
+
- TensorBlock
|
| 8 |
+
- GGUF
|
| 9 |
+
license: apache-2.0
|
| 10 |
+
language:
|
| 11 |
+
- code
|
| 12 |
+
datasets:
|
| 13 |
+
- iamtarun/python_code_instructions_18k_alpaca
|
| 14 |
+
pipeline_tag: text-generation
|
| 15 |
+
base_model: edumunozsala/llama-2-7b-int4-python-code-20k
|
| 16 |
+
model-index:
|
| 17 |
+
- name: Llama-2-7b-4bit-python-coder
|
| 18 |
+
results: []
|
| 19 |
+
---
|
| 20 |
+
|
| 21 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
| 22 |
+
<img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
| 23 |
+
</div>
|
| 24 |
+
<div style="display: flex; justify-content: space-between; width: 100%;">
|
| 25 |
+
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
| 26 |
+
<p style="margin-top: 0.5em; margin-bottom: 0em;">
|
| 27 |
+
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>
|
| 28 |
+
</p>
|
| 29 |
+
</div>
|
| 30 |
+
</div>
|
| 31 |
+
|
| 32 |
+
## edumunozsala/llama-2-7b-int4-python-code-20k - GGUF
|
| 33 |
+
|
| 34 |
+
This repo contains GGUF format model files for [edumunozsala/llama-2-7b-int4-python-code-20k](https://huggingface.co/edumunozsala/llama-2-7b-int4-python-code-20k).
|
| 35 |
+
|
| 36 |
+
The files were quantized using machines provided by [TensorBlock](https://tensorblock.co/), and they are compatible with llama.cpp as of [commit b5165](https://github.com/ggml-org/llama.cpp/commit/1d735c0b4fa0551c51c2f4ac888dd9a01f447985).
|
| 37 |
+
|
| 38 |
+
## Our projects
|
| 39 |
+
<table border="1" cellspacing="0" cellpadding="10">
|
| 40 |
+
<tr>
|
| 41 |
+
<th style="font-size: 25px;">Awesome MCP Servers</th>
|
| 42 |
+
<th style="font-size: 25px;">TensorBlock Studio</th>
|
| 43 |
+
</tr>
|
| 44 |
+
<tr>
|
| 45 |
+
<th><img src="https://imgur.com/2Xov7B7.jpeg" alt="Project A" width="450"/></th>
|
| 46 |
+
<th><img src="https://imgur.com/pJcmF5u.jpeg" alt="Project B" width="450"/></th>
|
| 47 |
+
</tr>
|
| 48 |
+
<tr>
|
| 49 |
+
<th>A comprehensive collection of Model Context Protocol (MCP) servers.</th>
|
| 50 |
+
<th>A lightweight, open, and extensible multi-LLM interaction studio.</th>
|
| 51 |
+
</tr>
|
| 52 |
+
<tr>
|
| 53 |
+
<th>
|
| 54 |
+
<a href="https://github.com/TensorBlock/awesome-mcp-servers" target="_blank" style="
|
| 55 |
+
display: inline-block;
|
| 56 |
+
padding: 8px 16px;
|
| 57 |
+
background-color: #FF7F50;
|
| 58 |
+
color: white;
|
| 59 |
+
text-decoration: none;
|
| 60 |
+
border-radius: 6px;
|
| 61 |
+
font-weight: bold;
|
| 62 |
+
font-family: sans-serif;
|
| 63 |
+
">👀 See what we built 👀</a>
|
| 64 |
+
</th>
|
| 65 |
+
<th>
|
| 66 |
+
<a href="https://github.com/TensorBlock/TensorBlock-Studio" target="_blank" style="
|
| 67 |
+
display: inline-block;
|
| 68 |
+
padding: 8px 16px;
|
| 69 |
+
background-color: #FF7F50;
|
| 70 |
+
color: white;
|
| 71 |
+
text-decoration: none;
|
| 72 |
+
border-radius: 6px;
|
| 73 |
+
font-weight: bold;
|
| 74 |
+
font-family: sans-serif;
|
| 75 |
+
">👀 See what we built 👀</a>
|
| 76 |
+
</th>
|
| 77 |
+
</tr>
|
| 78 |
+
</table>
|
| 79 |
+
|
| 80 |
+
## Prompt template
|
| 81 |
+
|
| 82 |
+
```
|
| 83 |
+
Unable to determine prompt format automatically. Please check the original model repository for the correct prompt format.
|
| 84 |
+
```
|
| 85 |
+
|
| 86 |
+
## Model file specification
|
| 87 |
+
|
| 88 |
+
| Filename | Quant type | File Size | Description |
|
| 89 |
+
| -------- | ---------- | --------- | ----------- |
|
| 90 |
+
| [llama-2-7b-int4-python-code-20k-Q2_K.gguf](https://huggingface.co/tensorblock/edumunozsala_llama-2-7b-int4-python-code-20k-GGUF/blob/main/llama-2-7b-int4-python-code-20k-Q2_K.gguf) | Q2_K | 2.533 GB | smallest, significant quality loss - not recommended for most purposes |
|
| 91 |
+
| [llama-2-7b-int4-python-code-20k-Q3_K_S.gguf](https://huggingface.co/tensorblock/edumunozsala_llama-2-7b-int4-python-code-20k-GGUF/blob/main/llama-2-7b-int4-python-code-20k-Q3_K_S.gguf) | Q3_K_S | 2.948 GB | very small, high quality loss |
|
| 92 |
+
| [llama-2-7b-int4-python-code-20k-Q3_K_M.gguf](https://huggingface.co/tensorblock/edumunozsala_llama-2-7b-int4-python-code-20k-GGUF/blob/main/llama-2-7b-int4-python-code-20k-Q3_K_M.gguf) | Q3_K_M | 3.298 GB | very small, high quality loss |
|
| 93 |
+
| [llama-2-7b-int4-python-code-20k-Q3_K_L.gguf](https://huggingface.co/tensorblock/edumunozsala_llama-2-7b-int4-python-code-20k-GGUF/blob/main/llama-2-7b-int4-python-code-20k-Q3_K_L.gguf) | Q3_K_L | 3.597 GB | small, substantial quality loss |
|
| 94 |
+
| [llama-2-7b-int4-python-code-20k-Q4_0.gguf](https://huggingface.co/tensorblock/edumunozsala_llama-2-7b-int4-python-code-20k-GGUF/blob/main/llama-2-7b-int4-python-code-20k-Q4_0.gguf) | Q4_0 | 3.826 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
| 95 |
+
| [llama-2-7b-int4-python-code-20k-Q4_K_S.gguf](https://huggingface.co/tensorblock/edumunozsala_llama-2-7b-int4-python-code-20k-GGUF/blob/main/llama-2-7b-int4-python-code-20k-Q4_K_S.gguf) | Q4_K_S | 3.857 GB | small, greater quality loss |
|
| 96 |
+
| [llama-2-7b-int4-python-code-20k-Q4_K_M.gguf](https://huggingface.co/tensorblock/edumunozsala_llama-2-7b-int4-python-code-20k-GGUF/blob/main/llama-2-7b-int4-python-code-20k-Q4_K_M.gguf) | Q4_K_M | 4.081 GB | medium, balanced quality - recommended |
|
| 97 |
+
| [llama-2-7b-int4-python-code-20k-Q5_0.gguf](https://huggingface.co/tensorblock/edumunozsala_llama-2-7b-int4-python-code-20k-GGUF/blob/main/llama-2-7b-int4-python-code-20k-Q5_0.gguf) | Q5_0 | 4.652 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
| 98 |
+
| [llama-2-7b-int4-python-code-20k-Q5_K_S.gguf](https://huggingface.co/tensorblock/edumunozsala_llama-2-7b-int4-python-code-20k-GGUF/blob/main/llama-2-7b-int4-python-code-20k-Q5_K_S.gguf) | Q5_K_S | 4.652 GB | large, low quality loss - recommended |
|
| 99 |
+
| [llama-2-7b-int4-python-code-20k-Q5_K_M.gguf](https://huggingface.co/tensorblock/edumunozsala_llama-2-7b-int4-python-code-20k-GGUF/blob/main/llama-2-7b-int4-python-code-20k-Q5_K_M.gguf) | Q5_K_M | 4.783 GB | large, very low quality loss - recommended |
|
| 100 |
+
| [llama-2-7b-int4-python-code-20k-Q6_K.gguf](https://huggingface.co/tensorblock/edumunozsala_llama-2-7b-int4-python-code-20k-GGUF/blob/main/llama-2-7b-int4-python-code-20k-Q6_K.gguf) | Q6_K | 5.529 GB | very large, extremely low quality loss |
|
| 101 |
+
| [llama-2-7b-int4-python-code-20k-Q8_0.gguf](https://huggingface.co/tensorblock/edumunozsala_llama-2-7b-int4-python-code-20k-GGUF/blob/main/llama-2-7b-int4-python-code-20k-Q8_0.gguf) | Q8_0 | 7.161 GB | very large, extremely low quality loss - not recommended |
|
| 102 |
+
|
| 103 |
+
|
| 104 |
+
## Downloading instruction
|
| 105 |
+
|
| 106 |
+
### Command line
|
| 107 |
+
|
| 108 |
+
Firstly, install Huggingface Client
|
| 109 |
+
|
| 110 |
+
```shell
|
| 111 |
+
pip install -U "huggingface_hub[cli]"
|
| 112 |
+
```
|
| 113 |
+
|
| 114 |
+
Then, downoad the individual model file the a local directory
|
| 115 |
+
|
| 116 |
+
```shell
|
| 117 |
+
huggingface-cli download tensorblock/edumunozsala_llama-2-7b-int4-python-code-20k-GGUF --include "llama-2-7b-int4-python-code-20k-Q2_K.gguf" --local-dir MY_LOCAL_DIR
|
| 118 |
+
```
|
| 119 |
+
|
| 120 |
+
If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
|
| 121 |
+
|
| 122 |
+
```shell
|
| 123 |
+
huggingface-cli download tensorblock/edumunozsala_llama-2-7b-int4-python-code-20k-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
| 124 |
+
```
|
llama-2-7b-int4-python-code-20k-Q2_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:042e405ca9ba49b7d546bba7d4e03b7695f2cdef52171f12bf63cc69fa4ab4f0
|
| 3 |
+
size 2532864544
|
llama-2-7b-int4-python-code-20k-Q3_K_L.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ce85558eee3fbe861a7397966e7d40bcfada67b23e883721fb849bd1062e8185
|
| 3 |
+
size 3597111840
|
llama-2-7b-int4-python-code-20k-Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2b9c6456e62eb0afdecbd1eeccc256038f41bb0d3a1049d5294270fc7440c97a
|
| 3 |
+
size 3298005536
|
llama-2-7b-int4-python-code-20k-Q3_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a2575129fe8d95441218c7596a899aeb393e52fdf2cec1375c44aa64732f0060
|
| 3 |
+
size 2948305440
|
llama-2-7b-int4-python-code-20k-Q4_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:79adc8674c9c6f8cf97119aaf8a5a20700e342ab4a107921ce5d1dc2286d576f
|
| 3 |
+
size 3825807904
|
llama-2-7b-int4-python-code-20k-Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:eb9ef5dcca12cf31c86400787f0986f3a29aa9126dff7032ba9a4b59ab7ec56e
|
| 3 |
+
size 4081005088
|
llama-2-7b-int4-python-code-20k-Q4_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5793dd51ae2a769c1a5624472f49ea6c84f18a3b4dee8dacafcc7ee964e20e87
|
| 3 |
+
size 3856740896
|
llama-2-7b-int4-python-code-20k-Q5_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:881868ad0eaa14f33338e4d9f900e3a8c12d440ae18cfa4947946f60d799ebe6
|
| 3 |
+
size 4651692576
|
llama-2-7b-int4-python-code-20k-Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ae088655b558ee245ac943701629b26bb48da65a369da81e2976fe427b3e8c34
|
| 3 |
+
size 4783157792
|
llama-2-7b-int4-python-code-20k-Q5_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:419e4893f88b78e8ec73a2028cb541cbeec8fc6d21271f3a60f3db36ca9cca9e
|
| 3 |
+
size 4651692576
|
llama-2-7b-int4-python-code-20k-Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e19876c6a6989841d458f0e40263dc154f43aeec4439324d087d3cf70a12f8dc
|
| 3 |
+
size 5529195040
|
llama-2-7b-int4-python-code-20k-Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7245477b33ff9b3b9c648d9f750f970e8f9d16a56d4fac475098546f4b497a85
|
| 3 |
+
size 7161090592
|