Edit model card

INT8 roberta base finetuned MRPC

Post-training dynamic quantization

ONNX

This is an INT8 ONNX model quantized with Intel® Neural Compressor.

The original fp32 model comes from the fine-tuned model Intel/roberta-base-mrpc.

Test result

INT8 FP32
Accuracy (eval-f1) 0.9085 0.9138
Model size (MB) 122 476

Load ONNX model:

from optimum.onnxruntime import ORTModelForSequenceClassification
model = ORTModelForSequenceClassification.from_pretrained('Intel/roberta-base-mrpc-int8-dynamic')
Downloads last month
18
Hosted inference API
Text Classification
Examples
Examples
This model can be loaded on the Inference API on-demand.