Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- README.md +82 -0
- phi-2-pytdml-Q2_K.gguf +3 -0
- phi-2-pytdml-Q3_K_L.gguf +3 -0
- phi-2-pytdml-Q3_K_M.gguf +3 -0
- phi-2-pytdml-Q3_K_S.gguf +3 -0
- phi-2-pytdml-Q4_0.gguf +3 -0
- phi-2-pytdml-Q4_K_M.gguf +3 -0
- phi-2-pytdml-Q4_K_S.gguf +3 -0
- phi-2-pytdml-Q5_0.gguf +3 -0
- phi-2-pytdml-Q5_K_M.gguf +3 -0
- phi-2-pytdml-Q5_K_S.gguf +3 -0
- phi-2-pytdml-Q6_K.gguf +3 -0
- phi-2-pytdml-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-pytdml-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
phi-2-pytdml-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
phi-2-pytdml-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
phi-2-pytdml-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
phi-2-pytdml-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
phi-2-pytdml-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
phi-2-pytdml-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
phi-2-pytdml-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
phi-2-pytdml-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
phi-2-pytdml-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
phi-2-pytdml-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
phi-2-pytdml-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
license_link: https://huggingface.co/microsoft/phi-2/resolve/main/LICENSE
|
| 4 |
+
language:
|
| 5 |
+
- en
|
| 6 |
+
pipeline_tag: text-generation
|
| 7 |
+
tags:
|
| 8 |
+
- nlp
|
| 9 |
+
- code
|
| 10 |
+
- TensorBlock
|
| 11 |
+
- GGUF
|
| 12 |
+
base_model: microsoft/phi-2-pytdml
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
| 16 |
+
<img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
| 17 |
+
</div>
|
| 18 |
+
<div style="display: flex; justify-content: space-between; width: 100%;">
|
| 19 |
+
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
| 20 |
+
<p style="margin-top: 0.5em; margin-bottom: 0em;">
|
| 21 |
+
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>
|
| 22 |
+
</p>
|
| 23 |
+
</div>
|
| 24 |
+
</div>
|
| 25 |
+
|
| 26 |
+
## microsoft/phi-2-pytdml - GGUF
|
| 27 |
+
|
| 28 |
+
This repo contains GGUF format model files for [microsoft/phi-2-pytdml](https://huggingface.co/microsoft/phi-2-pytdml).
|
| 29 |
+
|
| 30 |
+
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).
|
| 31 |
+
|
| 32 |
+
<div style="text-align: left; margin: 20px 0;">
|
| 33 |
+
<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;">
|
| 34 |
+
Run them on the TensorBlock client using your local machine ↗
|
| 35 |
+
</a>
|
| 36 |
+
</div>
|
| 37 |
+
|
| 38 |
+
## Prompt template
|
| 39 |
+
|
| 40 |
+
```
|
| 41 |
+
|
| 42 |
+
```
|
| 43 |
+
|
| 44 |
+
## Model file specification
|
| 45 |
+
|
| 46 |
+
| Filename | Quant type | File Size | Description |
|
| 47 |
+
| -------- | ---------- | --------- | ----------- |
|
| 48 |
+
| [phi-2-pytdml-Q2_K.gguf](https://huggingface.co/tensorblock/phi-2-pytdml-GGUF/blob/main/phi-2-pytdml-Q2_K.gguf) | Q2_K | 1.110 GB | smallest, significant quality loss - not recommended for most purposes |
|
| 49 |
+
| [phi-2-pytdml-Q3_K_S.gguf](https://huggingface.co/tensorblock/phi-2-pytdml-GGUF/blob/main/phi-2-pytdml-Q3_K_S.gguf) | Q3_K_S | 1.251 GB | very small, high quality loss |
|
| 50 |
+
| [phi-2-pytdml-Q3_K_M.gguf](https://huggingface.co/tensorblock/phi-2-pytdml-GGUF/blob/main/phi-2-pytdml-Q3_K_M.gguf) | Q3_K_M | 1.426 GB | very small, high quality loss |
|
| 51 |
+
| [phi-2-pytdml-Q3_K_L.gguf](https://huggingface.co/tensorblock/phi-2-pytdml-GGUF/blob/main/phi-2-pytdml-Q3_K_L.gguf) | Q3_K_L | 1.575 GB | small, substantial quality loss |
|
| 52 |
+
| [phi-2-pytdml-Q4_0.gguf](https://huggingface.co/tensorblock/phi-2-pytdml-GGUF/blob/main/phi-2-pytdml-Q4_0.gguf) | Q4_0 | 1.602 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
| 53 |
+
| [phi-2-pytdml-Q4_K_S.gguf](https://huggingface.co/tensorblock/phi-2-pytdml-GGUF/blob/main/phi-2-pytdml-Q4_K_S.gguf) | Q4_K_S | 1.619 GB | small, greater quality loss |
|
| 54 |
+
| [phi-2-pytdml-Q4_K_M.gguf](https://huggingface.co/tensorblock/phi-2-pytdml-GGUF/blob/main/phi-2-pytdml-Q4_K_M.gguf) | Q4_K_M | 1.738 GB | medium, balanced quality - recommended |
|
| 55 |
+
| [phi-2-pytdml-Q5_0.gguf](https://huggingface.co/tensorblock/phi-2-pytdml-GGUF/blob/main/phi-2-pytdml-Q5_0.gguf) | Q5_0 | 1.933 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
| 56 |
+
| [phi-2-pytdml-Q5_K_S.gguf](https://huggingface.co/tensorblock/phi-2-pytdml-GGUF/blob/main/phi-2-pytdml-Q5_K_S.gguf) | Q5_K_S | 1.933 GB | large, low quality loss - recommended |
|
| 57 |
+
| [phi-2-pytdml-Q5_K_M.gguf](https://huggingface.co/tensorblock/phi-2-pytdml-GGUF/blob/main/phi-2-pytdml-Q5_K_M.gguf) | Q5_K_M | 2.003 GB | large, very low quality loss - recommended |
|
| 58 |
+
| [phi-2-pytdml-Q6_K.gguf](https://huggingface.co/tensorblock/phi-2-pytdml-GGUF/blob/main/phi-2-pytdml-Q6_K.gguf) | Q6_K | 2.285 GB | very large, extremely low quality loss |
|
| 59 |
+
| [phi-2-pytdml-Q8_0.gguf](https://huggingface.co/tensorblock/phi-2-pytdml-GGUF/blob/main/phi-2-pytdml-Q8_0.gguf) | Q8_0 | 2.958 GB | very large, extremely low quality loss - not recommended |
|
| 60 |
+
|
| 61 |
+
|
| 62 |
+
## Downloading instruction
|
| 63 |
+
|
| 64 |
+
### Command line
|
| 65 |
+
|
| 66 |
+
Firstly, install Huggingface Client
|
| 67 |
+
|
| 68 |
+
```shell
|
| 69 |
+
pip install -U "huggingface_hub[cli]"
|
| 70 |
+
```
|
| 71 |
+
|
| 72 |
+
Then, downoad the individual model file the a local directory
|
| 73 |
+
|
| 74 |
+
```shell
|
| 75 |
+
huggingface-cli download tensorblock/phi-2-pytdml-GGUF --include "phi-2-pytdml-Q2_K.gguf" --local-dir MY_LOCAL_DIR
|
| 76 |
+
```
|
| 77 |
+
|
| 78 |
+
If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
|
| 79 |
+
|
| 80 |
+
```shell
|
| 81 |
+
huggingface-cli download tensorblock/phi-2-pytdml-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
| 82 |
+
```
|
phi-2-pytdml-Q2_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e08d782b8cba58be242d78cca8a6c69effc10a5da7b3d858dbc15e32b77c0b88
|
| 3 |
+
size 1109720128
|
phi-2-pytdml-Q3_K_L.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c85410d6327c53ce696befe7804e2474cea01f57cf0a13a5263640d26de4508a
|
| 3 |
+
size 1575230528
|
phi-2-pytdml-Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4e6d79af8b4d7eddbe2d55cdda3f60639aea5bc80cd59f5df114dd58a8285ffa
|
| 3 |
+
size 1426136128
|
phi-2-pytdml-Q3_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:43e97b3b844bcc65eb49ebecf640317eb626f4ae905ac9b86d56d42f15863ab5
|
| 3 |
+
size 1250827328
|
phi-2-pytdml-Q4_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7654105c20b53439b190d6fa1d511ceefb0594384cc25e0057e451e89ede9f07
|
| 3 |
+
size 1602468928
|
phi-2-pytdml-Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8c689e657c3f0351ff73da7bb053b9ab004e3100676d61d24de7e740c5078a7a
|
| 3 |
+
size 1737636928
|
phi-2-pytdml-Q4_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:22497949c7e04bc3055d7d48d224424358d71d007a2860004e00e4a77049a582
|
| 3 |
+
size 1618852928
|
phi-2-pytdml-Q5_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cafb945cfc51577be3d6d9d3c86e08a5ccaaa4b6e7b7b77abbef3e6c6a6396c6
|
| 3 |
+
size 1933425728
|
phi-2-pytdml-Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3959e50cbda13da92855c6f8f81b65f03754f2de24a19281231b03cd04cd55c8
|
| 3 |
+
size 2003057728
|
phi-2-pytdml-Q5_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:93397c5f1a14bd4b11a3afdccdc7539d6947d45ce997cc222ac132ee09cd7498
|
| 3 |
+
size 1933425728
|
phi-2-pytdml-Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1649b9bd7d5965c15e858039756b7398dffa3f52297a1ab4c8f4d997924fa166
|
| 3 |
+
size 2285067328
|
phi-2-pytdml-Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bc29d0e0c95c28a3baaeb25459fb845ae6ab265e3c2ea78329434aba4250d125
|
| 3 |
+
size 2958040128
|