Downloads · 30 days
20.1K
4% of all-time downloads
echarlaix/distilbert-base-uncased-finetuned-sst-2-english-openvino
distilbert-base-uncased-finetuned-sst-2-english-openvino is a text classification model from echarlaix. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as apache-2.0.
This model was converted to OpenVINO from distilbert/distilbert-base-uncased-finetuned-sst-2-english using optimum-intel via the export space.
Downloads · 30 days
20.1K
4% of all-time downloads
All-time downloads
558K
Public
Repo size
536 MB
Likes
0
Public
Click a slice to open those files.
.bin268 MB · 100%
From the Hugging Face model README
This model was converted to OpenVINO from distilbert/distilbert-base-uncased-finetuned-sst-2-english using optimum-intel
via the export space.
First make sure you have optimum-intel installed:
pip install optimum-intel
To load your model you can do as follows:
from optimum.intel import OVModelForSequenceClassification
model_id = "echarlaix/distilbert-base-uncased-finetuned-sst-2-english-openvino"
model = OVModelForSequenceClassification.from_pretrained(model_id)