# INT8 deberta-v3-base-mrpc

##  Post-training static quantization

### ONNX

This is an INT8 ONNX model quantized with [Intel® Neural Compressor](https://github.com/intel/neural-compressor).

The original fp32 model comes from the fine-tuned model [Intel/deberta-v3-base-mrpc](https://huggingface.co/Intel/deberta-v3-base-mrpc).

#### Test result

|   |INT8|FP32|
|---|:---:|:---:|
| **Accuracy (eval-f1)** |0.9185|0.9223|
| **Model size (MB)**  |361|705|


#### Load ONNX model:

```python
from optimum.onnxruntime import ORTModelForSequenceClassification
model = ORTModelForSequenceClassification.from_pretrained('Intel/deberta-v3-base-mrpc-int8-static')
```
{"license": "mit", "tags": ["text-classfication", "int8", "Intel\u00ae Neural Compressor", "neural-compressor", "PostTrainingStatic", "onnx"], "datasets": ["glue"], "metrics": ["f1"]}
transformers onnx deberta-v2 text-classification text-classfication int8 Intel® Neural Compressor neural-compressor PostTrainingStatic dataset:glue license:mit autotrain_compatible endpoints_compatible region:us
TAGS
#transformers #onnx #deberta-v2 #text-classification #text-classfication #int8 #Intel® Neural Compressor #neural-compressor #PostTrainingStatic #dataset-glue #license-mit #autotrain_compatible #endpoints_compatible #region-us 

INT8 deberta-v3-base-mrpc
=========================


Post-training static quantization
---------------------------------


### ONNX


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


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


#### Test result



#### Load ONNX model:



### ONNX


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


The original fp32 model comes from the fine-tuned model Intel/deberta-v3-base-mrpc. #### Test result #### Load ONNX model:
TAGS
#transformers #onnx #deberta-v2 #text-classification #text-classfication #int8 #Intel® Neural Compressor #neural-compressor #PostTrainingStatic #dataset-glue #license-mit #autotrain_compatible #endpoints_compatible #region-us 
 ### ONNX


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


The original fp32 model comes from the fine-tuned model Intel/deberta-v3-base-mrpc. #### Test result #### Load ONNX model: