AIFunOver commited on
Commit
a39a674
·
verified ·
1 Parent(s): 2b9bf7c

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +39 -0
README.md ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: microsoft/phi-4
3
+ language:
4
+ - en
5
+ library_name: transformers
6
+ license: mit
7
+ license_link: https://huggingface.co/microsoft/phi-4/resolve/main/LICENSE
8
+ pipeline_tag: text-generation
9
+ tags:
10
+ - phi
11
+ - nlp
12
+ - math
13
+ - code
14
+ - chat
15
+ - conversational
16
+ - openvino
17
+ - nncf
18
+ - 8-bit
19
+ inference:
20
+ parameters:
21
+ temperature: 0
22
+ widget:
23
+ - messages:
24
+ - role: user
25
+ content: How should I explain the Internet?
26
+ base_model_relation: quantized
27
+ ---
28
+
29
+ This model is a quantized version of [`microsoft/phi-4`](https://huggingface.co/microsoft/phi-4) 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).
30
+ First make sure you have `optimum-intel` installed:
31
+ ```bash
32
+ pip install optimum[openvino]
33
+ ```
34
+ To load your model you can do as follows:
35
+ ```python
36
+ from optimum.intel import OVModelForCausalLM
37
+ model_id = "AIFunOver/phi-4-openvino-8bit"
38
+ model = OVModelForCausalLM.from_pretrained(model_id)
39
+ ```