alt.freeweights.phi / Phi-4-mini-instruct-4bit
From: mlx-community <huggingface.co/mlx-community>Newsgroups: alt.freeweights.phiSubject:

Phi-4-mini-instruct-4bit

Date: 2026-11-15Commit: ac1c269Signed: 2DC28CC7B26A283B ✓

Text generation model with 3.8B parameters. Safetensors weights, 2.18 GB in all. Published by mlx-community under MIT.

3.8B params2.18GBPhi-4-mini-instruct-4bitsafetensorspermissive
FactsParams3.8BSize2.18 GBFormatssafetensorsTasktext generationLicenseMITFrom sourcepermissive
$ fw get mlx-community/Phi-4-mini-instruct-4bit
# manifest sha256 40bb318e8441… · 2.18 GB · 14 files
$ fw verify ./Phi-4-mini-instruct-4bit mlx-community/Phi-4-mini-instruct-4bit
From sourceHosted (signed)mlx-community/Phi-4-mini-instruct-4bitLast check: 2026-11-15 04:57 UTC

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

Quantized of Phi-4-mini-instruct.

Works with

Overview

Size
2.18 GB
Weights
2.16 GB (safetensors)
Parameters
3.8B
Formats
safetensors
Task
text generation
License
MIT (permissive)
Files
14, each with a sha256
Publisher
mlx-community
Added
2026-11-15
Section
alt.freeweights.phi
Lineage

Original release from the publisher.

Base model: microsoft/Phi-4-mini-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:57 UTCpassed

Model card

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

pcuenq/Phi-4-mini-instruct-Q4-mlx#

The Model pcuenq/Phi-4-mini-instruct-Q4-mlx was converted to MLX format from microsoft/Phi-4-mini-instruct using mlx-lm version 0.21.5.

Use with mlx#

pip install mlx-lm
from mlx_lm import load, generate

model, tokenizer = load("pcuenq/Phi-4-mini-instruct-Q4-mlx")

prompt="hello"

if hasattr(tokenizer, "apply_chat_template") and tokenizer.chat_template is not None:
    messages = [{"role": "user", "content": prompt}]
    prompt = tokenizer.apply_chat_template(
        messages, tokenize=False, add_generation_prompt=True
    )

response = generate(model, tokenizer, prompt=prompt, verbose=True)

Files

14 files · 2.18 GBWeights 2.16 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 14 files with their sha256
FileSizesha256
.gitattributes1.57 KB34448b82c17d60fec9b65b1f093c115ddbaadc04beb1b0140b6bfed2e012a930
README.md1.18 KB712f2599b4ce2fe8515382b4d8131112083f106a34f09419776979fc78126ca5
added_tokens.json249 Bd4f2aceb0f20b71dd1f4bcc7e052e4412946bf281840b8f83d39f259571af486
config.json3.30 KB431eafdf55dc6d4a76dc3e9f22b0d06eac42d9ac6dc7cbd7ff8ca1e38f18cdb1
configuration_phi3.py10.9 KBec2044b77d0b8111640ac134daa3af1f40dc552a739f8959626e7e58ea3352df
merges.txt2.42 MB856ce61180bb689282eed6b3a6838bb1f438399be23aefe9d20eb379791fb4ad
model.safetensors2.16 GB9dcfcdc0a579494283f2d2317ad686123782ce461d1111690ede7c904ff3f87b
model.safetensors.index.json32.6 KB958e2e0939857e9fb398e9e3d5344a84e345b00da2e4e7c396024d6a91bc1ab7
modeling_phi3.py54.3 KBd5fd551a7fe759b1d25e5b16b5012aa98b9b8bd400d26c7ee69c0090a245d6cd
sample_finetune.py6.17 KB50e6468a9b17566703fad95fa4ae7372fd4af1936e551f53bab0aa8b28e62cf5
special_tokens_map.json587 Baff38493227d813e29fcf8406e8e90062f1f031aa47d589325e9c31d89ac7cc3
tokenizer.json15.5 MB382cc235b56c725945e149cc25f191da667c836655efd0857b004320e90e91ea
tokenizer_config.json2.96 KB76c79ba1828e98a574123dd5de047587219ed8c1ab20702d340bc10a7a32b6bd
vocab.json3.91 MB6cb65a857824fa6615bb1782d95d882617a8bbce1da0317118586b36f39e98bd
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
ac1c269cb4 pinned now2026-11-15 04:57 UTC14 files · 2.18 GB

Use it

$ fw get mlx-community/Phi-4-mini-instruct-4bit
# manifest sha256 40bb318e8441… · 2.18 GB · 14 files
$ fw verify ./Phi-4-mini-instruct-4bit mlx-community/Phi-4-mini-instruct-4bit
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/mlx-community/Phi-4-mini-instruct-4bit.json --dir ./Phi-4-mini-instruct-4bit $ python3 fw.py verify ./Phi-4-mini-instruct-4bit ./mlx-community__Phi-4-mini-instruct-4bit.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download mlx-community/Phi-4-mini-instruct-4bit --revision ac1c269cb4222a4e136a3d09edad301056c1f36a --local-dir ./Phi-4-mini-instruct-4bit
transformersLoad the weights in Python.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from transformers import AutoModelForCausalLM, AutoTokenizer tok = AutoTokenizer.from_pretrained("mlx-community/Phi-4-mini-instruct-4bit", revision="ac1c269cb4222a4e136a3d09edad301056c1f36a") model = AutoModelForCausalLM.from_pretrained("mlx-community/Phi-4-mini-instruct-4bit", revision="ac1c269cb4222a4e136a3d09edad301056c1f36a", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve mlx-community/Phi-4-mini-instruct-4bit --revision ac1c269cb4222a4e136a3d09edad301056c1f36a

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
712f2599b4ce2fe8515382b4d8131112083f106a34f09419776979fc78126ca5
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: mlx-community <huggingface.co/mlx-community>Newsgroups: alt.freeweights.phiSubject: Phi-4-mini-instruct-4bitDate: 2026-11-15Commit: ac1c269Signed: 2DC28CC7B26A283B ✓
Upstream
mlx-community/Phi-4-mini-instruct-4bit
Pinned commit
ac1c269cb4222a4e136a3d09edad301056c1f36a
Manifest
Phi-4-mini-instruct-4bit.json · .minisig
Manifest sha256
40bb318e8441ce11b8b0f0721485ebea3c1ec0f6f2eec6e728cac76a1eacc358
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 04:57 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/mlx-community/Phi-4-mini-instruct-4bit.json $ curl -O https://freeweights.allternit.com/manifests/mlx-community/Phi-4-mini-instruct-4bit.json.minisig $ minisign -Vm Phi-4-mini-instruct-4bit.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-4-mini-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 mlx-community/Phi-4-mini-instruct-4bit
Open in Freeweights Studio

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

Signed manifest
minisign, key 2DC28CC7B26A283B. Phi-4-mini-instruct-4bit.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