Downloads · 30 days
15
5% of all-time downloads
riacheruvu/phi-2-openvino-8bit
phi-2-openvino-8bit is a text generation model from riacheruvu. Use it when you need the model to write or continue text. The card lists the license as mit.
This model is a quantized version of microsoft/phi-2 and is converted to the OpenVINO format. This model was obtained via the nncf-quantization space with optimum-intel.
Downloads · 30 days
15
5% of all-time downloads
All-time downloads
286
Public
Repo size
2.8 GB
Likes
0
Public
Click a slice to open those files.
.bin2.8 GB · 100%
From the Hugging Face model README
This model is a quantized version of microsoft/phi-2 and is converted to the OpenVINO format. This model was obtained via the nncf-quantization space with optimum-intel.
First make sure you have optimum-intel installed:
pip install optimum[openvino]
To load your model you can do as follows:
from optimum.intel import OVModelForCausalLM
model_id = "riacheruvu/phi-2-openvino-8bit"
model = OVModelForCausalLM.from_pretrained(model_id)