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

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

Date: 2026-11-15Commit: 6fb38f9Signed: 2DC28CC7B26A283B ✓

Text generation model. Gguf weights, 18.4 GB in all. Published by lmstudio-community under MIT.

phi18.4GBPhi-3.1-mini-128k-instruct-GGUFggufpermissive
FactsParamsnot statedSize18.4 GBFormatsggufTasktext generationLicenseMITFrom sourcepermissive
$ fw get lmstudio-community/Phi-3.1-mini-128k-instruct-GGUF
# manifest sha256 c7a1f5dfdf65… · 18.4 GB · 9 files
$ fw verify ./Phi-3.1-mini-128k-instruct-GGUF lmstudio-community/Phi-3.1-mini-128k-instruct-GGUF
From sourceHosted (signed)lmstudio-community/Phi-3.1-mini-128k-instruct-GGUFLast check: 2026-11-15 05:08 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
18.4 GB
Weights
1.86 GB (smallest of 7 GGUF variants)
Parameters
not stated
Formats
gguf
Task
text generation
License
MIT (permissive)
Files
9, each with a sha256
Publisher
lmstudio-community
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 05:08 UTCpassed

Model card

From the publisher at commit 6fb38f9. Shown as plain text with links; images open at the publisher.

💫 Community Model> Phi-3.1 mini 128k instruct by Microsoft#

👾 LM Studio Community models highlights program. Highlighting new & noteworthy models by the community. Join the conversation on Discord.

Model creator: Microsoft

Original model: Phi-3-mini-128k-instruct

GGUF quantization: provided by bartowski based on llama.cpp release b3460

Model Summary:#

Though the name was left as Phi-3 in Microsoft's release, this is NOT the same model as before! It features massive improvements across a range of benchmarks, so we've renamed it as Phi-3.1 for clarity.

This update used additional post-training data which improved instruction following, structuring output, multi-turn conversations, explicitly support <|system|> tag, and significantly improve reasoning capability.

This model is tuned with common sense, language understanding, math, code, long conteext, and logical reasoning as the primary focus.

Prompt template:#

Choose the Phi 3 preset in your LM Studio.

Under the hood, the model will see a prompt that's formatted like so:

<|system|>
You are a helpful AI assistant.<|end|>
<|user|>
{prompt}<|end|>
<|assistant|>

Technical Details#

Phi-3.1 Mini-4K-Instruct has 3.8B parameters and is a dense decoder-only Transformer model. The model is fine-tuned with Supervised fine-tuning (SFT) and Direct Preference Optimization (DPO) to ensure alignment with human preferences and safety guidlines.

Context length: 128K tokens through Microsoft's longrope technique

This model was trained on 3.3T tokens of data and is a combination:

  • publicly available documents that were filtered rigorously for quality, selected high-quality educational data, and code
  • Newly created synthetic, “textbook-like” data for the purpose of teaching math, coding, common sense reasoning, general knowledge of the world (science, daily activities, theory of mind, etc.)
  • High quality chat format supervised data covering various topics to reflect human preferences on different aspects such as instruct-following, truthfulness, honesty and helpfulness.

Phi 3.1 features additional tuning based on customer feedback, emphasizing instruction following, structure output, multi-turn conversation quality, explicitly support <|system|> tag, and significantly improve reasoning capability.

Find more details on the arXiv report here

Special thanks#

🙏 Special thanks to Georgi Gerganov and the whole team working on llama.cpp for making all of this possible.

🙏 Special thanks to Kalomaze for his dataset (linked here) that was used for calculating the imatrix for the IQ1_M and IQ2_XS quants, which makes them usable even at their tiny size!

Disclaimers#

LM Studio is not the creator, originator, or owner of any Model featured in the Community Model Program. Each Community Model is created and provided by third parties. LM Studio does not endorse, support, represent or guarantee the completeness, truthfulness, accuracy, or reliability of any Community Model. You understand that Community Models can produce content that might be offensive, harmful, inaccurate or otherwise inappropriate, or deceptive. Each Community Model is the sole responsibility of the person or entity who originated such Model. LM Studio may not monitor or control the Community Models and cannot, and does not, take responsibility for any such Model. LM Studio disclaims all warranties or guarantees about the accuracy, reliability or benefits of the Community Models. LM Studio further disclaims any warranty that the Community Model will meet your requirements, be secure, uninterrupted or available at any time or location, or error-free, viruses-free, or that any errors will be corrected, or otherwise. You will be solely responsible for any damage resulting from your use of or access to the Community Models, your downloading of any Community Model, or use of any other Community Model provided by or through LM Studio.

