Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- Phi-3.5-mini-instruct-Q2_K.gguf +3 -0
- Phi-3.5-mini-instruct-Q3_K_L.gguf +3 -0
- Phi-3.5-mini-instruct-Q3_K_M.gguf +3 -0
- Phi-3.5-mini-instruct-Q3_K_S.gguf +3 -0
- Phi-3.5-mini-instruct-Q4_0.gguf +3 -0
- Phi-3.5-mini-instruct-Q4_K_M.gguf +3 -0
- Phi-3.5-mini-instruct-Q4_K_S.gguf +3 -0
- Phi-3.5-mini-instruct-Q5_0.gguf +3 -0
- Phi-3.5-mini-instruct-Q5_K_M.gguf +3 -0
- Phi-3.5-mini-instruct-Q5_K_S.gguf +3 -0
- Phi-3.5-mini-instruct-Q6_K.gguf +3 -0
- Phi-3.5-mini-instruct-Q8_0.gguf +3 -0
- README.md +85 -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-mini-instruct-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
37 |
+
Phi-3.5-mini-instruct-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
38 |
+
Phi-3.5-mini-instruct-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
39 |
+
Phi-3.5-mini-instruct-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
40 |
+
Phi-3.5-mini-instruct-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
41 |
+
Phi-3.5-mini-instruct-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
42 |
+
Phi-3.5-mini-instruct-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
43 |
+
Phi-3.5-mini-instruct-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
44 |
+
Phi-3.5-mini-instruct-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
45 |
+
Phi-3.5-mini-instruct-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
46 |
+
Phi-3.5-mini-instruct-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
47 |
+
Phi-3.5-mini-instruct-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
Phi-3.5-mini-instruct-Q2_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b397be11bd1d38abaff560567c58141e7b949f9ab3c4f53ce2d8209f9e03954b
|
3 |
+
size 1416204288
|
Phi-3.5-mini-instruct-Q3_K_L.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9eeafb382e4c2c7cabde6d44b84377f1f89f4caa944ea4ec0a784f2071b36778
|
3 |
+
size 2087597568
|
Phi-3.5-mini-instruct-Q3_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8cd9eb2fa154806bed7c882e0e98240e98a4252d2962aee586aa9dcefb9b4a7e
|
3 |
+
size 1955476992
|
Phi-3.5-mini-instruct-Q3_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c2ddefc7e08593405527aa603503f9a3c428638a96b78de0265f08adce1d601b
|
3 |
+
size 1681798656
|
Phi-3.5-mini-instruct-Q4_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f855670a663566ec9b3f7ed628db40f813e019008c2822b5efeda42b33be8d36
|
3 |
+
size 2176177152
|
Phi-3.5-mini-instruct-Q4_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:677fca7004b3f1a8503bc2b8fa4a644d9211b9534da25c13afd6950a09428358
|
3 |
+
size 2393232384
|
Phi-3.5-mini-instruct-Q4_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f6a38bd0a1baf99cb9084feb78f7bdd693d2a0187225d3436ca223796691271b
|
3 |
+
size 2188760064
|
Phi-3.5-mini-instruct-Q5_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:66b6bec893d274a364ceb4140b8a64d2da80b17753888cb6e4b06229b00e9668
|
3 |
+
size 2641474560
|
Phi-3.5-mini-instruct-Q5_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e96636cdb5ad35516f050a89ffb3d1a24b673c61e9142fc603fedb9b72d0d96d
|
3 |
+
size 2815276032
|
Phi-3.5-mini-instruct-Q5_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c25ce2b1d29730f1617fe0c7a4a375adf65414efa13b270c5cacbf35dd2c6dd1
|
3 |
+
size 2641474560
|
Phi-3.5-mini-instruct-Q6_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d74517ac8c384e0265b9322d0b39a6ae8e78c5dc3092c0a90d422ab193fb73ee
|
3 |
+
size 3135853056
|
Phi-3.5-mini-instruct-Q8_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0fec17b95a961dd1436ffe5b6aa21319fb530f502ff0fca762f4a862cbdb49f7
|
3 |
+
size 4061222400
|
README.md
ADDED
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
license_link: https://huggingface.co/microsoft/Phi-3.5-mini-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-mini-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-mini-instruct - GGUF
|
32 |
+
|
33 |
+
This repo contains GGUF format model files for [microsoft/Phi-3.5-mini-instruct](https://huggingface.co/microsoft/Phi-3.5-mini-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 b4011](https://github.com/ggerganov/llama.cpp/commit/a6744e43e80f4be6398fc7733a01642c846dce1d).
|
36 |
+
|
37 |
+
## Prompt template
|
38 |
+
|
39 |
+
```
|
40 |
+
<|system|>
|
41 |
+
{system_prompt}<|end|>
|
42 |
+
<|user|>
|
43 |
+
{prompt}<|end|>
|
44 |
+
<|assistant|>
|
45 |
+
```
|
46 |
+
|
47 |
+
## Model file specification
|
48 |
+
|
49 |
+
| Filename | Quant type | File Size | Description |
|
50 |
+
| -------- | ---------- | --------- | ----------- |
|
51 |
+
| [Phi-3.5-mini-instruct-Q2_K.gguf](https://huggingface.co/tensorblock/Phi-3.5-mini-instruct-GGUF/tree/main/Phi-3.5-mini-instruct-Q2_K.gguf) | Q2_K | 1.319 GB | smallest, significant quality loss - not recommended for most purposes |
|
52 |
+
| [Phi-3.5-mini-instruct-Q3_K_S.gguf](https://huggingface.co/tensorblock/Phi-3.5-mini-instruct-GGUF/tree/main/Phi-3.5-mini-instruct-Q3_K_S.gguf) | Q3_K_S | 1.566 GB | very small, high quality loss |
|
53 |
+
| [Phi-3.5-mini-instruct-Q3_K_M.gguf](https://huggingface.co/tensorblock/Phi-3.5-mini-instruct-GGUF/tree/main/Phi-3.5-mini-instruct-Q3_K_M.gguf) | Q3_K_M | 1.821 GB | very small, high quality loss |
|
54 |
+
| [Phi-3.5-mini-instruct-Q3_K_L.gguf](https://huggingface.co/tensorblock/Phi-3.5-mini-instruct-GGUF/tree/main/Phi-3.5-mini-instruct-Q3_K_L.gguf) | Q3_K_L | 1.944 GB | small, substantial quality loss |
|
55 |
+
| [Phi-3.5-mini-instruct-Q4_0.gguf](https://huggingface.co/tensorblock/Phi-3.5-mini-instruct-GGUF/tree/main/Phi-3.5-mini-instruct-Q4_0.gguf) | Q4_0 | 2.027 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
56 |
+
| [Phi-3.5-mini-instruct-Q4_K_S.gguf](https://huggingface.co/tensorblock/Phi-3.5-mini-instruct-GGUF/tree/main/Phi-3.5-mini-instruct-Q4_K_S.gguf) | Q4_K_S | 2.038 GB | small, greater quality loss |
|
57 |
+
| [Phi-3.5-mini-instruct-Q4_K_M.gguf](https://huggingface.co/tensorblock/Phi-3.5-mini-instruct-GGUF/tree/main/Phi-3.5-mini-instruct-Q4_K_M.gguf) | Q4_K_M | 2.229 GB | medium, balanced quality - recommended |
|
58 |
+
| [Phi-3.5-mini-instruct-Q5_0.gguf](https://huggingface.co/tensorblock/Phi-3.5-mini-instruct-GGUF/tree/main/Phi-3.5-mini-instruct-Q5_0.gguf) | Q5_0 | 2.460 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
59 |
+
| [Phi-3.5-mini-instruct-Q5_K_S.gguf](https://huggingface.co/tensorblock/Phi-3.5-mini-instruct-GGUF/tree/main/Phi-3.5-mini-instruct-Q5_K_S.gguf) | Q5_K_S | 2.460 GB | large, low quality loss - recommended |
|
60 |
+
| [Phi-3.5-mini-instruct-Q5_K_M.gguf](https://huggingface.co/tensorblock/Phi-3.5-mini-instruct-GGUF/tree/main/Phi-3.5-mini-instruct-Q5_K_M.gguf) | Q5_K_M | 2.622 GB | large, very low quality loss - recommended |
|
61 |
+
| [Phi-3.5-mini-instruct-Q6_K.gguf](https://huggingface.co/tensorblock/Phi-3.5-mini-instruct-GGUF/tree/main/Phi-3.5-mini-instruct-Q6_K.gguf) | Q6_K | 2.920 GB | very large, extremely low quality loss |
|
62 |
+
| [Phi-3.5-mini-instruct-Q8_0.gguf](https://huggingface.co/tensorblock/Phi-3.5-mini-instruct-GGUF/tree/main/Phi-3.5-mini-instruct-Q8_0.gguf) | Q8_0 | 3.782 GB | very large, extremely low quality loss - not recommended |
|
63 |
+
|
64 |
+
|
65 |
+
## Downloading instruction
|
66 |
+
|
67 |
+
### Command line
|
68 |
+
|
69 |
+
Firstly, install Huggingface Client
|
70 |
+
|
71 |
+
```shell
|
72 |
+
pip install -U "huggingface_hub[cli]"
|
73 |
+
```
|
74 |
+
|
75 |
+
Then, downoad the individual model file the a local directory
|
76 |
+
|
77 |
+
```shell
|
78 |
+
huggingface-cli download tensorblock/Phi-3.5-mini-instruct-GGUF --include "Phi-3.5-mini-instruct-Q2_K.gguf" --local-dir MY_LOCAL_DIR
|
79 |
+
```
|
80 |
+
|
81 |
+
If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
|
82 |
+
|
83 |
+
```shell
|
84 |
+
huggingface-cli download tensorblock/Phi-3.5-mini-instruct-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
85 |
+
```
|