parinitarahi commited on
Commit
13739cf
·
verified ·
1 Parent(s): 09218cd

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +35 -0
README.md CHANGED
@@ -1 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
  # Phi-4 ONNX models
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ tags:
4
+ - ONNX
5
+ - ONNX Runtime
6
+ - code
7
+ - nlp
8
+ - phi4
9
+
10
+ language:
11
+ - multilingual
12
+ ---
13
  # Phi-4 ONNX models
14
+
15
+ # microsoft/Phi-4-onnx
16
+
17
+ ## Introduction
18
+ This repository hosts the optimized versions of Phi4 models to accelerate inference with ONNX Runtime CUDA.
19
+ Optimized models are published here in ONNX format to run with ONNX Runtime on CPU and GPU across devices, including server platforms, Windows, Linux and Mac desktops, and mobile CPUs, with the precision best suited to each of these targets.
20
+ Here are some of the optimized configurations we have added:
21
+ 1. ONNX model for int4 CPU and Mobile: ONNX model for CPU and mobile using int4 quantization via RTN.
22
+ 2. ONNX model for int4 CUDA and DML GPU devices using int4 quantization via RTN.
23
+
24
+ You can see how to run examples with ORT GenAI [here](https://github.com/microsoft/onnxruntime-genai/blob/main/examples/python/phi-3-tutorial.md)
25
+
26
+ ## Model Description
27
+ - Developed by: Microsoft
28
+ - Model type: ONNX
29
+ - License: MIT
30
+ - Model Description: This is a conversion of Phi4 mini model for ONNX Runtime inference.
31
+
32
+ **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.
33
+
34
+ ## Base Model
35
+ phi-4 is a state-of-the-art open model built upon a blend of synthetic datasets, data from filtered public domain websites, and acquired academic books and Q&A datasets. The goal of this approach was to ensure that small capable models were trained with data focused on high quality and advanced reasoning.
36
+ See details at https://huggingface.co/microsoft/phi-4