alt.freeweights.phi / Phi-3.1-mini-128k-instruct-GGUF
From: bartowski <huggingface.co/bartowski>Newsgroups: alt.freeweights.phiSubject:

Phi-3.1-mini-128k-instruct-GGUF

Date: 2026-11-15Commit: 32f6acfSigned: 2DC28CC7B26A283B ✓

Text generation model. Gguf weights, 62.6 GB in all. Published by bartowski under MIT.

phi62.6GBPhi-3.1-mini-128k-instruct-GGUFggufpermissive
FactsParamsnot statedSize62.6 GBFormatsggufTasktext generationLicenseMITFrom sourcepermissive
$ fw get bartowski/Phi-3.1-mini-128k-instruct-GGUF
# manifest sha256 d07514773908… · 62.6 GB · 26 files
$ fw verify ./Phi-3.1-mini-128k-instruct-GGUF bartowski/Phi-3.1-mini-128k-instruct-GGUF
From sourceHosted (signed)bartowski/Phi-3.1-mini-128k-instruct-GGUFLast check: 2026-11-15 04:49 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Quantized of Phi-3-mini-128k-instruct.

Works with

Convert with

Overview

Size
62.6 GB
Weights
1.15 GB (smallest of 23 GGUF variants)
Parameters
not stated
Formats
gguf
Task
text generation
License
MIT (permissive)
Files
26, each with a sha256
Publisher
bartowski
Added
2026-11-15
Section
alt.freeweights.phi
Lineage

Original release from the publisher.

Base model: microsoft/Phi-3-mini-128k-instruct

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 04:49 UTCpassed

Model card

From the publisher at commit 32f6acf. Shown as plain text with links; images open at the publisher.

Llamacpp imatrix Quantizations of Phi-3.1-mini-128k-instruct#

Using llama.cpp release b3460 for quantization.

Original model: https://huggingface.co/microsoft/Phi-3-mini-128k-instruct

All quants made using imatrix option with dataset from here

Run them in LM Studio

Torrent files#

https://aitorrent.zerroug.de/bartowski-phi-3-1-mini-128k-instruct-gguf-torrent/

Prompt format#

<|system|> {system_prompt}<|end|><|user|> {prompt}<|end|><|assistant|>

Download a file (not the whole branch) from below:#

FilenameQuant typeFile SizeSplitDescription
Phi-3.1-mini-128k-instruct-f32.gguff3215.29GBfalseFull F32 weights.
Phi-3.1-mini-128k-instruct-Q8_0.ggufQ8_04.06GBfalseExtremely high quality, generally unneeded but max available quant.
Phi-3.1-mini-128k-instruct-Q6_K_L.ggufQ6_K_L3.18GBfalseUses Q8_0 for embed and output weights. Very high quality, near perfect, recommended.
Phi-3.1-mini-128k-instruct-Q6_K.ggufQ6_K3.14GBfalseVery high quality, near perfect, recommended.
Phi-3.1-mini-128k-instruct-Q5_K_L.ggufQ5_K_L2.88GBfalseUses Q8_0 for embed and output weights. High quality, recommended.
Phi-3.1-mini-128k-instruct-Q5_K_M.ggufQ5_K_M2.82GBfalseHigh quality, recommended.
Phi-3.1-mini-128k-instruct-Q5_K_S.ggufQ5_K_S2.64GBfalseHigh quality, recommended.
Phi-3.1-mini-128k-instruct-Q4_K_L.ggufQ4_K_L2.47GBfalseUses Q8_0 for embed and output weights. Good quality, recommended.
Phi-3.1-mini-128k-instruct-Q4_K_M.ggufQ4_K_M2.39GBfalseGood quality, default size for must use cases, recommended.
Phi-3.1-mini-128k-instruct-Q4_K_S.ggufQ4_K_S2.19GBfalseSlightly lower quality with more space savings, recommended.
Phi-3.1-mini-128k-instruct-Q3_K_XL.ggufQ3_K_XL2.17GBfalseUses Q8_0 for embed and output weights. Lower quality but usable, good for low RAM availability.
Phi-3.1-mini-128k-instruct-Q3_K_L.ggufQ3_K_L2.09GBfalseLower quality but usable, good for low RAM availability.
Phi-3.1-mini-128k-instruct-IQ4_XS.ggufIQ4_XS2.06GBfalseDecent quality, smaller than Q4_K_S with similar performance, recommended.
Phi-3.1-mini-128k-instruct-Q3_K_M.ggufQ3_K_M1.96GBfalseLow quality.
Phi-3.1-mini-128k-instruct-IQ3_M.ggufIQ3_M1.86GBfalseMedium-low quality, new method with decent performance comparable to Q3_K_M.
Phi-3.1-mini-128k-instruct-Q3_K_S.ggufQ3_K_S1.68GBfalseLow quality, not recommended.
Phi-3.1-mini-128k-instruct-IQ3_XS.ggufIQ3_XS1.63GBfalseLower quality, new method with decent performance, slightly better than Q3_K_S.
Phi-3.1-mini-128k-instruct-Q2_K_L.ggufQ2_K_L1.51GBfalseUses Q8_0 for embed and output weights. Very low quality but surprisingly usable.
Phi-3.1-mini-128k-instruct-Q2_K.ggufQ2_K1.42GBfalseVery low quality but surprisingly usable.
Phi-3.1-mini-128k-instruct-IQ2_M.ggufIQ2_M1.32GBfalseRelatively low quality, uses SOTA techniques to be surprisingly usable.

