Using Phi-3 & C# with ONNX for text and vision samples
Using Phi-3 & C# with ONNX for text and vision samples – .NET Blog
“The combination of Small Language Models (SLMs) and ONNX, is a game-changer in AI interoperability. Let’s show how you can harness the power of Phi-3 models within your .NET applications with C# and ONNX.
In the Phi-3 Cookbook repository we can find several samples, including a Console Application that loads a Phi-3 Vision model with ONNX, and analyze and describe an image.
The Phi-3 Small Language Model (SLM) represents a groundbreaking advancement in AI, developed by Microsoft. It’s part of the Phi-3 family, which includes the most capable and cost-effective SLMs available today. These models outperform others of similar or even larger sizes across various benchmarks, including language, reasoning, coding, and math tasks. The Phi-3 models, including the Phi-3-mini, Phi-3-small, and Phi-3-medium, are designed to be instruction-tuned and optimized for ONNX Runtime, ensuring broad compatibility and high performance…”