Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- Phi-3.5-MoE-instruct-Q2_K.gguf +3 -0
- Phi-3.5-MoE-instruct-Q3_K_L.gguf +3 -0
- Phi-3.5-MoE-instruct-Q3_K_M.gguf +3 -0
- Phi-3.5-MoE-instruct-Q3_K_S.gguf +3 -0
- Phi-3.5-MoE-instruct-Q4_0.gguf +3 -0
- Phi-3.5-MoE-instruct-Q4_K_M.gguf +3 -0
- Phi-3.5-MoE-instruct-Q4_K_S.gguf +3 -0
- Phi-3.5-MoE-instruct-Q5_0.gguf +3 -0
- Phi-3.5-MoE-instruct-Q5_K_M.gguf +3 -0
- Phi-3.5-MoE-instruct-Q5_K_S.gguf +3 -0
- Phi-3.5-MoE-instruct-Q6_K.gguf +3 -0
- Phi-3.5-MoE-instruct-Q8_0.gguf +3 -0
- README.md +91 -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-3.5-MoE-instruct-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
37 |
+
Phi-3.5-MoE-instruct-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
38 |
+
Phi-3.5-MoE-instruct-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
39 |
+
Phi-3.5-MoE-instruct-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
40 |
+
Phi-3.5-MoE-instruct-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
41 |
+
Phi-3.5-MoE-instruct-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
42 |
+
Phi-3.5-MoE-instruct-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
43 |
+
Phi-3.5-MoE-instruct-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
44 |
+
Phi-3.5-MoE-instruct-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
45 |
+
Phi-3.5-MoE-instruct-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
46 |
+
Phi-3.5-MoE-instruct-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
47 |
+
Phi-3.5-MoE-instruct-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
Phi-3.5-MoE-instruct-Q2_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3a040855e6fc6b851b8f8f8bc90fded7e65a0aa23e29e34009fbb28bd5828b34
|
3 |
+
size 15265136192
|
Phi-3.5-MoE-instruct-Q3_K_L.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a1c46d31812f3d1ea0c1187aff2c0f7c76e0ac8c455d7d145738741f615ef252
|
3 |
+
size 21688419904
|
Phi-3.5-MoE-instruct-Q3_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:26f6241d683fac3a8716dbc77b1fdaac6bafdfce9be8bacb7a25c3925a09ed9d
|
3 |
+
size 20032718400
|
Phi-3.5-MoE-instruct-Q3_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9734b58d5dc8622cf38e7e013bb4d9aeaec27c41e39e4e4232bc27ab7bc093d2
|
3 |
+
size 18055104064
|
Phi-3.5-MoE-instruct-Q4_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5369b4df151ec39500ecad8a967d8565c8c837d690ec5dafef1b10a253e70038
|
3 |
+
size 23598542400
|
Phi-3.5-MoE-instruct-Q4_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8754cbff74872f0cc96dc77ddec093ee9e565f3f62ce61e0877201bc2661b55e
|
3 |
+
size 25345994304
|
Phi-3.5-MoE-instruct-Q4_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:55579ac0f665be108c4aa1b852fe8cdc7deaaa04862b5c7114258ce4ed39f58d
|
3 |
+
size 23810354752
|
Phi-3.5-MoE-instruct-Q5_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7f508922902a38743a7ea5095221e49afe8140e4c363cf02beb06768aa547b9e
|
3 |
+
size 28815896128
|
Phi-3.5-MoE-instruct-Q5_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:08a765378ad6dd01cd1b3bb79c937650bb2658ad1fa66123b695a1dcc9fb7631
|
3 |
+
size 29716098624
|
Phi-3.5-MoE-instruct-Q5_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fe5c7bc0b2d20d35c7c470677ab1360880647c9b8a5e1e1f0b9f18dc1536e05f
|
3 |
+
size 28815896128
|
Phi-3.5-MoE-instruct-Q6_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f5911f51f7d4d028c0d9b90be2cdfcc623f635e6a50b5da4d155177618040444
|
3 |
+
size 34359334464
|
Phi-3.5-MoE-instruct-Q8_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:78b129ebf4b5c11635ad373b1ab5ce42ab180d9aba888dc2f8e2caec6094712c
|
3 |
+
size 44499764800
|
README.md
ADDED
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
license_link: https://huggingface.co/microsoft/Phi-3.5-MoE-instruct/resolve/main/LICENSE
|
4 |
+
language:
|
5 |
+
- multilingual
|
6 |
+
pipeline_tag: text-generation
|
7 |
+
tags:
|
8 |
+
- nlp
|
9 |
+
- code
|
10 |
+
- TensorBlock
|
11 |
+
- GGUF
|
12 |
+
widget:
|
13 |
+
- messages:
|
14 |
+
- role: user
|
15 |
+
content: Can you provide ways to eat combinations of bananas and dragonfruits?
|
16 |
+
library_name: transformers
|
17 |
+
base_model: microsoft/Phi-3.5-MoE-instruct
|
18 |
+
---
|
19 |
+
|
20 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
21 |
+
<img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
22 |
+
</div>
|
23 |
+
<div style="display: flex; justify-content: space-between; width: 100%;">
|
24 |
+
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
25 |
+
<p style="margin-top: 0.5em; margin-bottom: 0em;">
|
26 |
+
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>
|
27 |
+
</p>
|
28 |
+
</div>
|
29 |
+
</div>
|
30 |
+
|
31 |
+
## microsoft/Phi-3.5-MoE-instruct - GGUF
|
32 |
+
|
33 |
+
This repo contains GGUF format model files for [microsoft/Phi-3.5-MoE-instruct](https://huggingface.co/microsoft/Phi-3.5-MoE-instruct).
|
34 |
+
|
35 |
+
The files were quantized using machines provided by [TensorBlock](https://tensorblock.co/), and they are compatible with llama.cpp as of [commit ec7f3ac](https://github.com/ggerganov/llama.cpp/commit/ec7f3ac9ab33e46b136eb5ab6a76c4d81f57c7f1).
|
36 |
+
|
37 |
+
<div style="text-align: left; margin: 20px 0;">
|
38 |
+
<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;">
|
39 |
+
Run them on the TensorBlock client using your local machine ↗
|
40 |
+
</a>
|
41 |
+
</div>
|
42 |
+
|
43 |
+
## Prompt template
|
44 |
+
|
45 |
+
```
|
46 |
+
<|system|>
|
47 |
+
{system_prompt}<|end|>
|
48 |
+
<|user|>
|
49 |
+
{prompt}<|end|>
|
50 |
+
<|assistant|>
|
51 |
+
```
|
52 |
+
|
53 |
+
## Model file specification
|
54 |
+
|
55 |
+
| Filename | Quant type | File Size | Description |
|
56 |
+
| -------- | ---------- | --------- | ----------- |
|
57 |
+
| [Phi-3.5-MoE-instruct-Q2_K.gguf](https://huggingface.co/tensorblock/Phi-3.5-MoE-instruct-GGUF/blob/main/Phi-3.5-MoE-instruct-Q2_K.gguf) | Q2_K | 15.265 GB | smallest, significant quality loss - not recommended for most purposes |
|
58 |
+
| [Phi-3.5-MoE-instruct-Q3_K_S.gguf](https://huggingface.co/tensorblock/Phi-3.5-MoE-instruct-GGUF/blob/main/Phi-3.5-MoE-instruct-Q3_K_S.gguf) | Q3_K_S | 18.055 GB | very small, high quality loss |
|
59 |
+
| [Phi-3.5-MoE-instruct-Q3_K_M.gguf](https://huggingface.co/tensorblock/Phi-3.5-MoE-instruct-GGUF/blob/main/Phi-3.5-MoE-instruct-Q3_K_M.gguf) | Q3_K_M | 20.033 GB | very small, high quality loss |
|
60 |
+
| [Phi-3.5-MoE-instruct-Q3_K_L.gguf](https://huggingface.co/tensorblock/Phi-3.5-MoE-instruct-GGUF/blob/main/Phi-3.5-MoE-instruct-Q3_K_L.gguf) | Q3_K_L | 21.688 GB | small, substantial quality loss |
|
61 |
+
| [Phi-3.5-MoE-instruct-Q4_0.gguf](https://huggingface.co/tensorblock/Phi-3.5-MoE-instruct-GGUF/blob/main/Phi-3.5-MoE-instruct-Q4_0.gguf) | Q4_0 | 23.599 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
62 |
+
| [Phi-3.5-MoE-instruct-Q4_K_S.gguf](https://huggingface.co/tensorblock/Phi-3.5-MoE-instruct-GGUF/blob/main/Phi-3.5-MoE-instruct-Q4_K_S.gguf) | Q4_K_S | 23.810 GB | small, greater quality loss |
|
63 |
+
| [Phi-3.5-MoE-instruct-Q4_K_M.gguf](https://huggingface.co/tensorblock/Phi-3.5-MoE-instruct-GGUF/blob/main/Phi-3.5-MoE-instruct-Q4_K_M.gguf) | Q4_K_M | 25.346 GB | medium, balanced quality - recommended |
|
64 |
+
| [Phi-3.5-MoE-instruct-Q5_0.gguf](https://huggingface.co/tensorblock/Phi-3.5-MoE-instruct-GGUF/blob/main/Phi-3.5-MoE-instruct-Q5_0.gguf) | Q5_0 | 28.816 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
65 |
+
| [Phi-3.5-MoE-instruct-Q5_K_S.gguf](https://huggingface.co/tensorblock/Phi-3.5-MoE-instruct-GGUF/blob/main/Phi-3.5-MoE-instruct-Q5_K_S.gguf) | Q5_K_S | 28.816 GB | large, low quality loss - recommended |
|
66 |
+
| [Phi-3.5-MoE-instruct-Q5_K_M.gguf](https://huggingface.co/tensorblock/Phi-3.5-MoE-instruct-GGUF/blob/main/Phi-3.5-MoE-instruct-Q5_K_M.gguf) | Q5_K_M | 29.716 GB | large, very low quality loss - recommended |
|
67 |
+
| [Phi-3.5-MoE-instruct-Q6_K.gguf](https://huggingface.co/tensorblock/Phi-3.5-MoE-instruct-GGUF/blob/main/Phi-3.5-MoE-instruct-Q6_K.gguf) | Q6_K | 34.359 GB | very large, extremely low quality loss |
|
68 |
+
| [Phi-3.5-MoE-instruct-Q8_0.gguf](https://huggingface.co/tensorblock/Phi-3.5-MoE-instruct-GGUF/blob/main/Phi-3.5-MoE-instruct-Q8_0.gguf) | Q8_0 | 44.500 GB | very large, extremely low quality loss - not recommended |
|
69 |
+
|
70 |
+
|
71 |
+
## Downloading instruction
|
72 |
+
|
73 |
+
### Command line
|
74 |
+
|
75 |
+
Firstly, install Huggingface Client
|
76 |
+
|
77 |
+
```shell
|
78 |
+
pip install -U "huggingface_hub[cli]"
|
79 |
+
```
|
80 |
+
|
81 |
+
Then, downoad the individual model file the a local directory
|
82 |
+
|
83 |
+
```shell
|
84 |
+
huggingface-cli download tensorblock/Phi-3.5-MoE-instruct-GGUF --include "Phi-3.5-MoE-instruct-Q2_K.gguf" --local-dir MY_LOCAL_DIR
|
85 |
+
```
|
86 |
+
|
87 |
+
If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
|
88 |
+
|
89 |
+
```shell
|
90 |
+
huggingface-cli download tensorblock/Phi-3.5-MoE-instruct-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
91 |
+
```
|