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

phi-4-4bit

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

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

14.7B params8.26GBphi-4-4bitsafetensorspermissive
FactsParams14.7BSize8.26 GBFormatssafetensorsTasktext generationLicenseMITFrom sourcepermissive
$ fw get mlx-community/phi-4-4bit
# manifest sha256 e8114498d6b0… · 8.26 GB · 11 files
$ fw verify ./phi-4-4bit mlx-community/phi-4-4bit
From sourceHosted (signed)mlx-community/phi-4-4bitLast check: 2026-11-15 05:04 UTC

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

Quantized of phi-4.

Works with

Overview

Size
8.26 GB
Weights
8.25 GB (safetensors)
Parameters
14.7B
Formats
safetensors
Task
text generation
License
MIT (permissive)
Files
11, 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

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:04 UTCpassed

Model card

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

mlx-community/phi-4-4bit#

The Model mlx-community/phi-4-4bit was converted to MLX format from microsoft/phi-4 using mlx-lm version 0.21.0.

Use with mlx#

pip install mlx-lm
from mlx_lm import load, generate

model, tokenizer = load("mlx-community/phi-4-4bit")

prompt = "hello"

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

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

Files

11 files · 8.26 GBWeights 8.25 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 11 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md1.05 KB3dbd4f3c34abf83ab27d63254ece23183a8c6780371bcb13e755f8de985f869e
config.json996 B69badac846fa36cef2a373a79361dea3ee8e986d5b5e51ca68465e2eb8377456
merges.txt917 KBb6fe424e334903f7fb84d3a106d9730455f4744b9fe3c21ee136d97a00e72502
model-00001-of-00002.safetensors5.31 GBe0c113a12a77b1f2af50d94f4aeb9d3864c07d6460839734b59dd85b393d920e
model-00002-of-00002.safetensors2.94 GB0eeb8fb23fccf450934834d3682ef30b617425dcc43f9f3f777fa2704c8b77c8
model.safetensors.index.json49.3 KB776a5f4af5e7ed3f3f7ec8321f0614a9e81d3ed34d5b4e446b73d7e0270bed8a
special_tokens_map.json464 Bd295aea4a3c6976aeb7696b1dc6929f8840fe3ecb92a12d4d66a82a202376545
tokenizer.json7.15 MBc612e57b2763204798271c0cdc14a373a565e6a371f1bfbd44e385a8391c9884
tokenizer_config.json17.7 KB6bd125241a1393acab3c4f8d5ffad626682ad09f5f850470297081c3aa76c4ad
vocab.json1.61 MB741943243bd0035a8082ef0ccc09ef62e7ce7ec2f2f053aeedd808dba1c2ffc5
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
fc0f8f23d3 pinned now2026-11-15 05:04 UTC11 files · 8.26 GB

Use it

$ fw get mlx-community/phi-4-4bit
# manifest sha256 e8114498d6b0… · 8.26 GB · 11 files
$ fw verify ./phi-4-4bit mlx-community/phi-4-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-4bit.json --dir ./phi-4-4bit $ python3 fw.py verify ./phi-4-4bit ./mlx-community__phi-4-4bit.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download mlx-community/phi-4-4bit --revision fc0f8f23d369dc29b55cad1d65cb5bf0dcbee910 --local-dir ./phi-4-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-4bit", revision="fc0f8f23d369dc29b55cad1d65cb5bf0dcbee910") model = AutoModelForCausalLM.from_pretrained("mlx-community/phi-4-4bit", revision="fc0f8f23d369dc29b55cad1d65cb5bf0dcbee910", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve mlx-community/phi-4-4bit --revision fc0f8f23d369dc29b55cad1d65cb5bf0dcbee910

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
3dbd4f3c34abf83ab27d63254ece23183a8c6780371bcb13e755f8de985f869e
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-4bitDate: 2026-11-15Commit: fc0f8f2Signed: 2DC28CC7B26A283B ✓
Upstream
mlx-community/phi-4-4bit
Pinned commit
fc0f8f23d369dc29b55cad1d65cb5bf0dcbee910
Manifest
phi-4-4bit.json · .minisig
Manifest sha256
e8114498d6b055554e9d09e64fc6fd39e4d3792933957f21a9a7930611d80f50
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 05:04 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/mlx-community/phi-4-4bit.json $ curl -O https://freeweights.allternit.com/manifests/mlx-community/phi-4-4bit.json.minisig $ minisign -Vm phi-4-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 · 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-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-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