helenai commited on
Commit
b195c23
1 Parent(s): 866964d

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +36 -0
README.md ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ inference:
13
+ parameters:
14
+ temperature: 0.0
15
+ widget:
16
+ - messages:
17
+ - role: user
18
+ content: Can you provide ways to eat combinations of bananas and dragonfruits?
19
+ ---
20
+
21
+ 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).
22
+
23
+ First make sure you have `optimum-intel` installed:
24
+
25
+ ```bash
26
+ pip install optimum[openvino]
27
+ ```
28
+
29
+ To load your model you can do as follows:
30
+
31
+ ```python
32
+ from optimum.intel import OVModelForCausalLM
33
+
34
+ model_id = "helenai/Phi-3-mini-4k-instruct-openvino-4bit"
35
+ model = OVModelForCausalLM.from_pretrained(model_id)
36
+ ```