Credits#

Thank you kalomaze and Dampf for assistance in creating the imatrix calibration dataset

Thank you ZeroWw for the inspiration to experiment with embed/output

Downloading using huggingface-cli#

First, make sure you have hugginface-cli installed:

pip install -U "huggingface_hub[cli]"

Then, you can target the specific file you want:

huggingface-cli download bartowski/Phi-3.1-mini-128k-instruct-GGUF --include "Phi-3.1-mini-128k-instruct-Q4_K_M.gguf" --local-dir ./

If the model is bigger than 50GB, it will have been split into multiple files. In order to download them all to a local folder, run:

huggingface-cli download bartowski/Phi-3.1-mini-128k-instruct-GGUF --include "Phi-3.1-mini-128k-instruct-Q8_0.gguf/*" --local-dir Phi-3.1-mini-128k-instruct-Q8_0

You can either specify a new local-dir (Phi-3.1-mini-128k-instruct-Q8_0) or download them all in place (./)

Which file should I choose?#

A great write up with charts showing various performances is provided by Artefact2 here

The first thing to figure out is how big a model you can run. To do this, you'll need to figure out how much RAM and/or VRAM you have.

If you want your model running as FAST as possible, you'll want to fit the whole thing on your GPU's VRAM. Aim for a quant with a file size 1-2GB smaller than your GPU's total VRAM.

If you want the absolute maximum quality, add both your system RAM and your GPU's VRAM together, then similarly grab a quant with a file size 1-2GB Smaller than that total.

Next, you'll need to decide if you want to use an 'I-quant' or a 'K-quant'.

If you don't want to think too much, grab one of the K-quants. These are in format 'QX_K_X', like Q5_K_M.

If you want to get more into the weeds, you can check out this extremely useful feature chart:

llama.cpp feature matrix

But basically, if you're aiming for below Q4, and you're running cuBLAS (Nvidia) or rocBLAS (AMD), you should look towards the I-quants. These are in format IQX_X, like IQ3_M. These are newer and offer better performance for their size.

These I-quants can also be used on CPU and Apple Metal, but will be slower than their K-quant equivalent, so speed vs performance is a tradeoff you'll have to decide.

The I-quants are not compatible with Vulcan, which is also AMD, so if you have an AMD card double check if you're using the rocBLAS build or the Vulcan build. At the time of writing this, LM Studio has a preview with ROCm support, and other inference engines have specific builds for ROCm.

Want to support my work? Visit my ko-fi page here: https://ko-fi.com/bartowski

Files

