kvaishnavi commited on
Commit
42c9b09
·
verified ·
1 Parent(s): f297b2b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +8 -7
README.md CHANGED
@@ -12,14 +12,15 @@ language:
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
  ## Model Run
25
  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)
@@ -70,10 +71,10 @@ python phi3-qa.py -m gpu/gpu-int4-rtn-block-32 -e dml
70
  - Developed by: Microsoft
71
  - Model type: ONNX
72
  - License: MIT
73
- - Model Description: This is a conversion of Phi4 mini model for ONNX Runtime inference.
74
 
75
  **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.
76
 
77
  ## Base Model
78
- 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.
79
  See details at https://huggingface.co/microsoft/phi-4
 
12
  ---
13
  # Phi-4 ONNX models
14
 
 
 
15
  ## Introduction
16
+ This repository hosts the optimized versions of the Phi-4 models to accelerate inference with ONNX Runtime.
17
+
18
  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.
19
+
20
  Here are some of the optimized configurations we have added:
21
+
22
+ 1. ONNX model for int4 CPU: ONNX model for CPU and mobile using int4 quantization via RTN.
23
+ 2. ONNX model for int4 GPU: ONNX model for GPU using int4 quantization via RTN.
24
 
25
  ## Model Run
26
  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)
 
71
  - Developed by: Microsoft
72
  - Model type: ONNX
73
  - License: MIT
74
+ - Model Description: This is a conversion of the Phi-4 model for ONNX Runtime inference.
75
 
76
  **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.
77
 
78
  ## Base Model
79
+ 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.
80
  See details at https://huggingface.co/microsoft/phi-4