yungthuis commited on
Commit
d486ee8
1 Parent(s): 3a2b20f

Upload README.md with huggingface_hub

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