ALBERT
Collection
Quantized versions of ALBERT models for language tasks
•
3 items
•
Updated
This is an INT8 ONNX model quantized with Intel® Neural Compressor.
The original fp32 model comes from the fine-tuned model Alireza1044/albert-base-v2-sst2.
INT8 | FP32 | |
---|---|---|
Accuracy (eval-accuracy) | 0.9186 | 0.9232 |
Model size (MB) | 59 | 45 |
from optimum.onnxruntime import ORTModelForSequenceClassification
model = ORTModelForSequenceClassification.from_pretrained('Intel/albert-base-v2-sst2-int8-dynamic')