Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- Phi-3-mini-128k-instruct-Q2_K.gguf +3 -0
- Phi-3-mini-128k-instruct-Q3_K_L.gguf +3 -0
- Phi-3-mini-128k-instruct-Q3_K_M.gguf +3 -0
- Phi-3-mini-128k-instruct-Q3_K_S.gguf +3 -0
- Phi-3-mini-128k-instruct-Q4_0.gguf +3 -0
- Phi-3-mini-128k-instruct-Q4_K_M.gguf +3 -0
- Phi-3-mini-128k-instruct-Q4_K_S.gguf +3 -0
- Phi-3-mini-128k-instruct-Q5_0.gguf +3 -0
- Phi-3-mini-128k-instruct-Q5_K_M.gguf +3 -0
- Phi-3-mini-128k-instruct-Q5_K_S.gguf +3 -0
- Phi-3-mini-128k-instruct-Q6_K.gguf +3 -0
- Phi-3-mini-128k-instruct-Q8_0.gguf +3 -0
- README.md +84 -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-mini-128k-instruct-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
37 |
+
Phi-3-mini-128k-instruct-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
38 |
+
Phi-3-mini-128k-instruct-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
39 |
+
Phi-3-mini-128k-instruct-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
40 |
+
Phi-3-mini-128k-instruct-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
41 |
+
Phi-3-mini-128k-instruct-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
42 |
+
Phi-3-mini-128k-instruct-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
43 |
+
Phi-3-mini-128k-instruct-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
44 |
+
Phi-3-mini-128k-instruct-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
45 |
+
Phi-3-mini-128k-instruct-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
46 |
+
Phi-3-mini-128k-instruct-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
47 |
+
Phi-3-mini-128k-instruct-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
Phi-3-mini-128k-instruct-Q2_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2a5fecdbb19988ab2456b898ab04bd19906110c43ffb59e789a4b63bafb408fb
|
3 |
+
size 1416204256
|
Phi-3-mini-128k-instruct-Q3_K_L.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:87d08143cb019299ff9652924527600e0af2dcea38d35b331a61cfd37df83ffb
|
3 |
+
size 2087597536
|
Phi-3-mini-128k-instruct-Q3_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:30c316a2b2284dd0ac5d275567d6aadbd43aee200aa67e43bc638e2ce591d613
|
3 |
+
size 1955476960
|
Phi-3-mini-128k-instruct-Q3_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:000df1ee88099632f4ee8acedc77e70b9eaae9c00b35b3176f1a2d2ed9d74ebe
|
3 |
+
size 1681798624
|
Phi-3-mini-128k-instruct-Q4_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:12b22d53df9978c912b0f4d12f85018eb81e7676feb8dc407d23d4b44dbc2f9c
|
3 |
+
size 2176177120
|
Phi-3-mini-128k-instruct-Q4_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2419a1155ff0023750b02cba407039cdef2543d2fac880fade6e610eb0d4e1c9
|
3 |
+
size 2393232352
|
Phi-3-mini-128k-instruct-Q4_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1c28352ebdb5a74f51632c9b69cbb116e917fe9cad8741df48e0de0f839f62ad
|
3 |
+
size 2188760032
|
Phi-3-mini-128k-instruct-Q5_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f47a9cf56b6e47c0050da579c3c7ce5707e39a7d410dc6b6869854e91dff66e2
|
3 |
+
size 2641474528
|
Phi-3-mini-128k-instruct-Q5_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:39368cfe6bb1c69980bc9e3bb840e74ffcff5dc9b52e21f1d0c39288bacf64f3
|
3 |
+
size 2815276000
|
Phi-3-mini-128k-instruct-Q5_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:76b9f359e5bd09eb38b13c3b8d27364b0ce034a943372c573d3e676aaed374bb
|
3 |
+
size 2641474528
|
Phi-3-mini-128k-instruct-Q6_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a44dfac8604326d101b66d7d1b1e334d477ad779a68cd8d3987e41c50565e3e1
|
3 |
+
size 3135853024
|
Phi-3-mini-128k-instruct-Q8_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:016e6d948d989eb38cae5b1d730df02935606d6c568d71fe5cee3b03dbdc6338
|
3 |
+
size 4061222368
|
README.md
ADDED
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
license_link: https://huggingface.co/microsoft/Phi-3-mini-128k-instruct/resolve/main/LICENSE
|
4 |
+
language:
|
5 |
+
- en
|
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 |
+
base_model: microsoft/Phi-3-mini-128k-instruct
|
17 |
+
---
|
18 |
+
|
19 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
20 |
+
<img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
21 |
+
</div>
|
22 |
+
<div style="display: flex; justify-content: space-between; width: 100%;">
|
23 |
+
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
24 |
+
<p style="margin-top: 0.5em; margin-bottom: 0em;">
|
25 |
+
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>
|
26 |
+
</p>
|
27 |
+
</div>
|
28 |
+
</div>
|
29 |
+
|
30 |
+
## microsoft/Phi-3-mini-128k-instruct - GGUF
|
31 |
+
|
32 |
+
This repo contains GGUF format model files for [microsoft/Phi-3-mini-128k-instruct](https://huggingface.co/microsoft/Phi-3-mini-128k-instruct).
|
33 |
+
|
34 |
+
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).
|
35 |
+
|
36 |
+
## Prompt template
|
37 |
+
|
38 |
+
```
|
39 |
+
<|system|>
|
40 |
+
{system_prompt}<|end|>
|
41 |
+
<|user|>
|
42 |
+
{prompt}<|end|>
|
43 |
+
<|assistant|>
|
44 |
+
```
|
45 |
+
|
46 |
+
## Model file specification
|
47 |
+
|
48 |
+
| Filename | Quant type | File Size | Description |
|
49 |
+
| -------- | ---------- | --------- | ----------- |
|
50 |
+
| [Phi-3-mini-128k-instruct-Q2_K.gguf](https://huggingface.co/tensorblock/Phi-3-mini-128k-instruct-GGUF/tree/main/Phi-3-mini-128k-instruct-Q2_K.gguf) | Q2_K | 1.319 GB | smallest, significant quality loss - not recommended for most purposes |
|
51 |
+
| [Phi-3-mini-128k-instruct-Q3_K_S.gguf](https://huggingface.co/tensorblock/Phi-3-mini-128k-instruct-GGUF/tree/main/Phi-3-mini-128k-instruct-Q3_K_S.gguf) | Q3_K_S | 1.566 GB | very small, high quality loss |
|
52 |
+
| [Phi-3-mini-128k-instruct-Q3_K_M.gguf](https://huggingface.co/tensorblock/Phi-3-mini-128k-instruct-GGUF/tree/main/Phi-3-mini-128k-instruct-Q3_K_M.gguf) | Q3_K_M | 1.821 GB | very small, high quality loss |
|
53 |
+
| [Phi-3-mini-128k-instruct-Q3_K_L.gguf](https://huggingface.co/tensorblock/Phi-3-mini-128k-instruct-GGUF/tree/main/Phi-3-mini-128k-instruct-Q3_K_L.gguf) | Q3_K_L | 1.944 GB | small, substantial quality loss |
|
54 |
+
| [Phi-3-mini-128k-instruct-Q4_0.gguf](https://huggingface.co/tensorblock/Phi-3-mini-128k-instruct-GGUF/tree/main/Phi-3-mini-128k-instruct-Q4_0.gguf) | Q4_0 | 2.027 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
55 |
+
| [Phi-3-mini-128k-instruct-Q4_K_S.gguf](https://huggingface.co/tensorblock/Phi-3-mini-128k-instruct-GGUF/tree/main/Phi-3-mini-128k-instruct-Q4_K_S.gguf) | Q4_K_S | 2.038 GB | small, greater quality loss |
|
56 |
+
| [Phi-3-mini-128k-instruct-Q4_K_M.gguf](https://huggingface.co/tensorblock/Phi-3-mini-128k-instruct-GGUF/tree/main/Phi-3-mini-128k-instruct-Q4_K_M.gguf) | Q4_K_M | 2.229 GB | medium, balanced quality - recommended |
|
57 |
+
| [Phi-3-mini-128k-instruct-Q5_0.gguf](https://huggingface.co/tensorblock/Phi-3-mini-128k-instruct-GGUF/tree/main/Phi-3-mini-128k-instruct-Q5_0.gguf) | Q5_0 | 2.460 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
58 |
+
| [Phi-3-mini-128k-instruct-Q5_K_S.gguf](https://huggingface.co/tensorblock/Phi-3-mini-128k-instruct-GGUF/tree/main/Phi-3-mini-128k-instruct-Q5_K_S.gguf) | Q5_K_S | 2.460 GB | large, low quality loss - recommended |
|
59 |
+
| [Phi-3-mini-128k-instruct-Q5_K_M.gguf](https://huggingface.co/tensorblock/Phi-3-mini-128k-instruct-GGUF/tree/main/Phi-3-mini-128k-instruct-Q5_K_M.gguf) | Q5_K_M | 2.622 GB | large, very low quality loss - recommended |
|
60 |
+
| [Phi-3-mini-128k-instruct-Q6_K.gguf](https://huggingface.co/tensorblock/Phi-3-mini-128k-instruct-GGUF/tree/main/Phi-3-mini-128k-instruct-Q6_K.gguf) | Q6_K | 2.920 GB | very large, extremely low quality loss |
|
61 |
+
| [Phi-3-mini-128k-instruct-Q8_0.gguf](https://huggingface.co/tensorblock/Phi-3-mini-128k-instruct-GGUF/tree/main/Phi-3-mini-128k-instruct-Q8_0.gguf) | Q8_0 | 3.782 GB | very large, extremely low quality loss - not recommended |
|
62 |
+
|
63 |
+
|
64 |
+
## Downloading instruction
|
65 |
+
|
66 |
+
### Command line
|
67 |
+
|
68 |
+
Firstly, install Huggingface Client
|
69 |
+
|
70 |
+
```shell
|
71 |
+
pip install -U "huggingface_hub[cli]"
|
72 |
+
```
|
73 |
+
|
74 |
+
Then, downoad the individual model file the a local directory
|
75 |
+
|
76 |
+
```shell
|
77 |
+
huggingface-cli download tensorblock/Phi-3-mini-128k-instruct-GGUF --include "Phi-3-mini-128k-instruct-Q2_K.gguf" --local-dir MY_LOCAL_DIR
|
78 |
+
```
|
79 |
+
|
80 |
+
If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
|
81 |
+
|
82 |
+
```shell
|
83 |
+
huggingface-cli download tensorblock/Phi-3-mini-128k-instruct-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
84 |
+
```
|