chgk13 commited on
Commit
89bd23a
1 Parent(s): b0f3f6c

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +23 -0
README.md ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: chgk13/tiny_russian_toxic_bert
3
+ tags:
4
+ - openvino
5
+ ---
6
+
7
+ This model was converted to OpenVINO from [`chgk13/tiny_russian_toxic_bert`](https://huggingface.co/chgk13/tiny_russian_toxic_bert) using [optimum-intel](https://github.com/huggingface/optimum-intel)
8
+ via the [export](https://huggingface.co/spaces/echarlaix/openvino-export) space.
9
+
10
+ First make sure you have optimum-intel installed:
11
+
12
+ ```bash
13
+ pip install optimum[openvino]
14
+ ```
15
+
16
+ To load your model you can do as follows:
17
+
18
+ ```python
19
+ from optimum.intel import OVModelForSequenceClassification
20
+
21
+ model_id = "chgk13/tiny_russian_toxic_bert-openvino"
22
+ model = OVModelForSequenceClassification.from_pretrained(model_id)
23
+ ```