yungthuis commited on
Commit
2aa73e3
·
verified ·
1 Parent(s): 2ba56ab

Upload README.md with huggingface_hub

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