morriszms commited on
Commit
7f34ad8
Β·
verified Β·
1 Parent(s): 29d151e

Upload folder using huggingface_hub

Browse files
.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-4-mini-reasoning-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
37
+ Phi-4-mini-reasoning-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
38
+ Phi-4-mini-reasoning-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
39
+ Phi-4-mini-reasoning-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
40
+ Phi-4-mini-reasoning-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
41
+ Phi-4-mini-reasoning-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
42
+ Phi-4-mini-reasoning-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
43
+ Phi-4-mini-reasoning-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
44
+ Phi-4-mini-reasoning-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
45
+ Phi-4-mini-reasoning-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
46
+ Phi-4-mini-reasoning-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
47
+ Phi-4-mini-reasoning-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
Phi-4-mini-reasoning-Q2_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3680f3c9e668dfe7a5c12080a62b867b92a31f55455ce80617d37ed0b68f7f0d
3
+ size 1682636064
Phi-4-mini-reasoning-Q3_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b6d6e73bda2aafc48de456a2f69c2ce2ec41fbc5942e5a2ccecd4eb12f1900dd
3
+ size 2249653536
Phi-4-mini-reasoning-Q3_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:08679e45d8e786b7c3a696a9ce21616d8e667d14b35a2c9f324aa92aa07bb286
3
+ size 2117532960
Phi-4-mini-reasoning-Q3_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eef02511753a9542d1373e6e2b64755d77b5a3777a2451bfa853cebf756e8631
3
+ size 1897332000
Phi-4-mini-reasoning-Q4_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:57ee9d18d2d757ae7fe7f2f89745acab7fbaa5fce9dcff046bef52c9d99df8d0
3
+ size 2325151008
Phi-4-mini-reasoning-Q4_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cfbadd9555ca259f20804122c5f4822944f3365c5f39ffa6dc6e2b4dd9f23733
3
+ size 2491874592
Phi-4-mini-reasoning-Q4_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:acfbf870ad1fee58fbae39ab779c6e49d8c921d03a2f760c114e1da6c7638667
3
+ size 2337733920
Phi-4-mini-reasoning-Q5_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e4184418b8df0e1035b05bad9950db37c7614de57d34eddcb6b41d3755853a35
3
+ size 2727804192
Phi-4-mini-reasoning-Q5_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1f01f19d2d274fb1330c4b26277f028eee79773f95c04b0129b7fa439cd9681e
3
+ size 2848128288
Phi-4-mini-reasoning-Q5_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:93b1caeb51fd3c7b66aab5c1e871b040192aae4120a30b6e1bd600a1fa9f85ab
3
+ size 2727804192
Phi-4-mini-reasoning-Q6_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b081e1e087bb1526d71716d734b9a54d9c7bead93aef63660b8aa2e0b8ceec8
3
+ size 3155623200
Phi-4-mini-reasoning-Q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ea7967d47f6c2a77f42598134339c47b8e694afac7731a6bcaf4c11b6c19619d
3
+ size 4084611360
README.md ADDED
@@ -0,0 +1,156 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ library_name: transformers
5
+ license: mit
6
+ license_link: https://huggingface.co/microsoft/Phi-4-mini-instruct-reasoning/resolve/main/LICENSE
7
+ pipeline_tag: text-generation
8
+ tags:
9
+ - nlp
10
+ - math
11
+ - code
12
+ - TensorBlock
13
+ - GGUF
14
+ widget:
15
+ - messages:
16
+ - role: user
17
+ content: How to solve 3*x^2+4*x+5=1?
18
+ base_model: microsoft/Phi-4-mini-reasoning
19
+ ---
20
+
21
+ <div style="width: auto; margin-left: auto; margin-right: auto">
22
+ <img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
23
+ </div>
24
+
25
+ [![Website](https://img.shields.io/badge/Website-tensorblock.co-blue?logo=google-chrome&logoColor=white)](https://tensorblock.co)
26
+ [![Twitter](https://img.shields.io/twitter/follow/tensorblock_aoi?style=social)](https://twitter.com/tensorblock_aoi)
27
+ [![Discord](https://img.shields.io/badge/Discord-Join%20Us-5865F2?logo=discord&logoColor=white)](https://discord.gg/Ej5NmeHFf2)
28
+ [![GitHub](https://img.shields.io/badge/GitHub-TensorBlock-black?logo=github&logoColor=white)](https://github.com/TensorBlock)
29
+ [![Telegram](https://img.shields.io/badge/Telegram-Group-blue?logo=telegram)](https://t.me/TensorBlock)
30
+
31
+
32
+ ## microsoft/Phi-4-mini-reasoning - GGUF
33
+
34
+ <div style="text-align: left; margin: 20px 0;">
35
+ <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;">
36
+ Join our Discord to learn more about what we're building β†—
37
+ </a>
38
+ </div>
39
+
40
+ This repo contains GGUF format model files for [microsoft/Phi-4-mini-reasoning](https://huggingface.co/microsoft/Phi-4-mini-reasoning).
41
+
42
+ 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).
43
+
44
+ ## Our projects
45
+ <table border="1" cellspacing="0" cellpadding="10">
46
+ <tr>
47
+ <th colspan="2" style="font-size: 25px;">Forge</th>
48
+ </tr>
49
+ <tr>
50
+ <th colspan="2">
51
+ <img src="https://imgur.com/faI5UKh.jpeg" alt="Forge Project" width="900"/>
52
+ </th>
53
+ </tr>
54
+ <tr>
55
+ <th colspan="2">An OpenAI-compatible multi-provider routing layer.</th>
56
+ </tr>
57
+ <tr>
58
+ <th colspan="2">
59
+ <a href="https://github.com/TensorBlock/forge" target="_blank" style="
60
+ display: inline-block;
61
+ padding: 8px 16px;
62
+ background-color: #FF7F50;
63
+ color: white;
64
+ text-decoration: none;
65
+ border-radius: 6px;
66
+ font-weight: bold;
67
+ font-family: sans-serif;
68
+ ">πŸš€ Try it now! πŸš€</a>
69
+ </th>
70
+ </tr>
71
+
72
+ <tr>
73
+ <th style="font-size: 25px;">Awesome MCP Servers</th>
74
+ <th style="font-size: 25px;">TensorBlock Studio</th>
75
+ </tr>
76
+ <tr>
77
+ <th><img src="https://imgur.com/2Xov7B7.jpeg" alt="MCP Servers" width="450"/></th>
78
+ <th><img src="https://imgur.com/pJcmF5u.jpeg" alt="Studio" width="450"/></th>
79
+ </tr>
80
+ <tr>
81
+ <th>A comprehensive collection of Model Context Protocol (MCP) servers.</th>
82
+ <th>A lightweight, open, and extensible multi-LLM interaction studio.</th>
83
+ </tr>
84
+ <tr>
85
+ <th>
86
+ <a href="https://github.com/TensorBlock/awesome-mcp-servers" target="_blank" style="
87
+ display: inline-block;
88
+ padding: 8px 16px;
89
+ background-color: #FF7F50;
90
+ color: white;
91
+ text-decoration: none;
92
+ border-radius: 6px;
93
+ font-weight: bold;
94
+ font-family: sans-serif;
95
+ ">πŸ‘€ See what we built πŸ‘€</a>
96
+ </th>
97
+ <th>
98
+ <a href="https://github.com/TensorBlock/TensorBlock-Studio" target="_blank" style="
99
+ display: inline-block;
100
+ padding: 8px 16px;
101
+ background-color: #FF7F50;
102
+ color: white;
103
+ text-decoration: none;
104
+ border-radius: 6px;
105
+ font-weight: bold;
106
+ font-family: sans-serif;
107
+ ">πŸ‘€ See what we built πŸ‘€</a>
108
+ </th>
109
+ </tr>
110
+ </table>
111
+
112
+ ## Prompt template
113
+
114
+ ```
115
+ <|system|>Your name is Phi, an AI math expert developed by Microsoft. {system_prompt}<|end|><|user|>{prompt}<|end|><|assistant|>
116
+ ```
117
+
118
+ ## Model file specification
119
+
120
+ | Filename | Quant type | File Size | Description |
121
+ | -------- | ---------- | --------- | ----------- |
122
+ | [Phi-4-mini-reasoning-Q2_K.gguf](https://huggingface.co/tensorblock/microsoft_Phi-4-mini-reasoning-GGUF/blob/main/Phi-4-mini-reasoning-Q2_K.gguf) | Q2_K | 1.683 GB | smallest, significant quality loss - not recommended for most purposes |
123
+ | [Phi-4-mini-reasoning-Q3_K_S.gguf](https://huggingface.co/tensorblock/microsoft_Phi-4-mini-reasoning-GGUF/blob/main/Phi-4-mini-reasoning-Q3_K_S.gguf) | Q3_K_S | 1.897 GB | very small, high quality loss |
124
+ | [Phi-4-mini-reasoning-Q3_K_M.gguf](https://huggingface.co/tensorblock/microsoft_Phi-4-mini-reasoning-GGUF/blob/main/Phi-4-mini-reasoning-Q3_K_M.gguf) | Q3_K_M | 2.118 GB | very small, high quality loss |
125
+ | [Phi-4-mini-reasoning-Q3_K_L.gguf](https://huggingface.co/tensorblock/microsoft_Phi-4-mini-reasoning-GGUF/blob/main/Phi-4-mini-reasoning-Q3_K_L.gguf) | Q3_K_L | 2.250 GB | small, substantial quality loss |
126
+ | [Phi-4-mini-reasoning-Q4_0.gguf](https://huggingface.co/tensorblock/microsoft_Phi-4-mini-reasoning-GGUF/blob/main/Phi-4-mini-reasoning-Q4_0.gguf) | Q4_0 | 2.325 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
127
+ | [Phi-4-mini-reasoning-Q4_K_S.gguf](https://huggingface.co/tensorblock/microsoft_Phi-4-mini-reasoning-GGUF/blob/main/Phi-4-mini-reasoning-Q4_K_S.gguf) | Q4_K_S | 2.338 GB | small, greater quality loss |
128
+ | [Phi-4-mini-reasoning-Q4_K_M.gguf](https://huggingface.co/tensorblock/microsoft_Phi-4-mini-reasoning-GGUF/blob/main/Phi-4-mini-reasoning-Q4_K_M.gguf) | Q4_K_M | 2.492 GB | medium, balanced quality - recommended |
129
+ | [Phi-4-mini-reasoning-Q5_0.gguf](https://huggingface.co/tensorblock/microsoft_Phi-4-mini-reasoning-GGUF/blob/main/Phi-4-mini-reasoning-Q5_0.gguf) | Q5_0 | 2.728 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
130
+ | [Phi-4-mini-reasoning-Q5_K_S.gguf](https://huggingface.co/tensorblock/microsoft_Phi-4-mini-reasoning-GGUF/blob/main/Phi-4-mini-reasoning-Q5_K_S.gguf) | Q5_K_S | 2.728 GB | large, low quality loss - recommended |
131
+ | [Phi-4-mini-reasoning-Q5_K_M.gguf](https://huggingface.co/tensorblock/microsoft_Phi-4-mini-reasoning-GGUF/blob/main/Phi-4-mini-reasoning-Q5_K_M.gguf) | Q5_K_M | 2.848 GB | large, very low quality loss - recommended |
132
+ | [Phi-4-mini-reasoning-Q6_K.gguf](https://huggingface.co/tensorblock/microsoft_Phi-4-mini-reasoning-GGUF/blob/main/Phi-4-mini-reasoning-Q6_K.gguf) | Q6_K | 3.156 GB | very large, extremely low quality loss |
133
+ | [Phi-4-mini-reasoning-Q8_0.gguf](https://huggingface.co/tensorblock/microsoft_Phi-4-mini-reasoning-GGUF/blob/main/Phi-4-mini-reasoning-Q8_0.gguf) | Q8_0 | 4.085 GB | very large, extremely low quality loss - not recommended |
134
+
135
+
136
+ ## Downloading instruction
137
+
138
+ ### Command line
139
+
140
+ Firstly, install Huggingface Client
141
+
142
+ ```shell
143
+ pip install -U "huggingface_hub[cli]"
144
+ ```
145
+
146
+ Then, downoad the individual model file the a local directory
147
+
148
+ ```shell
149
+ huggingface-cli download tensorblock/microsoft_Phi-4-mini-reasoning-GGUF --include "Phi-4-mini-reasoning-Q2_K.gguf" --local-dir MY_LOCAL_DIR
150
+ ```
151
+
152
+ If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
153
+
154
+ ```shell
155
+ huggingface-cli download tensorblock/microsoft_Phi-4-mini-reasoning-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
156
+ ```