Skip to content

models Phi 4 mini instruct generic cpu

github-actions[bot] edited this page Jun 4, 2025 · 6 revisions

Phi-4-mini-instruct-generic-cpu

Overview

This model is an optimized version of Phi-4-mini-instruct to enable local inference on CPUs. This model uses RTN quantization.

Model Description

  • Developed by: Microsoft
  • Model type: ONNX
  • License: MIT
  • Model Description: This is a conversion of the Phi-4-mini-instruct for local inference on CPUs.
  • Disclaimer: Model is only an optimization of the base model, any risk associated with the model is the responsibility of the user of the model. Please verify and test for your scenarios. There may be a slight difference in output from the base model with the optimizations applied. Note that optimizations applied are distinct from fine tuning and thus do not alter the intended uses or capabilities of the model.

Base Model Information

See Hugging Face model Phi-4-mini-instruct for details.

Version: 4

Tags

foundryLocal license : MIT licenseDescription : This model is provided under the License Terms available at <https://huggingface.co/microsoft/Phi-4-mini-instruct/blob/main/LICENSE>. author : Microsoft inputModalities : text outputModalities : text task : chat-completion maxOutputTokens : 2048 alias : phi-4-mini directoryPath : v3 promptTemplate : {"system": "<|system|>{Content}<|end|>", "user": "<|user|>{Content}<|end|>", "assistant": "<|assistant|>{Content}<|end|>", "prompt": "<|user|>{Content}<|end|><|assistant|>"} supportsToolCalling toolCallStart : <|tool_call|> toolCallEnd : <|/tool_call|> toolRegisterStart : <|tool|> toolRegisterEnd : <|/tool|>

View in Studio: https://ml.azure.com/registries/azureml/models/Phi-4-mini-instruct-generic-cpu/version/4

License: MIT

Clone this wiki locally