Files

9 files · 18.4 GBWeights 1.86 GB (smallest of 7 GGUF variants). Sizes and sha256 from the signed manifest.
Hide all 9 files with their sha256
FileSizesha256
.gitattributes2.04 KB4689b74f8c9a341a8b636c997a726b303c90b3c41807bcceb3d1777fdbfa7478
Phi-3.1-mini-128k-instruct-IQ3_M.gguf1.86 GB17f6111be353fb682cd8d06debf47ff50e77bce5fea376eca2f5847d2c36e357
Phi-3.1-mini-128k-instruct-IQ4_XS.gguf2.06 GB8261ac060034230a22c37e7387b15a45ead5043e6cc2f3fcf30eb960ade19054
Phi-3.1-mini-128k-instruct-Q3_K_L.gguf2.09 GB9f0df14d5474a0e71648d950efc048582b7c708becdd960754314b81af23b594
Phi-3.1-mini-128k-instruct-Q4_K_M.gguf2.39 GBdde15f8155119acc4cab4ed4cdcfe2d511f713e4b3fc5c96047634dd626f6cc3
Phi-3.1-mini-128k-instruct-Q5_K_M.gguf2.82 GB0d76d7a58a4c9ac0f6d721ce53ff39a606814e2ee9f6d1c1529d0d7fc0ca8226
Phi-3.1-mini-128k-instruct-Q6_K.gguf3.14 GBa6613da53d5385540ce09ac184be5380fcde53c733373dfb62b584ba2263773f
Phi-3.1-mini-128k-instruct-Q8_0.gguf4.06 GBdbee37becf96f3cb70f902c74dd7eda67fc9a6ee2f6defa370f8e9e038cd3a23
README.md5.10 KB9a4ac170132ca974c392d8e0e46fdc070ca63261b5c58430ded938a78e182732
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
6fb38f94bb pinned now2026-11-15 05:08 UTC9 files · 18.4 GB

Use it

$ fw get lmstudio-community/Phi-3.1-mini-128k-instruct-GGUF
# manifest sha256 c7a1f5dfdf65… · 18.4 GB · 9 files
$ fw verify ./Phi-3.1-mini-128k-instruct-GGUF lmstudio-community/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/lmstudio-community/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 ./lmstudio-community__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 lmstudio-community/Phi-3.1-mini-128k-instruct-GGUF --revision 6fb38f94bbd8e88338e0b965d056e0d780b5f8b7 --local-dir ./Phi-3.1-mini-128k-instruct-GGUF
llama.cppDownload one GGUF variant (Phi-3.1-mini-128k-instruct-IQ3_M, 1.86 GB), then serve it.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download lmstudio-community/Phi-3.1-mini-128k-instruct-GGUF --include "Phi-3.1-mini-128k-instruct-IQ3_M*" --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-IQ3_M.gguf
OllamaMake an Ollama model from the downloaded file.
$ printf 'FROM ./Phi-3.1-mini-128k-instruct-GGUF/Phi-3.1-mini-128k-instruct-IQ3_M.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
9a4ac170132ca974c392d8e0e46fdc070ca63261b5c58430ded938a78e182732
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: lmstudio-community <huggingface.co/lmstudio-community>Newsgroups: alt.freeweights.phiSubject: Phi-3.1-mini-128k-instruct-GGUFDate: 2026-11-15Commit: 6fb38f9Signed: 2DC28CC7B26A283B ✓
Upstream
lmstudio-community/Phi-3.1-mini-128k-instruct-GGUF
Pinned commit
6fb38f94bbd8e88338e0b965d056e0d780b5f8b7
Manifest
Phi-3.1-mini-128k-instruct-GGUF.json · .minisig
Manifest sha256
c7a1f5dfdf657ffd72e450b7ca25643108a1cb4ecd3af8f2695c2da970b9c4e1
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 05:08 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/lmstudio-community/Phi-3.1-mini-128k-instruct-GGUF.json $ curl -O https://freeweights.allternit.com/manifests/lmstudio-community/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 lmstudio-community/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