Downloads · 30 days
13
3% of all-time downloads
fxmarty/distilbert-base-uncased-finetuned-sst-2-english-int8-static
distilbert-base-uncased-finetuned-sst-2-english-int8-static is a text classification model from fxmarty. 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 is a fork of https://huggingface.co/distilbert-base-uncased-finetuned-sst-2-english , quantized using static Post-Training Quantization (PTQ) with ONNX Runtime and 🤗 Optimum library.
Downloads · 30 days
13
3% of all-time downloads
All-time downloads
461
Public
Repo size
140 MB
Likes
0
Public
Click a slice to open those files.
.onnx140 MB · 100%
From the Hugging Face model README
This model is a fork of https://huggingface.co/distilbert-base-uncased-finetuned-sst-2-english , quantized using static Post-Training Quantization (PTQ) with ONNX Runtime and 🤗 Optimum library.
It achieves 0.894 accuracy on the validation set.
To load this model:
from optimum.onnxruntime import ORTModelForSequenceClassification
model = ORTModelForSequenceClassification.from_pretrained("fxmarty/distilbert-base-uncased-finetuned-sst-2-english-int8-static")