Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- README.md +80 -0
- phi-2-instruct-Q2_K.gguf +3 -0
- phi-2-instruct-Q3_K_L.gguf +3 -0
- phi-2-instruct-Q3_K_M.gguf +3 -0
- phi-2-instruct-Q3_K_S.gguf +3 -0
- phi-2-instruct-Q4_0.gguf +3 -0
- phi-2-instruct-Q4_K_M.gguf +3 -0
- phi-2-instruct-Q4_K_S.gguf +3 -0
- phi-2-instruct-Q5_0.gguf +3 -0
- phi-2-instruct-Q5_K_M.gguf +3 -0
- phi-2-instruct-Q5_K_S.gguf +3 -0
- phi-2-instruct-Q6_K.gguf +3 -0
- phi-2-instruct-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 |
+
phi-2-instruct-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
phi-2-instruct-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
phi-2-instruct-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
phi-2-instruct-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
phi-2-instruct-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
phi-2-instruct-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
phi-2-instruct-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
phi-2-instruct-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
phi-2-instruct-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
phi-2-instruct-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
phi-2-instruct-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
phi-2-instruct-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
base_model: ashmitkx/phi-2-instruct
|
| 4 |
+
tags:
|
| 5 |
+
- TensorBlock
|
| 6 |
+
- GGUF
|
| 7 |
+
---
|
| 8 |
+
|
| 9 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
| 10 |
+
<img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
| 11 |
+
</div>
|
| 12 |
+
<div style="display: flex; justify-content: space-between; width: 100%;">
|
| 13 |
+
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
| 14 |
+
<p style="margin-top: 0.5em; margin-bottom: 0em;">
|
| 15 |
+
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>
|
| 16 |
+
</p>
|
| 17 |
+
</div>
|
| 18 |
+
</div>
|
| 19 |
+
|
| 20 |
+
## ashmitkx/phi-2-instruct - GGUF
|
| 21 |
+
|
| 22 |
+
This repo contains GGUF format model files for [ashmitkx/phi-2-instruct](https://huggingface.co/ashmitkx/phi-2-instruct).
|
| 23 |
+
|
| 24 |
+
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).
|
| 25 |
+
|
| 26 |
+
<div style="text-align: left; margin: 20px 0;">
|
| 27 |
+
<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;">
|
| 28 |
+
Run them on the TensorBlock client using your local machine ↗
|
| 29 |
+
</a>
|
| 30 |
+
</div>
|
| 31 |
+
|
| 32 |
+
## Prompt template
|
| 33 |
+
|
| 34 |
+
```
|
| 35 |
+
<|im_start|>system
|
| 36 |
+
{system_prompt}<|im_end|>
|
| 37 |
+
<|im_start|>user
|
| 38 |
+
{prompt}<|im_end|>
|
| 39 |
+
<|im_start|>assistant
|
| 40 |
+
```
|
| 41 |
+
|
| 42 |
+
## Model file specification
|
| 43 |
+
|
| 44 |
+
| Filename | Quant type | File Size | Description |
|
| 45 |
+
| -------- | ---------- | --------- | ----------- |
|
| 46 |
+
| [phi-2-instruct-Q2_K.gguf](https://huggingface.co/tensorblock/phi-2-instruct-GGUF/blob/main/phi-2-instruct-Q2_K.gguf) | Q2_K | 1.107 GB | smallest, significant quality loss - not recommended for most purposes |
|
| 47 |
+
| [phi-2-instruct-Q3_K_S.gguf](https://huggingface.co/tensorblock/phi-2-instruct-GGUF/blob/main/phi-2-instruct-Q3_K_S.gguf) | Q3_K_S | 1.248 GB | very small, high quality loss |
|
| 48 |
+
| [phi-2-instruct-Q3_K_M.gguf](https://huggingface.co/tensorblock/phi-2-instruct-GGUF/blob/main/phi-2-instruct-Q3_K_M.gguf) | Q3_K_M | 1.423 GB | very small, high quality loss |
|
| 49 |
+
| [phi-2-instruct-Q3_K_L.gguf](https://huggingface.co/tensorblock/phi-2-instruct-GGUF/blob/main/phi-2-instruct-Q3_K_L.gguf) | Q3_K_L | 1.572 GB | small, substantial quality loss |
|
| 50 |
+
| [phi-2-instruct-Q4_0.gguf](https://huggingface.co/tensorblock/phi-2-instruct-GGUF/blob/main/phi-2-instruct-Q4_0.gguf) | Q4_0 | 1.599 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
| 51 |
+
| [phi-2-instruct-Q4_K_S.gguf](https://huggingface.co/tensorblock/phi-2-instruct-GGUF/blob/main/phi-2-instruct-Q4_K_S.gguf) | Q4_K_S | 1.616 GB | small, greater quality loss |
|
| 52 |
+
| [phi-2-instruct-Q4_K_M.gguf](https://huggingface.co/tensorblock/phi-2-instruct-GGUF/blob/main/phi-2-instruct-Q4_K_M.gguf) | Q4_K_M | 1.734 GB | medium, balanced quality - recommended |
|
| 53 |
+
| [phi-2-instruct-Q5_0.gguf](https://huggingface.co/tensorblock/phi-2-instruct-GGUF/blob/main/phi-2-instruct-Q5_0.gguf) | Q5_0 | 1.930 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
| 54 |
+
| [phi-2-instruct-Q5_K_S.gguf](https://huggingface.co/tensorblock/phi-2-instruct-GGUF/blob/main/phi-2-instruct-Q5_K_S.gguf) | Q5_K_S | 1.930 GB | large, low quality loss - recommended |
|
| 55 |
+
| [phi-2-instruct-Q5_K_M.gguf](https://huggingface.co/tensorblock/phi-2-instruct-GGUF/blob/main/phi-2-instruct-Q5_K_M.gguf) | Q5_K_M | 2.000 GB | large, very low quality loss - recommended |
|
| 56 |
+
| [phi-2-instruct-Q6_K.gguf](https://huggingface.co/tensorblock/phi-2-instruct-GGUF/blob/main/phi-2-instruct-Q6_K.gguf) | Q6_K | 2.281 GB | very large, extremely low quality loss |
|
| 57 |
+
| [phi-2-instruct-Q8_0.gguf](https://huggingface.co/tensorblock/phi-2-instruct-GGUF/blob/main/phi-2-instruct-Q8_0.gguf) | Q8_0 | 2.953 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/phi-2-instruct-GGUF --include "phi-2-instruct-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/phi-2-instruct-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
| 80 |
+
```
|
phi-2-instruct-Q2_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:49f71abd828735c0b60f8d7d188e48d59948000ef3c1a8ae4adfadab69a11c9e
|
| 3 |
+
size 1107042240
|
phi-2-instruct-Q3_K_L.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3364a994545d557c5b55edfb28793190fd13904c967fe3091a6b01932ac034f2
|
| 3 |
+
size 1572317856
|
phi-2-instruct-Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5b4c84484b9485fb06a61e4a8e0ec7e9d97d38a4ffa6fb925d0a22b3e818a3dd
|
| 3 |
+
size 1423223456
|
phi-2-instruct-Q3_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:49dad8a7a30ab2c31dc73d39621545156c03fefb61096448279e943820ad33b4
|
| 3 |
+
size 1247914656
|
phi-2-instruct-Q4_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ad98d93de4bf7843fc8172d3af369f50b967a6861b08a0b671cf8a9d62a38f28
|
| 3 |
+
size 1599249216
|
phi-2-instruct-Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:45bc7e2d7712d23f92d1531375fcb22f72e8d5883469171775a5c9cee83a70a8
|
| 3 |
+
size 1734417216
|
phi-2-instruct-Q4_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:80054c978a69ac2915ad1876aa9b8669a7f1512a60e2bf62007828494a5811a7
|
| 3 |
+
size 1615633216
|
phi-2-instruct-Q5_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:49c4fc348d7b1e1d5d53c600377a7c06b76b88f4a5c61d63a5531a216fcad1a8
|
| 3 |
+
size 1929917056
|
phi-2-instruct-Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d5529e62b3b96aea55b4868e7db86a2057bc980e48e977896b3087f460a90e30
|
| 3 |
+
size 1999549056
|
phi-2-instruct-Q5_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:260c81ded40b592d648d83388396d4d03e987b7e2e77335622f42de9e5d42b07
|
| 3 |
+
size 1929917056
|
phi-2-instruct-Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2a6f192c83e31bf77327a27d382e0c8b7748cab3f0c6d1b4e656a93e3766dc0d
|
| 3 |
+
size 2281251648
|
phi-2-instruct-Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6dedfa1ab5f95ca8e4cb481c369abe2b7dbdf73e8aec7106f8158d3af9ac267d
|
| 3 |
+
size 2953104704
|