--- base_model: microsoft/phi-4 language: - en library_name: transformers license: mit license_link: https://huggingface.co./microsoft/phi-4/resolve/main/LICENSE quantized_by: mradermacher tags: - phi - nlp - math - code - chat - conversational --- ## About static quants of https://huggingface.co./microsoft/phi-4 weighted/imatrix quants are available at https://huggingface.co./mradermacher/phi-4-i1-GGUF ## Usage If you are unsure how to use GGUF files, refer to one of [TheBloke's READMEs](https://huggingface.co./TheBloke/KafkaLM-70B-German-V0.1-GGUF) for more details, including on how to concatenate multi-part files. ## Provided Quants (sorted by size, not necessarily quality. IQ-quants are often preferable over similar sized non-IQ quants) | Link | Type | Size/GB | Notes | |:-----|:-----|--------:|:------| | [GGUF](https://huggingface.co./mradermacher/phi-4-GGUF/resolve/main/phi-4.Q2_K.gguf) | Q2_K | 5.6 | | | [GGUF](https://huggingface.co./mradermacher/phi-4-GGUF/resolve/main/phi-4.Q3_K_S.gguf) | Q3_K_S | 6.6 | | | [GGUF](https://huggingface.co./mradermacher/phi-4-GGUF/resolve/main/phi-4.Q3_K_M.gguf) | Q3_K_M | 7.5 | lower quality | | [GGUF](https://huggingface.co./mradermacher/phi-4-GGUF/resolve/main/phi-4.Q3_K_L.gguf) | Q3_K_L | 8.0 | | | [GGUF](https://huggingface.co./mradermacher/phi-4-GGUF/resolve/main/phi-4.IQ4_XS.gguf) | IQ4_XS | 8.1 | | | [GGUF](https://huggingface.co./mradermacher/phi-4-GGUF/resolve/main/phi-4.Q4_K_S.gguf) | Q4_K_S | 8.5 | fast, recommended | | [GGUF](https://huggingface.co./mradermacher/phi-4-GGUF/resolve/main/phi-4.Q4_K_M.gguf) | Q4_K_M | 9.2 | fast, recommended | | [GGUF](https://huggingface.co./mradermacher/phi-4-GGUF/resolve/main/phi-4.Q5_K_S.gguf) | Q5_K_S | 10.3 | | | [GGUF](https://huggingface.co./mradermacher/phi-4-GGUF/resolve/main/phi-4.Q5_K_M.gguf) | Q5_K_M | 10.7 | | | [GGUF](https://huggingface.co./mradermacher/phi-4-GGUF/resolve/main/phi-4.Q6_K.gguf) | Q6_K | 12.1 | very good quality | | [GGUF](https://huggingface.co./mradermacher/phi-4-GGUF/resolve/main/phi-4.Q8_0.gguf) | Q8_0 | 15.7 | fast, best quality | Here is a handy graph by ikawrakow comparing some lower-quality quant types (lower is better): ![image.png](https://www.nethype.de/huggingface_embed/quantpplgraph.png) And here are Artefact2's thoughts on the matter: https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9 ## FAQ / Model Request See https://huggingface.co./mradermacher/model_requests for some answers to questions you might have and/or if you want some other model quantized. ## Thanks I thank my company, [nethype GmbH](https://www.nethype.de/), for letting me use its servers and providing upgrades to my workstation to enable this work in my free time.