amd/Phi-3.5-mini-instruct-awq-g128-int4-asym-fp16-onnx-dml
By amd · ↓ 0 · ♥ 0 · Updated 2024-12-03
What's in this repo
This page lists the files in amd/Phi-3.5-mini-instruct-awq-g128-int4-asym-fp16-onnx-dml, including model.onnx.
- 1 ONNX models (.onnx files)
- 10 files, including 5 .json, 1 .md, 1 .onnx, 1 .data, 1 .model
- Last updated 2024-12-03
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
microsoft/Phi-3.5-mini-instruct
-
Introduction
- Quantization Tool: Quark 0.6.0
- OGA Model Builder: v0.5.1
-
Quantization Strategy
- AWQ / Group 128 / Asymmetric / UINT4 Weights / FP16 activations
- Excluded Layers: None
python3 quantize_quark.py \ --model_dir "$model" \ --output_dir "$output_dir" \ --quant_scheme w_uint4_per_group_asym \ --num_calib_data 128 \ --quant_algo awq \ --dataset pileval_for_awq_benchmark \ --seq_len 512 \ --model_export quark_safetensors \ --data_type float16 \ --exclude_layers [] \ --custom_mode awq -
OGA Model Builder
python builder.py \ -i <quantized safetensor model dir> \ -o <oga model output dir> \ -p int4 \ -e dml
Model info
text-generation
transformers
transformers
onnx
nlp
code
amd
text-generation
conversational
multilingual
base_model:microsoft/Phi-3.5-mini-instruct
base_model:quantized:microsoft/Phi-3.5-mini-instruct
license:mit
endpoints_compatible
↓ 0
♥ 0
Created: 2024-11-30
Updated: 2024-12-03
View on Hugging FaceFiles (10)
.gitattributes
README.md
added_tokens.json
genai_config.json
model.onnx
ONNX
model.onnx.data
special_tokens_map.json
tokenizer.json
tokenizer.model
tokenizer_config.json