ONNX Model Zoo

inference4j/phi-3.5-vision-instruct

By inference4j · ↓ 0 · ♥ 0 · Updated 2026-02-18

What's in this repo

This page lists the files in inference4j/phi-3.5-vision-instruct, including phi-3.5-v-instruct-embedding.onnx, phi-3.5-v-instruct-text.onnx, phi-3.5-v-instruct-vision.onnx.

  • 3 ONNX models (.onnx files)
  • 13 files, including 5 .json, 3 .onnx, 3 .data, 1 .md
  • Last updated 2026-02-18

ONNX files

File Size Download
phi-3.5-v-instruct-embedding.onnx — Download
phi-3.5-v-instruct-text.onnx — Download
phi-3.5-v-instruct-vision.onnx — Download

How to use

These ONNX files can be loaded with ONNX Runtime. To inspect a model graph, upload the file to the Netron viewer. Download links point to the original files on Hugging Face.

README

Phi-3.5-vision-instruct — ONNX (INT4)

INT4-quantized ONNX export of Phi-3.5-vision-instruct, a 4.2B-parameter multimodal vision-language model from Microsoft. Accepts images and text prompts, generates text output. Optimized for CPU inference with int4 RTN block-32 quantization.

Mirrored for use with inference4j, an inference-only AI library for Java.

Original Source

Usage with inference4j

try (VisionLanguageModel vision = VisionLanguageModel.builder()
        .model(ModelSources.phi3Vision())
        .build()) {
    GenerationResult result = vision.describe(Path.of("photo.jpg"));
    System.out.println(result.text());
}

Model Details

Property Value
Architecture Phi-3.5 Vision (4.2B parameters — CLIP ViT encoder + MLP projector + Phi-3 decoder)
Task Image description, visual Q&A, multimodal chat
Context length 128K tokens
Quantization INT4 RTN block-32 acc-level-4
ONNX files 3 models (vision encoder, embedding projector, text decoder)
Original framework PyTorch (transformers)

License

This model is licensed under the MIT License. Original model by Microsoft.

Model info

onnx image-text-to-text phi-3 vision multimodal int4 cpu inference4j conversational license:mit region:us
↓ 0 ♥ 0

Created: 2026-02-18

Updated: 2026-02-18

View on Hugging Face

Files (13)

.gitattributes
README.md
genai_config.json
phi-3.5-v-instruct-embedding.onnx ONNX
phi-3.5-v-instruct-embedding.onnx.data
phi-3.5-v-instruct-text.onnx ONNX
phi-3.5-v-instruct-text.onnx.data
phi-3.5-v-instruct-vision.onnx ONNX
phi-3.5-v-instruct-vision.onnx.data
processor_config.json
special_tokens_map.json
tokenizer.json
tokenizer_config.json

Related models