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

Phi-3.1-mini-4k-instruct-GGUF

Date: 2026-11-15Commit: 7b8efa4Signed: 2DC28CC7B26A283B ✓

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

phi18.4GBPhi-3.1-mini-4k-instruct-GGUFggufpermissive
FactsParamsnot statedSize18.4 GBFormatsggufTasktext generationLicenseMITFrom sourcepermissive
$ fw get lmstudio-community/Phi-3.1-mini-4k-instruct-GGUF
# manifest sha256 6a12512ce985… · 18.4 GB · 9 files
$ fw verify ./Phi-3.1-mini-4k-instruct-GGUF lmstudio-community/Phi-3.1-mini-4k-instruct-GGUF
From sourceHosted (signed)lmstudio-community/Phi-3.1-mini-4k-instruct-GGUFLast check: 2026-11-15 05:03 UTC

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

Quantized of Phi-3-mini-4k-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-4k-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:03 UTCpassed

Model card

From the publisher at commit 7b8efa4. Shown as plain text with links; images open at the publisher.

💫 Community Model> Phi-3.1 mini 4k 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-4k-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: 4K tokens

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
.gitattributes3.41 KB12e4ab66993ac233d5ba717e866b74753eb0c034f5c052cd8f85565c7d08f510
Phi-3.1-mini-4k-instruct-IQ3_M.gguf1.86 GB37d43807d96a0866d6e3a74d54ea34bb5363c2597acd6c32805c84b5236934e5
Phi-3.1-mini-4k-instruct-IQ4_XS.gguf2.06 GB2e5c2cddeabe4c29aa68a2cbda2ecf5abe52645bc4a06c8f77488ecbb1fd4c1a
Phi-3.1-mini-4k-instruct-Q3_K_L.gguf2.09 GBdf590d9557361d473a8acb0b9d53afafd4f70b496b64c3c471d3b34997ce2833
Phi-3.1-mini-4k-instruct-Q4_K_M.gguf2.39 GBd6d25bf078321bea4a079c727b273cb0b5a2e0b4cf3add0f7a2c8e43075c414f
Phi-3.1-mini-4k-instruct-Q5_K_M.gguf2.82 GB9e6b40db29b0f6d17fe2969a85e6079a8e8f28f1ab549dbb9b3c52dad8189319
Phi-3.1-mini-4k-instruct-Q6_K.gguf3.14 GB33b039925724d156dd62bb0fdd2719b7b6fa9d71e1a56796c8f41bd7d122162d
Phi-3.1-mini-4k-instruct-Q8_0.gguf4.06 GBec1d9f9bd11ff1b360df7f3d92b11612dfe0dbe7ae66eff9c6f334a22da32952
README.md5.05 KB0463e9f5451b5097f0b70b165176096b3bffe66ee06151e124a5c0f8b91be4aa
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
7b8efa410c pinned now2026-11-15 05:03 UTC9 files · 18.4 GB

Use it

$ fw get lmstudio-community/Phi-3.1-mini-4k-instruct-GGUF
# manifest sha256 6a12512ce985… · 18.4 GB · 9 files
$ fw verify ./Phi-3.1-mini-4k-instruct-GGUF lmstudio-community/Phi-3.1-mini-4k-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-4k-instruct-GGUF.json --dir ./Phi-3.1-mini-4k-instruct-GGUF $ python3 fw.py verify ./Phi-3.1-mini-4k-instruct-GGUF ./lmstudio-community__Phi-3.1-mini-4k-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-4k-instruct-GGUF --revision 7b8efa410c799e3254c1f1e2d71a49e7a985732e --local-dir ./Phi-3.1-mini-4k-instruct-GGUF
llama.cppDownload one GGUF variant (Phi-3.1-mini-4k-instruct-IQ3_M, 1.86 GB), then serve it.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download lmstudio-community/Phi-3.1-mini-4k-instruct-GGUF --include "Phi-3.1-mini-4k-instruct-IQ3_M*" --local-dir ./Phi-3.1-mini-4k-instruct-GGUF $ llama-server -m ./Phi-3.1-mini-4k-instruct-GGUF/Phi-3.1-mini-4k-instruct-IQ3_M.gguf
OllamaMake an Ollama model from the downloaded file.
$ printf 'FROM ./Phi-3.1-mini-4k-instruct-GGUF/Phi-3.1-mini-4k-instruct-IQ3_M.gguf\n' > Modelfile $ ollama create phi-3.1-mini-4k-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
0463e9f5451b5097f0b70b165176096b3bffe66ee06151e124a5c0f8b91be4aa
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-4k-instruct-GGUFDate: 2026-11-15Commit: 7b8efa4Signed: 2DC28CC7B26A283B ✓
Upstream
lmstudio-community/Phi-3.1-mini-4k-instruct-GGUF
Pinned commit
7b8efa410c799e3254c1f1e2d71a49e7a985732e
Manifest
Phi-3.1-mini-4k-instruct-GGUF.json · .minisig
Manifest sha256
6a12512ce985ef976415cae8b44fe321cfb175c7ab887f2449421966e23f3e70
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 05:03 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-4k-instruct-GGUF.json $ curl -O https://freeweights.allternit.com/manifests/lmstudio-community/Phi-3.1-mini-4k-instruct-GGUF.json.minisig $ minisign -Vm Phi-3.1-mini-4k-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-4k-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-4k-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-4k-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