phi4_multimodal¶
Model type |
|
Class |
|
Task |
|
Source |
|
Description¶
Phi-4 Multimodal model (4-model split).
Produces four separate ONNX models via Phi4MMMultiModalTask:
vision: SigLIP encoder + projection -> image_featuresspeech: Conformer encoder + projection -> audio_featuresembedding: token embedding + InputMixer fusion -> inputs_embedsdecoder: LoRA text decoder + lm_head -> logits + KV cache
Replicates HuggingFace’s Phi4MMForCausalLM.
Usage¶
mobius build --model <MODEL_ID> output_dir/
from mobius import build
model = build("<MODEL_ID>")