jojo1899/Phi-3.5-mini-instruct-onnx-int4
By jojo1899 · ↓ 0 · ♥ 0 · Updated 2024-11-07
What's in this repo
This page lists the files in jojo1899/Phi-3.5-mini-instruct-onnx-int4, including model.onnx.
- 1 ONNX models (.onnx files)
- 8 files, including 4 .json, 1 .md, 1 .onnx, 1 .data
- Last updated 2024-11-07
ONNX files
| File | Size | Download |
|---|---|---|
| model.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
This is an INT4 quantized version of the Phi-3.5-mini-instruct model. The Python packages used in creating this model are as follows:
onnx==1.16.1
onnxruntime-directml==1.20.0
onnxruntime-genai-directml==0.4.0
torch==2.5.1
transformers==4.45.2
This quantized model is created using the following command:
python -m onnxruntime_genai.models.builder -m microsoft/Phi-3.5-mini-instruct -e dml -p int4 --extra_options {"int4_block_size"=128} -o ./Phi-3.5-mini-instruct_onnx_int4
onnxruntime_genai.models.builder quantizes the model using MatMul4BitsQuantizer from matmul_4bits_quantizer.py of onnxruntime/quantization/ with the "DEFAULT" method.
Model info
Created: 2024-11-07
Updated: 2024-11-07
View on Hugging FaceFiles (8)
Related models
More from jojo1899
More models
No task type declared.