phi-2-openvino / README.md
riacheruvu's picture
Upload README.md with huggingface_hub
4a09b38 verified
metadata
base_model: microsoft/phi-2
language:
  - en
license: mit
license_link: https://huggingface.co/microsoft/phi-2/resolve/main/LICENSE
pipeline_tag: text-generation
tags:
  - nlp
  - code
  - openvino
  - openvino-export

This model was converted to OpenVINO from microsoft/phi-2 using optimum-intel via the export space.

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"
model = OVModelForCausalLM.from_pretrained(model_id)