26 files · 62.6 GBWeights 1.15 GB (smallest of 23 GGUF variants). Sizes and sha256 from the signed manifest.
Show all 26 files with their sha256
FileSizesha256
.gitattributes3.31 KB8412750b37a14343626ef4bb4d2361f9661f3f8dbb2cbb6418408ae94ab3b1de
Phi-3.1-mini-128k-instruct-IQ2_M.gguf1.32 GBb1407d7f093bbeaf8eded7af7e227b10034b010d00c27a7e5b97a694b45e56b2
Phi-3.1-mini-128k-instruct-IQ2_S.gguf1.22 GB824dfb8f3a7a14691270b6b0dbef07b6741e56575e5d26a56884227fadf2cd7c
Phi-3.1-mini-128k-instruct-IQ2_XS.gguf1.15 GB934658cd46f2d4aa21cbf696c44dc411abb0446af297e9f345a3fadd61cc790e
Phi-3.1-mini-128k-instruct-IQ3_M.gguf1.86 GB17f6111be353fb682cd8d06debf47ff50e77bce5fea376eca2f5847d2c36e357
Phi-3.1-mini-128k-instruct-IQ3_XS.gguf1.63 GB28b8c3c203247b2212fffff2955bc68b9c39a7839fa3cccb6059f9c2eaab55f2
Phi-3.1-mini-128k-instruct-IQ3_XXS.gguf1.51 GB06c79483ef7d56260507c2b1a08cda7ad597f9c2feb417b9c5114ad85e81a6ce
Phi-3.1-mini-128k-instruct-IQ4_XS.gguf2.06 GB8261ac060034230a22c37e7387b15a45ead5043e6cc2f3fcf30eb960ade19054
Phi-3.1-mini-128k-instruct-Q2_K.gguf1.42 GBd88b3a8acb5a9ee21dfe478c6a0bde930d345ba88019e65b33919d66c7cc1896
Phi-3.1-mini-128k-instruct-Q2_K_L.gguf1.51 GB896ba3e143c93596e3a6cf3c683b29615e347e926642bb5822e47522c92f6df9
Phi-3.1-mini-128k-instruct-Q3_K_L.gguf2.09 GB9f0df14d5474a0e71648d950efc048582b7c708becdd960754314b81af23b594
Phi-3.1-mini-128k-instruct-Q3_K_M.gguf1.96 GBbab2297454aa8fcba377a7276265a90d5b8dbf5b8829cb92bf63532d59f9e868
Phi-3.1-mini-128k-instruct-Q3_K_S.gguf1.68 GB5a8fc6713200b25acb4462180ca3a2ab61fab3050354c11f91504eee026741e4
Phi-3.1-mini-128k-instruct-Q3_K_XL.gguf2.17 GBb639701381d83d5af4832f373644d4fce504283e0028e7756e832a4c9aa53feb
Phi-3.1-mini-128k-instruct-Q4_K_L.gguf2.47 GB9683d38cd6667d06612ed7944bee98a8163fd1a80d0ef00f03e778385ae50999
Phi-3.1-mini-128k-instruct-Q4_K_M.gguf2.39 GBdde15f8155119acc4cab4ed4cdcfe2d511f713e4b3fc5c96047634dd626f6cc3
Phi-3.1-mini-128k-instruct-Q4_K_S.gguf2.19 GBb0de8ed95a4a780f6a5b9565e20b5728a52d17a0962d595836f97a965bb129c5
Phi-3.1-mini-128k-instruct-Q5_K_L.gguf2.88 GBa16a366b0e7cd4cb601631dd7034685b3b941dd66a813cc88032d92124b0ff9e
Phi-3.1-mini-128k-instruct-Q5_K_M.gguf2.82 GB0d76d7a58a4c9ac0f6d721ce53ff39a606814e2ee9f6d1c1529d0d7fc0ca8226
Phi-3.1-mini-128k-instruct-Q5_K_S.gguf2.64 GBa6eb6fdd2950a52dcdcdf692377ffa88184325b3e054c5690ba52fdecdfaf353
Phi-3.1-mini-128k-instruct-Q6_K.gguf3.14 GBa6613da53d5385540ce09ac184be5380fcde53c733373dfb62b584ba2263773f
Phi-3.1-mini-128k-instruct-Q6_K_L.gguf3.18 GB886f2b45aa522192fdee35a392876fcaf8a1fa1ef78f712f902caf1d1a7c1cd9
Phi-3.1-mini-128k-instruct-Q8_0.gguf4.06 GBdbee37becf96f3cb70f902c74dd7eda67fc9a6ee2f6defa370f8e9e038cd3a23
Phi-3.1-mini-128k-instruct-f32.gguf15.3 GBbbd4ceabf0b5964a2a658cdfd0692d006d20082d63bf6f07b4bacc5d53e12fab
Phi-3.1-mini-128k-instruct.imatrix2.23 MBe3307400ac9a19575c90f2d3a6b3da5583f2e968255e4d9a6b6efd493a1ea1dc
README.md8.88 KB36515dda18866e2e76d2c274740827aaaf50f29d1cf9e3f5bf658033c8ee10a3
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
32f6acf8f2 pinned now2026-11-15 04:49 UTC26 files · 62.6 GB

