malcolmchan commited on
Commit
346f5d4
1 Parent(s): daacee0

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +38 -0
README.md ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: microsoft/Phi-3-mini-4k-instruct
3
+ language:
4
+ - en
5
+ license: mit
6
+ license_link: https://huggingface.co/microsoft/Phi-3-mini-4k-instruct/resolve/main/LICENSE
7
+ pipeline_tag: text-generation
8
+ tags:
9
+ - nlp
10
+ - code
11
+ - openvino
12
+ - nncf
13
+ - 8-bit
14
+ inference:
15
+ parameters:
16
+ temperature: 0.0
17
+ widget:
18
+ - messages:
19
+ - role: user
20
+ content: Can you provide ways to eat combinations of bananas and dragonfruits?
21
+ ---
22
+
23
+ This model is a quantized version of [`microsoft/Phi-3-mini-4k-instruct`](https://huggingface.co/microsoft/Phi-3-mini-4k-instruct) and is converted to the OpenVINO format. This model was obtained via the [nncf-quantization](https://huggingface.co/spaces/echarlaix/nncf-quantization) space with [optimum-intel](https://github.com/huggingface/optimum-intel).
24
+
25
+ First make sure you have `optimum-intel` installed:
26
+
27
+ ```bash
28
+ pip install optimum[openvino]
29
+ ```
30
+
31
+ To load your model you can do as follows:
32
+
33
+ ```python
34
+ from optimum.intel import OVModelForCausalLM
35
+
36
+ model_id = "malcolmchan/Phi-3-mini-4k-instruct-openvino-8bit"
37
+ model = OVModelForCausalLM.from_pretrained(model_id)
38
+ ```