Downloads · 30 days
0
lwanming/Phi-4-mini-instruct-onnx
Phi-4-mini-instruct-onnx is a machine learning model from lwanming. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
Base on https://huggingface.co/microsoft/Phi-4-mini-instruct
Downloads · 30 days
0
Access
Public
Updated Nov 6, 2025
Repo size
8.5 GB
Likes
0
Public
Click a slice to open those files.
.data4.1 GB · 68%
From the Hugging Face model README
Base on https://huggingface.co/microsoft/Phi-4-mini-instruct
Convert to onnx model using https://github.com/microsoft/onnxruntime-genai
Using command: python -m onnxruntime_genai.models.builder -m microsoft/Phi-4-mini-instruct -o Phi-4-mini-instruct-onnx -e webgpu -c cache-dir -p int4 --extra_options int4_block_size=32 int4_accuracy_level=4
The generated external data (model.onnx.data) is larger than 2GB, which is not suitable for ORT-Web. I use an additional Python script to move some data into model.onnx.