Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- MediPhi-Instruct-Q2_K.gguf +3 -0
- MediPhi-Instruct-Q3_K_L.gguf +3 -0
- MediPhi-Instruct-Q3_K_M.gguf +3 -0
- MediPhi-Instruct-Q3_K_S.gguf +3 -0
- MediPhi-Instruct-Q4_0.gguf +3 -0
- MediPhi-Instruct-Q4_K_M.gguf +3 -0
- MediPhi-Instruct-Q4_K_S.gguf +3 -0
- MediPhi-Instruct-Q5_0.gguf +3 -0
- MediPhi-Instruct-Q5_K_M.gguf +3 -0
- MediPhi-Instruct-Q5_K_S.gguf +3 -0
- MediPhi-Instruct-Q6_K.gguf +3 -0
- MediPhi-Instruct-Q8_0.gguf +3 -0
- README.md +163 -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 |
+
MediPhi-Instruct-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
37 |
+
MediPhi-Instruct-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
38 |
+
MediPhi-Instruct-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
39 |
+
MediPhi-Instruct-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
40 |
+
MediPhi-Instruct-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
41 |
+
MediPhi-Instruct-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
42 |
+
MediPhi-Instruct-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
43 |
+
MediPhi-Instruct-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
44 |
+
MediPhi-Instruct-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
45 |
+
MediPhi-Instruct-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
46 |
+
MediPhi-Instruct-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
47 |
+
MediPhi-Instruct-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
MediPhi-Instruct-Q2_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d5f2ad6248771663420a90a44f4ab3ed56a2326594f1c24affb23ea368f2322d
|
3 |
+
size 1416205920
|
MediPhi-Instruct-Q3_K_L.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:30b3558c7e674af649371cedfa1d3653f701c2ce4c9ec90b4bfff4d8bce5a8d0
|
3 |
+
size 2087599200
|
MediPhi-Instruct-Q3_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5f2319080c7ad6887ae925135e2b111a18a6cec0f52f6ac94da9e67202ce9bd6
|
3 |
+
size 1955478624
|
MediPhi-Instruct-Q3_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6080d929a0cf81db426caf259c6bb108afad1635daf397abd276e92bcf426c7d
|
3 |
+
size 1681800288
|
MediPhi-Instruct-Q4_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:924abbd416f33b77df71278563e4049dcd86a015604b2125edeadaf480a2e138
|
3 |
+
size 2176178784
|
MediPhi-Instruct-Q4_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f11edf7da21dccaa3c0c1b3e65552ae70bec7ace474f127142d1207851c9148b
|
3 |
+
size 2393234016
|
MediPhi-Instruct-Q4_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:983c125a41385c1b6322bad6a972756baa82578a2578cfb85b7e6127dee14961
|
3 |
+
size 2188761696
|
MediPhi-Instruct-Q5_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:170c1fd84598460baa99992bc63781952268070a389307b31baeed201f04a6c9
|
3 |
+
size 2641476192
|
MediPhi-Instruct-Q5_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c0eb239ace30b5cf45f976c71c8b224ba359ce8b4f9b8a0e3e88b1106fe3f19a
|
3 |
+
size 2815277664
|
MediPhi-Instruct-Q5_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:66b77c25a52bfb0c9fb96d1013917e4b2090cf3fbe1beaff1a119084db8aa5a3
|
3 |
+
size 2641476192
|
MediPhi-Instruct-Q6_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c322ee134128a170bc757d5fdd0658c3bd68aad4371d9d6216f6a1a24eb0b58f
|
3 |
+
size 3135854688
|
MediPhi-Instruct-Q8_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:82018b5facf8bc4f19d140b0f5700bdd6ef1cb935b3e31f0c3e4e401a804a315
|
3 |
+
size 4061224032
|
README.md
ADDED
@@ -0,0 +1,163 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
datasets:
|
4 |
+
- microsoft/mediflow
|
5 |
+
- ncbi/pubmed
|
6 |
+
- epfl-llm/guidelines
|
7 |
+
- starmpcc/Asclepius-Synthetic-Clinical-Notes
|
8 |
+
- akemiH/NoteChat
|
9 |
+
- zhengyun21/PMC-Patients
|
10 |
+
- jpcorb20/medical_wikipedia
|
11 |
+
language:
|
12 |
+
- en
|
13 |
+
base_model: microsoft/MediPhi-Instruct
|
14 |
+
library_name: transformers
|
15 |
+
tags:
|
16 |
+
- merge
|
17 |
+
- mergekit
|
18 |
+
- medical
|
19 |
+
- clinical
|
20 |
+
- TensorBlock
|
21 |
+
- GGUF
|
22 |
+
---
|
23 |
+
|
24 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
25 |
+
<img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
26 |
+
</div>
|
27 |
+
|
28 |
+
[](https://tensorblock.co)
|
29 |
+
[](https://twitter.com/tensorblock_aoi)
|
30 |
+
[](https://discord.gg/Ej5NmeHFf2)
|
31 |
+
[](https://github.com/TensorBlock)
|
32 |
+
[](https://t.me/TensorBlock)
|
33 |
+
|
34 |
+
|
35 |
+
## microsoft/MediPhi-Instruct - GGUF
|
36 |
+
|
37 |
+
<div style="text-align: left; margin: 20px 0;">
|
38 |
+
<a href="https://discord.com/invite/Ej5NmeHFf2" style="display: inline-block; padding: 10px 20px; background-color: #5865F2; color: white; text-decoration: none; border-radius: 5px; font-weight: bold;">
|
39 |
+
Join our Discord to learn more about what we're building β
|
40 |
+
</a>
|
41 |
+
</div>
|
42 |
+
|
43 |
+
This repo contains GGUF format model files for [microsoft/MediPhi-Instruct](https://huggingface.co/microsoft/MediPhi-Instruct).
|
44 |
+
|
45 |
+
The files were quantized using machines provided by [TensorBlock](https://tensorblock.co/), and they are compatible with llama.cpp as of [commit b5753](https://github.com/ggml-org/llama.cpp/commit/73e53dc834c0a2336cd104473af6897197b96277).
|
46 |
+
|
47 |
+
## Our projects
|
48 |
+
<table border="1" cellspacing="0" cellpadding="10">
|
49 |
+
<tr>
|
50 |
+
<th colspan="2" style="font-size: 25px;">Forge</th>
|
51 |
+
</tr>
|
52 |
+
<tr>
|
53 |
+
<th colspan="2">
|
54 |
+
<img src="https://imgur.com/faI5UKh.jpeg" alt="Forge Project" width="900"/>
|
55 |
+
</th>
|
56 |
+
</tr>
|
57 |
+
<tr>
|
58 |
+
<th colspan="2">An OpenAI-compatible multi-provider routing layer.</th>
|
59 |
+
</tr>
|
60 |
+
<tr>
|
61 |
+
<th colspan="2">
|
62 |
+
<a href="https://github.com/TensorBlock/forge" target="_blank" style="
|
63 |
+
display: inline-block;
|
64 |
+
padding: 8px 16px;
|
65 |
+
background-color: #FF7F50;
|
66 |
+
color: white;
|
67 |
+
text-decoration: none;
|
68 |
+
border-radius: 6px;
|
69 |
+
font-weight: bold;
|
70 |
+
font-family: sans-serif;
|
71 |
+
">π Try it now! π</a>
|
72 |
+
</th>
|
73 |
+
</tr>
|
74 |
+
|
75 |
+
<tr>
|
76 |
+
<th style="font-size: 25px;">Awesome MCP Servers</th>
|
77 |
+
<th style="font-size: 25px;">TensorBlock Studio</th>
|
78 |
+
</tr>
|
79 |
+
<tr>
|
80 |
+
<th><img src="https://imgur.com/2Xov7B7.jpeg" alt="MCP Servers" width="450"/></th>
|
81 |
+
<th><img src="https://imgur.com/pJcmF5u.jpeg" alt="Studio" width="450"/></th>
|
82 |
+
</tr>
|
83 |
+
<tr>
|
84 |
+
<th>A comprehensive collection of Model Context Protocol (MCP) servers.</th>
|
85 |
+
<th>A lightweight, open, and extensible multi-LLM interaction studio.</th>
|
86 |
+
</tr>
|
87 |
+
<tr>
|
88 |
+
<th>
|
89 |
+
<a href="https://github.com/TensorBlock/awesome-mcp-servers" target="_blank" style="
|
90 |
+
display: inline-block;
|
91 |
+
padding: 8px 16px;
|
92 |
+
background-color: #FF7F50;
|
93 |
+
color: white;
|
94 |
+
text-decoration: none;
|
95 |
+
border-radius: 6px;
|
96 |
+
font-weight: bold;
|
97 |
+
font-family: sans-serif;
|
98 |
+
">π See what we built π</a>
|
99 |
+
</th>
|
100 |
+
<th>
|
101 |
+
<a href="https://github.com/TensorBlock/TensorBlock-Studio" target="_blank" style="
|
102 |
+
display: inline-block;
|
103 |
+
padding: 8px 16px;
|
104 |
+
background-color: #FF7F50;
|
105 |
+
color: white;
|
106 |
+
text-decoration: none;
|
107 |
+
border-radius: 6px;
|
108 |
+
font-weight: bold;
|
109 |
+
font-family: sans-serif;
|
110 |
+
">π See what we built π</a>
|
111 |
+
</th>
|
112 |
+
</tr>
|
113 |
+
</table>
|
114 |
+
|
115 |
+
## Prompt template
|
116 |
+
|
117 |
+
```
|
118 |
+
<|system|>
|
119 |
+
{system_prompt}<|end|>
|
120 |
+
<|user|>
|
121 |
+
{prompt}<|end|>
|
122 |
+
<|assistant|>
|
123 |
+
```
|
124 |
+
|
125 |
+
## Model file specification
|
126 |
+
|
127 |
+
| Filename | Quant type | File Size | Description |
|
128 |
+
| -------- | ---------- | --------- | ----------- |
|
129 |
+
| [MediPhi-Instruct-Q2_K.gguf](https://huggingface.co/tensorblock/microsoft_MediPhi-Instruct-GGUF/blob/main/MediPhi-Instruct-Q2_K.gguf) | Q2_K | 1.416 GB | smallest, significant quality loss - not recommended for most purposes |
|
130 |
+
| [MediPhi-Instruct-Q3_K_S.gguf](https://huggingface.co/tensorblock/microsoft_MediPhi-Instruct-GGUF/blob/main/MediPhi-Instruct-Q3_K_S.gguf) | Q3_K_S | 1.682 GB | very small, high quality loss |
|
131 |
+
| [MediPhi-Instruct-Q3_K_M.gguf](https://huggingface.co/tensorblock/microsoft_MediPhi-Instruct-GGUF/blob/main/MediPhi-Instruct-Q3_K_M.gguf) | Q3_K_M | 1.955 GB | very small, high quality loss |
|
132 |
+
| [MediPhi-Instruct-Q3_K_L.gguf](https://huggingface.co/tensorblock/microsoft_MediPhi-Instruct-GGUF/blob/main/MediPhi-Instruct-Q3_K_L.gguf) | Q3_K_L | 2.088 GB | small, substantial quality loss |
|
133 |
+
| [MediPhi-Instruct-Q4_0.gguf](https://huggingface.co/tensorblock/microsoft_MediPhi-Instruct-GGUF/blob/main/MediPhi-Instruct-Q4_0.gguf) | Q4_0 | 2.176 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
134 |
+
| [MediPhi-Instruct-Q4_K_S.gguf](https://huggingface.co/tensorblock/microsoft_MediPhi-Instruct-GGUF/blob/main/MediPhi-Instruct-Q4_K_S.gguf) | Q4_K_S | 2.189 GB | small, greater quality loss |
|
135 |
+
| [MediPhi-Instruct-Q4_K_M.gguf](https://huggingface.co/tensorblock/microsoft_MediPhi-Instruct-GGUF/blob/main/MediPhi-Instruct-Q4_K_M.gguf) | Q4_K_M | 2.393 GB | medium, balanced quality - recommended |
|
136 |
+
| [MediPhi-Instruct-Q5_0.gguf](https://huggingface.co/tensorblock/microsoft_MediPhi-Instruct-GGUF/blob/main/MediPhi-Instruct-Q5_0.gguf) | Q5_0 | 2.641 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
137 |
+
| [MediPhi-Instruct-Q5_K_S.gguf](https://huggingface.co/tensorblock/microsoft_MediPhi-Instruct-GGUF/blob/main/MediPhi-Instruct-Q5_K_S.gguf) | Q5_K_S | 2.641 GB | large, low quality loss - recommended |
|
138 |
+
| [MediPhi-Instruct-Q5_K_M.gguf](https://huggingface.co/tensorblock/microsoft_MediPhi-Instruct-GGUF/blob/main/MediPhi-Instruct-Q5_K_M.gguf) | Q5_K_M | 2.815 GB | large, very low quality loss - recommended |
|
139 |
+
| [MediPhi-Instruct-Q6_K.gguf](https://huggingface.co/tensorblock/microsoft_MediPhi-Instruct-GGUF/blob/main/MediPhi-Instruct-Q6_K.gguf) | Q6_K | 3.136 GB | very large, extremely low quality loss |
|
140 |
+
| [MediPhi-Instruct-Q8_0.gguf](https://huggingface.co/tensorblock/microsoft_MediPhi-Instruct-GGUF/blob/main/MediPhi-Instruct-Q8_0.gguf) | Q8_0 | 4.061 GB | very large, extremely low quality loss - not recommended |
|
141 |
+
|
142 |
+
|
143 |
+
## Downloading instruction
|
144 |
+
|
145 |
+
### Command line
|
146 |
+
|
147 |
+
Firstly, install Huggingface Client
|
148 |
+
|
149 |
+
```shell
|
150 |
+
pip install -U "huggingface_hub[cli]"
|
151 |
+
```
|
152 |
+
|
153 |
+
Then, downoad the individual model file the a local directory
|
154 |
+
|
155 |
+
```shell
|
156 |
+
huggingface-cli download tensorblock/microsoft_MediPhi-Instruct-GGUF --include "MediPhi-Instruct-Q2_K.gguf" --local-dir MY_LOCAL_DIR
|
157 |
+
```
|
158 |
+
|
159 |
+
If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
|
160 |
+
|
161 |
+
```shell
|
162 |
+
huggingface-cli download tensorblock/microsoft_MediPhi-Instruct-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
163 |
+
```
|