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

Phi-4-mini-instruct-mlx-4Bit

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

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

3.8B params2.17GBPhi-4-mini-instruct-mlx-4Bitsafetensorspermissive
FactsParams3.8BSize2.17 GBFormatssafetensorsTasktext generationLicenseMITFrom sourcepermissive
$ fw get mlx-community/Phi-4-mini-instruct-mlx-4Bit
# manifest sha256 06adc266035f… · 2.17 GB · 12 files
$ fw verify ./Phi-4-mini-instruct-mlx-4Bit mlx-community/Phi-4-mini-instruct-mlx-4Bit
From sourceHosted (signed)mlx-community/Phi-4-mini-instruct-mlx-4BitLast check: 2026-11-15 05:15 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.17 GB
Weights
2.16 GB (safetensors)
Parameters
3.8B
Formats
safetensors
Task
text generation
License
MIT (permissive)
Files
12, 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 05:15 UTCpassed

Model card

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

SkyStar-tech/Phi-4-mini-instruct-mlx-4Bit#

The Model SkyStar-tech/Phi-4-mini-instruct-mlx-4Bit was converted to MLX format from microsoft/Phi-4-mini-instruct using mlx-lm version 0.31.2.

Use with mlx#

pip install mlx-lm
from mlx_lm import load, generate

model, tokenizer = load("SkyStar-tech/Phi-4-mini-instruct-mlx-4Bit")

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

12 files · 2.17 GBWeights 2.16 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 12 files with their sha256
FileSizesha256
.gitattributes1.57 KB34448b82c17d60fec9b65b1f093c115ddbaadc04beb1b0140b6bfed2e012a930
README.md1.33 KBb7abb8741a718c8edb77216ccfdfdcaa4ee8f7bc17d2feab74f5cc106b96d54c
chat_template.jinja423 Bfebf589225c9728ab791f52e8897d7607a823d45368f0a4c92fa68997b40cce9
config.json3.38 KBd2b15a69fc2edd68fe3bd43a1b4aa4fd6bc27aa7beeea176918b7115774e5a69
configuration_phi3.py10.9 KBec2044b77d0b8111640ac134daa3af1f40dc552a739f8959626e7e58ea3352df
generation_config.json168 B3e3f48753753f92d2b958679151861d4fd7bf26e4dfc41fd47056116c4914dcd
model.safetensors2.16 GB335fc22ddc8e9070a2359fa278c90e0cabdea0e31f16a4340524598abe0476d4
model.safetensors.index.json32.6 KB40cf6c64a926f978cec52e664d71bed98180d73b486d34af0222678991cc90e2
modeling_phi3.py54.3 KBd5fd551a7fe759b1d25e5b16b5012aa98b9b8bd400d26c7ee69c0090a245d6cd
sample_finetune.py6.17 KBec9ead444318c31095e5be48ec4b17ec031134836dd7906a73186265c323348a
tokenizer.json15.5 MB7ea8bdf68c3e7549a3fb4342523288ce628f6ab56a618f9a4dfb234a0b4d46a8
tokenizer_config.json320 B2fe233f0932af65a3351d7c7d5a1a16073e18bba23e0d75eaf0869dffb68f7f9
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
d848c30f6d pinned now2026-11-15 05:15 UTC12 files · 2.17 GB

Use it

$ fw get mlx-community/Phi-4-mini-instruct-mlx-4Bit
# manifest sha256 06adc266035f… · 2.17 GB · 12 files
$ fw verify ./Phi-4-mini-instruct-mlx-4Bit mlx-community/Phi-4-mini-instruct-mlx-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-mlx-4Bit.json --dir ./Phi-4-mini-instruct-mlx-4Bit $ python3 fw.py verify ./Phi-4-mini-instruct-mlx-4Bit ./mlx-community__Phi-4-mini-instruct-mlx-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-mlx-4Bit --revision d848c30f6d5419b9892433cf6b1062626d15340e --local-dir ./Phi-4-mini-instruct-mlx-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-mlx-4Bit", revision="d848c30f6d5419b9892433cf6b1062626d15340e") model = AutoModelForCausalLM.from_pretrained("mlx-community/Phi-4-mini-instruct-mlx-4Bit", revision="d848c30f6d5419b9892433cf6b1062626d15340e", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve mlx-community/Phi-4-mini-instruct-mlx-4Bit --revision d848c30f6d5419b9892433cf6b1062626d15340e

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
b7abb8741a718c8edb77216ccfdfdcaa4ee8f7bc17d2feab74f5cc106b96d54c
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-mlx-4BitDate: 2026-11-15Commit: d848c30Signed: 2DC28CC7B26A283B ✓
Upstream
mlx-community/Phi-4-mini-instruct-mlx-4Bit
Pinned commit
d848c30f6d5419b9892433cf6b1062626d15340e
Manifest
Phi-4-mini-instruct-mlx-4Bit.json · .minisig
Manifest sha256
06adc266035f6f067a156d4a3f99b1aae82d4f1579d47f46146a7c4b3a5dae32
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 05:15 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-mlx-4Bit.json $ curl -O https://freeweights.allternit.com/manifests/mlx-community/Phi-4-mini-instruct-mlx-4Bit.json.minisig $ minisign -Vm Phi-4-mini-instruct-mlx-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-mlx-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-mlx-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