check this link This tutorial downloads and runs the Phi-3 mini short context model. :https://github.com/microsoft/onnxruntime-genai/blob/main/examples/python/phi-3-tutorial.md