santhosh commited on
Commit
79df6f6
·
verified ·
1 Parent(s): 64580d4

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +31 -0
README.md ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language: en
3
+ tags:
4
+ - exbert
5
+ - openvino
6
+ - openvino-export
7
+ license: apache-2.0
8
+ datasets:
9
+ - bookcorpus
10
+ - wikipedia
11
+ base_model: google-bert/bert-base-uncased
12
+ pipeline_tag: fill-mask
13
+ ---
14
+
15
+ This model was converted to OpenVINO from [`google-bert/bert-base-uncased`](https://huggingface.co/google-bert/bert-base-uncased) using [optimum-intel](https://github.com/huggingface/optimum-intel)
16
+ via the [export](https://huggingface.co/spaces/echarlaix/openvino-export) space.
17
+
18
+ First make sure you have optimum-intel installed:
19
+
20
+ ```bash
21
+ pip install optimum[openvino]
22
+ ```
23
+
24
+ To load your model you can do as follows:
25
+
26
+ ```python
27
+ from optimum.intel import OVModelForMaskedLM
28
+
29
+ model_id = "santhosh/bert-base-uncased-openvino"
30
+ model = OVModelForMaskedLM.from_pretrained(model_id)
31
+ ```