Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- README.md +111 -0
- llama2_7b_code-Q2_K.gguf +3 -0
- llama2_7b_code-Q3_K_L.gguf +3 -0
- llama2_7b_code-Q3_K_M.gguf +3 -0
- llama2_7b_code-Q3_K_S.gguf +3 -0
- llama2_7b_code-Q4_0.gguf +3 -0
- llama2_7b_code-Q4_K_M.gguf +3 -0
- llama2_7b_code-Q4_K_S.gguf +3 -0
- llama2_7b_code-Q5_0.gguf +3 -0
- llama2_7b_code-Q5_K_M.gguf +3 -0
- llama2_7b_code-Q5_K_S.gguf +3 -0
- llama2_7b_code-Q6_K.gguf +3 -0
- llama2_7b_code-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 |
+
llama2_7b_code-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
llama2_7b_code-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
llama2_7b_code-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
llama2_7b_code-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
llama2_7b_code-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
llama2_7b_code-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
llama2_7b_code-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
llama2_7b_code-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
llama2_7b_code-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
llama2_7b_code-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
llama2_7b_code-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
llama2_7b_code-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,111 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: itsliupeng/llama2_7b_code
|
| 3 |
+
tags:
|
| 4 |
+
- TensorBlock
|
| 5 |
+
- GGUF
|
| 6 |
+
---
|
| 7 |
+
|
| 8 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
| 9 |
+
<img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
| 10 |
+
</div>
|
| 11 |
+
<div style="display: flex; justify-content: space-between; width: 100%;">
|
| 12 |
+
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
| 13 |
+
<p style="margin-top: 0.5em; margin-bottom: 0em;">
|
| 14 |
+
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>
|
| 15 |
+
</p>
|
| 16 |
+
</div>
|
| 17 |
+
</div>
|
| 18 |
+
|
| 19 |
+
## itsliupeng/llama2_7b_code - GGUF
|
| 20 |
+
|
| 21 |
+
This repo contains GGUF format model files for [itsliupeng/llama2_7b_code](https://huggingface.co/itsliupeng/llama2_7b_code).
|
| 22 |
+
|
| 23 |
+
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).
|
| 24 |
+
|
| 25 |
+
## Our projects
|
| 26 |
+
<table border="1" cellspacing="0" cellpadding="10">
|
| 27 |
+
<tr>
|
| 28 |
+
<th style="font-size: 25px;">Awesome MCP Servers</th>
|
| 29 |
+
<th style="font-size: 25px;">TensorBlock Studio</th>
|
| 30 |
+
</tr>
|
| 31 |
+
<tr>
|
| 32 |
+
<th><img src="https://imgur.com/2Xov7B7.jpeg" alt="Project A" width="450"/></th>
|
| 33 |
+
<th><img src="https://imgur.com/pJcmF5u.jpeg" alt="Project B" width="450"/></th>
|
| 34 |
+
</tr>
|
| 35 |
+
<tr>
|
| 36 |
+
<th>A comprehensive collection of Model Context Protocol (MCP) servers.</th>
|
| 37 |
+
<th>A lightweight, open, and extensible multi-LLM interaction studio.</th>
|
| 38 |
+
</tr>
|
| 39 |
+
<tr>
|
| 40 |
+
<th>
|
| 41 |
+
<a href="https://github.com/TensorBlock/awesome-mcp-servers" target="_blank" style="
|
| 42 |
+
display: inline-block;
|
| 43 |
+
padding: 8px 16px;
|
| 44 |
+
background-color: #FF7F50;
|
| 45 |
+
color: white;
|
| 46 |
+
text-decoration: none;
|
| 47 |
+
border-radius: 6px;
|
| 48 |
+
font-weight: bold;
|
| 49 |
+
font-family: sans-serif;
|
| 50 |
+
">👀 See what we built 👀</a>
|
| 51 |
+
</th>
|
| 52 |
+
<th>
|
| 53 |
+
<a href="https://github.com/TensorBlock/TensorBlock-Studio" target="_blank" style="
|
| 54 |
+
display: inline-block;
|
| 55 |
+
padding: 8px 16px;
|
| 56 |
+
background-color: #FF7F50;
|
| 57 |
+
color: white;
|
| 58 |
+
text-decoration: none;
|
| 59 |
+
border-radius: 6px;
|
| 60 |
+
font-weight: bold;
|
| 61 |
+
font-family: sans-serif;
|
| 62 |
+
">👀 See what we built 👀</a>
|
| 63 |
+
</th>
|
| 64 |
+
</tr>
|
| 65 |
+
</table>
|
| 66 |
+
|
| 67 |
+
## Prompt template
|
| 68 |
+
|
| 69 |
+
```
|
| 70 |
+
|
| 71 |
+
```
|
| 72 |
+
|
| 73 |
+
## Model file specification
|
| 74 |
+
|
| 75 |
+
| Filename | Quant type | File Size | Description |
|
| 76 |
+
| -------- | ---------- | --------- | ----------- |
|
| 77 |
+
| [llama2_7b_code-Q2_K.gguf](https://huggingface.co/tensorblock/itsliupeng_llama2_7b_code-GGUF/blob/main/llama2_7b_code-Q2_K.gguf) | Q2_K | 2.533 GB | smallest, significant quality loss - not recommended for most purposes |
|
| 78 |
+
| [llama2_7b_code-Q3_K_S.gguf](https://huggingface.co/tensorblock/itsliupeng_llama2_7b_code-GGUF/blob/main/llama2_7b_code-Q3_K_S.gguf) | Q3_K_S | 2.948 GB | very small, high quality loss |
|
| 79 |
+
| [llama2_7b_code-Q3_K_M.gguf](https://huggingface.co/tensorblock/itsliupeng_llama2_7b_code-GGUF/blob/main/llama2_7b_code-Q3_K_M.gguf) | Q3_K_M | 3.298 GB | very small, high quality loss |
|
| 80 |
+
| [llama2_7b_code-Q3_K_L.gguf](https://huggingface.co/tensorblock/itsliupeng_llama2_7b_code-GGUF/blob/main/llama2_7b_code-Q3_K_L.gguf) | Q3_K_L | 3.597 GB | small, substantial quality loss |
|
| 81 |
+
| [llama2_7b_code-Q4_0.gguf](https://huggingface.co/tensorblock/itsliupeng_llama2_7b_code-GGUF/blob/main/llama2_7b_code-Q4_0.gguf) | Q4_0 | 3.826 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
| 82 |
+
| [llama2_7b_code-Q4_K_S.gguf](https://huggingface.co/tensorblock/itsliupeng_llama2_7b_code-GGUF/blob/main/llama2_7b_code-Q4_K_S.gguf) | Q4_K_S | 3.857 GB | small, greater quality loss |
|
| 83 |
+
| [llama2_7b_code-Q4_K_M.gguf](https://huggingface.co/tensorblock/itsliupeng_llama2_7b_code-GGUF/blob/main/llama2_7b_code-Q4_K_M.gguf) | Q4_K_M | 4.081 GB | medium, balanced quality - recommended |
|
| 84 |
+
| [llama2_7b_code-Q5_0.gguf](https://huggingface.co/tensorblock/itsliupeng_llama2_7b_code-GGUF/blob/main/llama2_7b_code-Q5_0.gguf) | Q5_0 | 4.652 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
| 85 |
+
| [llama2_7b_code-Q5_K_S.gguf](https://huggingface.co/tensorblock/itsliupeng_llama2_7b_code-GGUF/blob/main/llama2_7b_code-Q5_K_S.gguf) | Q5_K_S | 4.652 GB | large, low quality loss - recommended |
|
| 86 |
+
| [llama2_7b_code-Q5_K_M.gguf](https://huggingface.co/tensorblock/itsliupeng_llama2_7b_code-GGUF/blob/main/llama2_7b_code-Q5_K_M.gguf) | Q5_K_M | 4.783 GB | large, very low quality loss - recommended |
|
| 87 |
+
| [llama2_7b_code-Q6_K.gguf](https://huggingface.co/tensorblock/itsliupeng_llama2_7b_code-GGUF/blob/main/llama2_7b_code-Q6_K.gguf) | Q6_K | 5.529 GB | very large, extremely low quality loss |
|
| 88 |
+
| [llama2_7b_code-Q8_0.gguf](https://huggingface.co/tensorblock/itsliupeng_llama2_7b_code-GGUF/blob/main/llama2_7b_code-Q8_0.gguf) | Q8_0 | 7.161 GB | very large, extremely low quality loss - not recommended |
|
| 89 |
+
|
| 90 |
+
|
| 91 |
+
## Downloading instruction
|
| 92 |
+
|
| 93 |
+
### Command line
|
| 94 |
+
|
| 95 |
+
Firstly, install Huggingface Client
|
| 96 |
+
|
| 97 |
+
```shell
|
| 98 |
+
pip install -U "huggingface_hub[cli]"
|
| 99 |
+
```
|
| 100 |
+
|
| 101 |
+
Then, downoad the individual model file the a local directory
|
| 102 |
+
|
| 103 |
+
```shell
|
| 104 |
+
huggingface-cli download tensorblock/itsliupeng_llama2_7b_code-GGUF --include "llama2_7b_code-Q2_K.gguf" --local-dir MY_LOCAL_DIR
|
| 105 |
+
```
|
| 106 |
+
|
| 107 |
+
If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
|
| 108 |
+
|
| 109 |
+
```shell
|
| 110 |
+
huggingface-cli download tensorblock/itsliupeng_llama2_7b_code-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
| 111 |
+
```
|
llama2_7b_code-Q2_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5278755b3820a605ba1d801f60b1b3ecb641b7a5aafd1e3a26b894faba61f42e
|
| 3 |
+
size 2532863936
|
llama2_7b_code-Q3_K_L.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:244deba94946cd860e77c208607f0f6ffe7ef0b8a93a7a8ea602b0f94d1977d9
|
| 3 |
+
size 3597111232
|
llama2_7b_code-Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cd9262e9ed80a4ae6f6739723fbeedf569a903335903e088bee8816cc9a3321b
|
| 3 |
+
size 3298004928
|
llama2_7b_code-Q3_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:244ec8b93a67d90d66981d8c447416ad66c08ab4b267ec8d95311ed48c9072c3
|
| 3 |
+
size 2948304832
|
llama2_7b_code-Q4_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0af849199d681ca39d590889d232d9245f98082568ebee1a1ca4aca312104574
|
| 3 |
+
size 3825807296
|
llama2_7b_code-Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c1f882f17b22590c6110b59a225782c2ffaba83fec68788c285ef516e1731653
|
| 3 |
+
size 4081004480
|
llama2_7b_code-Q4_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8801abf51eea40e43d9f806d92856e9b82e40da0c38beea7cb8c26511f276fd4
|
| 3 |
+
size 3856740288
|
llama2_7b_code-Q5_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5a3f8c7c61900f12c97c0c87a864494f21d7c9ffb8cb01772c1d9564a7a04bb9
|
| 3 |
+
size 4651691968
|
llama2_7b_code-Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9a0d3944b2569940333e1e268685edb8c4dd92f078e6a951b8a33eb4ee0fd8e8
|
| 3 |
+
size 4783157184
|
llama2_7b_code-Q5_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6e797d56e9ac61aeb7cda9274b6754d68e2d3121c1bca8c245c88429a2fe1e7c
|
| 3 |
+
size 4651691968
|
llama2_7b_code-Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cd4d2fcbec92f8636ba183c8dca5c073bfb8c4d1472f302184545187a5f4456e
|
| 3 |
+
size 5529194432
|
llama2_7b_code-Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dbeabe7a2e84d841243dc24213e5a47e77fbaa671a875ae42b11f335d1bd0ad9
|
| 3 |
+
size 7161089984
|