Instructions to use Outlier-Ai/Qwen2.5-Coder-14B-Instruct-MLX-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use Outlier-Ai/Qwen2.5-Coder-14B-Instruct-MLX-4bit with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("Outlier-Ai/Qwen2.5-Coder-14B-Instruct-MLX-4bit") prompt = "Write a story about Einstein" messages = [{"role": "user", "content": prompt}] prompt = tokenizer.apply_chat_template( messages, add_generation_prompt=True ) text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- LM Studio
- MLX LM
How to use Outlier-Ai/Qwen2.5-Coder-14B-Instruct-MLX-4bit with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "Outlier-Ai/Qwen2.5-Coder-14B-Instruct-MLX-4bit"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "Outlier-Ai/Qwen2.5-Coder-14B-Instruct-MLX-4bit" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Outlier-Ai/Qwen2.5-Coder-14B-Instruct-MLX-4bit", "messages": [ {"role": "user", "content": "Hello"} ] }'
Run this on your Mac with Outlier — a one-click app that loads MLX models locally. macOS arm64, free download.
Qwen2.5-Coder-14B-Instruct (MLX 4-bit)
MLX 4-bit conversion of Qwen/Qwen2.5-Coder-14B-Instruct, repackaged for Apple Silicon. Original weights, original license — see frontmatter above. This repo only changes the on-disk format (safetensors, MLX 4-bit, chat_template.jinja, tokenizer).
About this conversion
- Format: MLX 4-bit safetensors (group size 64, symmetric)
- Tooling:
mlx-lm0.31.x compatible - Files:
model.safetensorsshards ·config.json· tokenizer ·chat_template.jinja - License: inherits from the upstream base model — see YAML
licensefield
Load directly with mlx-lm
pip install mlx-lm
python -m mlx_lm.generate \
--model Outlier-Ai/Qwen2.5-Coder-14B-Instruct-MLX-4bit \
--prompt "Hello, world." \
--max-tokens 256
Or in Python:
from mlx_lm import load, generate
model, tokenizer = load("Outlier-Ai/Qwen2.5-Coder-14B-Instruct-MLX-4bit")
print(generate(model, tokenizer, prompt="Hello, world.", max_tokens=256))
What is Outlier?
Outlier is a free macOS app that runs language models on your Mac, fully offline. Pick a model from a tier picker, click download, and chat — no API keys, no cloud round-trips, no usage caps. It ships with its own curated tier of MLX-4bit models and can also load any compatible MLX conversion (including this one) via the model picker.
➡ Download Outlier (free, Apple Silicon): outlier.host
For benchmark numbers (MMLU, HumanEval, tok/s on M-series Macs) with full provenance, see outlier.host/benchmarks.
Other Outlier conversions
- Qwen2.5-Coder-7B-Instruct (MLX 4-bit) — MLX 4-bit conversion (1,450 downloads)
- Qwen2.5-Coder-32B-Instruct (MLX 4-bit) — MLX 4-bit conversion (650 downloads)
- DeepSeek-R1-Distill-Qwen-7B (MLX 4-bit) — MLX 4-bit conversion (1,932 downloads)
- Outlier-Core-27B (MLX 4-bit) — MLX 4-bit conversion (55 downloads)
- Outlier-Nano-4B (MLX 4-bit) — MLX 4-bit conversion (67 downloads)
License
This conversion preserves the upstream license declared in the frontmatter (apache-2.0). Refer to the upstream base model card for the canonical license text and any usage restrictions.
- Downloads last month
- 1,250
4-bit
Model tree for Outlier-Ai/Qwen2.5-Coder-14B-Instruct-MLX-4bit
Base model
Qwen/Qwen2.5-14B