Use it

$ fw get bartowski/Phi-3.1-mini-128k-instruct-GGUF
# manifest sha256 d07514773908… · 62.6 GB · 26 files
$ fw verify ./Phi-3.1-mini-128k-instruct-GGUF bartowski/Phi-3.1-mini-128k-instruct-GGUF
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/bartowski/Phi-3.1-mini-128k-instruct-GGUF.json --dir ./Phi-3.1-mini-128k-instruct-GGUF $ python3 fw.py verify ./Phi-3.1-mini-128k-instruct-GGUF ./bartowski__Phi-3.1-mini-128k-instruct-GGUF.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download bartowski/Phi-3.1-mini-128k-instruct-GGUF --revision 32f6acf8f29d7293ef5a43718796aff2a719e44e --local-dir ./Phi-3.1-mini-128k-instruct-GGUF
llama.cppDownload one GGUF variant (Phi-3.1-mini-128k-instruct-IQ2_XS, 1.15 GB), then serve it.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download bartowski/Phi-3.1-mini-128k-instruct-GGUF --include "Phi-3.1-mini-128k-instruct-IQ2_XS*" --local-dir ./Phi-3.1-mini-128k-instruct-GGUF $ llama-server -m ./Phi-3.1-mini-128k-instruct-GGUF/Phi-3.1-mini-128k-instruct-IQ2_XS.gguf
OllamaMake an Ollama model from the downloaded file.
$ printf 'FROM ./Phi-3.1-mini-128k-instruct-GGUF/Phi-3.1-mini-128k-instruct-IQ2_XS.gguf\n' > Modelfile $ ollama create phi-3.1-mini-128k-instruct-gguf -f Modelfile

License

Name
MIT License
Id
MIT
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
36515dda18866e2e76d2c274740827aaaf50f29d1cf9e3f5bf658033c8ee10a3
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: bartowski <huggingface.co/bartowski>Newsgroups: alt.freeweights.phiSubject: Phi-3.1-mini-128k-instruct-GGUFDate: 2026-11-15Commit: 32f6acfSigned: 2DC28CC7B26A283B ✓
Upstream
bartowski/Phi-3.1-mini-128k-instruct-GGUF
Pinned commit
32f6acf8f29d7293ef5a43718796aff2a719e44e
Manifest
Phi-3.1-mini-128k-instruct-GGUF.json · .minisig
Manifest sha256
d07514773908070362876cc7eb6ce0b1ed941fbe3436860f16957e662b506360
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 04:49 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/bartowski/Phi-3.1-mini-128k-instruct-GGUF.json $ curl -O https://freeweights.allternit.com/manifests/bartowski/Phi-3.1-mini-128k-instruct-GGUF.json.minisig $ minisign -Vm Phi-3.1-mini-128k-instruct-GGUF.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

Parent

microsoft/Phi-3-mini-128k-instruct · this model is a quantization of it

No model in the catalog names this one as its parent.

Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download bartowski/Phi-3.1-mini-128k-instruct-GGUF
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. Phi-3.1-mini-128k-instruct-GGUF.json. Provenance. Takedown history: none.
From: BAAI <huggingface.co/BAAI>Subject: bunny-phi-2-siglip-lora
From: microsoft <huggingface.co/microsoft>Subject: MediPhi
From: microsoft <huggingface.co/microsoft>Subject: MediPhi-Clinical
From: microsoft <huggingface.co/microsoft>Subject: MediPhi-Guidelines
From: microsoft <huggingface.co/microsoft>Subject: MediPhi-Instruct
From: microsoft <huggingface.co/microsoft>Subject: MediPhi-MedCode