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 params 2.17 GB Phi-4-mini-instruct-mlx-4Bit safetensors permissive Facts Params 3.8B Size 2.17 GB Formats safetensors Task text generation License MIT From sourcepermissive
fw
$ 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-4Bit Last 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
Runs with Ranked by fit to this model (safetensors), then by GitHub stars.
Show all 24 Fine-tune with Show all 29
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
Badge Host Last check Result From sourcehuggingface.co 2026-11-15 05:15 UTC passed
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#
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) CopyFiles 12 files · 2.17 GB Weights 2.16 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 12 files with their sha256 File Size sha256 .gitattributes 1.57 KB 34448b82c17d60fec9b65b1f093c115ddbaadc04beb1b0140b6bfed2e012a930 README.md 1.33 KB b7abb8741a718c8edb77216ccfdfdcaa4ee8f7bc17d2feab74f5cc106b96d54c chat_template.jinja 423 B febf589225c9728ab791f52e8897d7607a823d45368f0a4c92fa68997b40cce9 config.json 3.38 KB d2b15a69fc2edd68fe3bd43a1b4aa4fd6bc27aa7beeea176918b7115774e5a69 configuration_phi3.py 10.9 KB ec2044b77d0b8111640ac134daa3af1f40dc552a739f8959626e7e58ea3352df generation_config.json 168 B 3e3f48753753f92d2b958679151861d4fd7bf26e4dfc41fd47056116c4914dcd model.safetensors 2.16 GB 335fc22ddc8e9070a2359fa278c90e0cabdea0e31f16a4340524598abe0476d4 model.safetensors.index.json 32.6 KB 40cf6c64a926f978cec52e664d71bed98180d73b486d34af0222678991cc90e2 modeling_phi3.py 54.3 KB d5fd551a7fe759b1d25e5b16b5012aa98b9b8bd400d26c7ee69c0090a245d6cd sample_finetune.py 6.17 KB ec9ead444318c31095e5be48ec4b17ec031134836dd7906a73186265c323348a tokenizer.json 15.5 MB 7ea8bdf68c3e7549a3fb4342523288ce628f6ab56a618f9a4dfb234a0b4d46a8 tokenizer_config.json 320 B 2fe233f0932af65a3351d7c7d5a1a16073e18bba23e0d75eaf0869dffb68f7f9
Versions Each time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commit Date Contents d848c30f6d pinned now 2026-11-15 05:15 UTC 12 files · 2.17 GB
Use it fw
$ 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-4Bitfw.py Checks 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 Copyhf The 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 Copytransformers Load 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") CopyvLLM Serve an OpenAI-compatible API.
$ HF_ENDPOINT =https://freeweights.allternit.com vllm serve mlx-community/Phi-4-mini-instruct-mlx-4Bit --revision d848c30f6d5419b9892433cf6b1062626d15340e CopyLicense 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-4Bit Date: 2026-11-15Commit: d848c30Signed: 2DC28CC7B26A283B ✓
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 Copy
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 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 Copy
Open in Freeweights Studio Pull, verify and run it in the Allternit app on Desktop, web or phone.
phi 400 MB bunny-phi-2-siglip-lora safetensors permissive Facts Params not stated Size 400 MB Formats safetensors Task text generation License Apache-2.0 From sourcepermissive flip From: BAAI <huggingface.co/BAAI> Subject: bunny-phi-2-siglip-lora 3.8B params 7.64 GB MediPhi safetensors permissive Facts Params 3.8B Size 7.64 GB Formats safetensors Task text generation License MIT From sourcepermissive flip From: microsoft <huggingface.co/microsoft> Subject: MediPhi 3.8B params 7.64 GB MediPhi-Clinical safetensors permissive Facts Params 3.8B Size 7.64 GB Formats safetensors Task text generation License MIT From sourcepermissive flip From: microsoft <huggingface.co/microsoft> Subject: MediPhi-Clinical 3.8B params 7.64 GB MediPhi-Guidelines safetensors permissive Facts Params 3.8B Size 7.64 GB Formats safetensors Task text generation License MIT From sourcepermissive flip From: microsoft <huggingface.co/microsoft> Subject: MediPhi-Guidelines 3.8B params 7.64 GB MediPhi-Instruct safetensors permissive Facts Params 3.8B Size 7.64 GB Formats safetensors Task text generation License MIT From sourcepermissive flip From: microsoft <huggingface.co/microsoft> Subject: MediPhi-Instruct 3.8B params 7.64 GB MediPhi-MedCode safetensors permissive Facts Params 3.8B Size 7.64 GB Formats safetensors Task text generation License MIT From sourcepermissive flip From: microsoft <huggingface.co/microsoft> Subject: MediPhi-MedCode