Updated README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,29 @@
|
|
1 |
-
---
|
2 |
-
license: mit
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
tags:
|
4 |
+
- openvino
|
5 |
+
- int4
|
6 |
+
---
|
7 |
+
|
8 |
+
This is an INT4 quantized version of the `Phi-3-mini-128k-instruct` model. The Python packages used in creating this model are as follows:
|
9 |
+
```
|
10 |
+
openvino==2024.3.0.dev20240528
|
11 |
+
openvino-nightly==2024.3.0.dev20240528
|
12 |
+
openvino-tokenizers==2024.3.0.0.dev20240528
|
13 |
+
optimum==1.19.2
|
14 |
+
optimum-intel==1.17.0.dev0+aefabf0
|
15 |
+
```
|
16 |
+
This quantized model is created using the following command:
|
17 |
+
```
|
18 |
+
optimum-cli export openvino -m "microsoft/Phi-3-mini-128k-instruct" --task text-generation-with-past --weight-format int4 --group-size 128 --trust-remote-code ./Phi-3-mini-128k-instruct-ov-int4
|
19 |
+
```
|
20 |
+
For more details, run the following command from your Python environment: `optimum-cli export openvino --help`
|
21 |
+
|
22 |
+
INFO:nncf:Statistics of the bitwidth distribution:
|
23 |
+
+----------------+-----------------------------+----------------------------------------+
|
24 |
+
| Num bits (N) | % all parameters (layers) | % ratio-defining parameters (layers) |
|
25 |
+
+================+=============================+========================================+
|
26 |
+
| 8 | 25% (27 / 130) | 21% (25 / 128) |
|
27 |
+
+----------------+-----------------------------+----------------------------------------+
|
28 |
+
| 4 | 75% (103 / 130) | 79% (103 / 128) |
|
29 |
+
+----------------+-----------------------------+----------------------------------------+
|