Update README.md
Browse files
README.md
CHANGED
@@ -15,39 +15,14 @@ tags:
|
|
15 |
|
16 |
# microsoft/Phi-3.5-mini-instruct
|
17 |
- ## Introduction
|
18 |
-
|
19 |
-
|
20 |
-
- Postprocess
|
21 |
- ## Quantization Strategy
|
22 |
- AWQ / Group 128 / Asymmetric / UINT4 Weights / FP16 activations
|
23 |
- Excluded Layers: None
|
24 |
-
|
25 |
-
python3 quantize_quark.py \
|
26 |
-
--model_dir "$model" \
|
27 |
-
--output_dir "$output_dir" \
|
28 |
-
--quant_scheme w_uint4_per_group_asym \
|
29 |
-
--num_calib_data 128 \
|
30 |
-
--quant_algo awq \
|
31 |
-
--dataset pileval_for_awq_benchmark \
|
32 |
-
--seq_len 512 \
|
33 |
-
--model_export quark_safetensors \
|
34 |
-
--data_type float16 \
|
35 |
-
--exclude_layers [] \
|
36 |
-
--custom_mode awq
|
37 |
-
```
|
38 |
-
- ## OGA Model Builder
|
39 |
-
```
|
40 |
-
python builder.py \
|
41 |
-
-i <quantized safetensor model dir> \
|
42 |
-
-o <oga model output dir> \
|
43 |
-
-p int4 \
|
44 |
-
-e dml
|
45 |
-
```
|
46 |
-
- PostProcessed to generate Hybrid Model
|
47 |
-
-
|
48 |
- ## Quick Start
|
49 |
-
For quickstart, refer to
|
50 |
-
|
51 |
|
52 |
#### Evaluation scores
|
53 |
The perplexity measurement is run on the wikitext-2-raw-v1 (raw data) dataset provided by Hugging Face. Perplexity score measured for prompt length 2k is 7.0271.
|
|
|
15 |
|
16 |
# microsoft/Phi-3.5-mini-instruct
|
17 |
- ## Introduction
|
18 |
+
This model was prepared using the AMD Quark Quantization tool, followed by necessary post-processing.
|
19 |
+
|
|
|
20 |
- ## Quantization Strategy
|
21 |
- AWQ / Group 128 / Asymmetric / UINT4 Weights / FP16 activations
|
22 |
- Excluded Layers: None
|
23 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
- ## Quick Start
|
25 |
+
For quickstart, refer to [Ryzen AI doucmentation](https://ryzenai.docs.amd.com/en/latest/hybrid_oga.html)
|
|
|
26 |
|
27 |
#### Evaluation scores
|
28 |
The perplexity measurement is run on the wikitext-2-raw-v1 (raw data) dataset provided by Hugging Face. Perplexity score measured for prompt length 2k is 7.0271.
|