kangyuliu's picture
Upload README.md with huggingface_hub
bc2de7b verified
metadata
base_model: google-bert/bert-base-uncased
datasets:
  - bookcorpus
  - wikipedia
language: en
license: apache-2.0
tags:
  - exbert
  - openvino
  - openvino-export

This model was converted to OpenVINO from google-bert/bert-base-uncased 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 OVModelForMaskedLM

model_id = "kangyuliu/bert-base-uncased-openvino"
model = OVModelForMaskedLM.from_pretrained(model_id)