
# bert-base-uncased

This is the [bert-base-uncased](https://huggingface.co/bert-base-uncased) model converted to [OpenVINO](https://openvino.ai), for accellerated inference.

An example of how to do inference on this model:
```python
from optimum.intel.openvino import OVModelForMaskedLM
from transformers import AutoTokenizer, pipeline

# model_id should be set to either a local directory or a model available on the HuggingFace hub.
model_id = "helenai/bert-base-uncased-ov-fp32"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = OVModelForMaskedLM.from_pretrained(model_id)
pipe = pipeline("fill-mask", model=model, tokenizer=tokenizer)
result = pipe("I am a [MASK] model")
print(result)
```


{"language": ["en"], "tags": ["openvino"]}
transformers openvino bert fill-mask en autotrain_compatible endpoints_compatible region:us
TAGS
#transformers #openvino #bert #fill-mask #en #autotrain_compatible #endpoints_compatible #region-us 


# bert-base-uncased

This is the bert-base-uncased model converted to OpenVINO, for accellerated inference.

An example of how to do inference on this model:



# bert-base-uncased

This is the bert-base-uncased model converted to OpenVINO, for accellerated inference.

An example of how to do inference on this model:
TAGS
#transformers #openvino #bert #fill-mask #en #autotrain_compatible #endpoints_compatible #region-us 
 # bert-base-uncased

This is the bert-base-uncased model converted to OpenVINO, for accellerated inference.

An example of how to do inference on this model:
TAGS
#transformers #openvino #bert #fill-mask #en #autotrain_compatible #endpoints_compatible #region-us 
# bert-base-uncased

This is the bert-base-uncased model converted to OpenVINO, for accellerated inference.

An example of how to do inference on this model: