CoolFace
Modelpublic

LJTSG/Phi-4-mini-reasoning-webgpu

sourceHugging Facemitupdated 4mo agoView on Hugging Face
0likes
Model Card

Phi-4-mini-reasoning on WebGPU

First WebGPU package for Microsoft's Phi-4-mini-reasoning model.

The reasoning variant (not instruct) trained on DeepSeek-R1 chain-of-thought distillation. 3.8B params, 2.4 GB Q4KM. Runs entirely in browser via WebGPU + wllama.

Quick Start

  1. 1.Download Q4KM GGUF from bartowski
  2. 2.Place in model_splits/ (single file, no splitting needed)
  3. 3.node serve.js (port 8190)
  4. 4.Open http://localhost:8190 in Chrome

Hardware

Tested on GMKTEC EVO-X2 (AMD Strix Halo). Works on any WebGPU-capable device with 3+ GB available memory.

Credits

Built by Joshua (LJTSG) and Claude. Co-Authored-By: Claude <noreply@anthropic.com>