Update model card
Browse files
README.md
CHANGED
@@ -47,8 +47,8 @@ The calibration dataloader is the train dataloader. The default calibration samp
|
|
47 |
### Load with Intel® Neural Compressor:
|
48 |
|
49 |
```python
|
50 |
-
from
|
51 |
-
|
52 |
-
|
53 |
-
)
|
54 |
```
|
|
|
47 |
### Load with Intel® Neural Compressor:
|
48 |
|
49 |
```python
|
50 |
+
from optimum.intel.neural_compressor import IncQuantizedModelForSequenceClassification
|
51 |
+
|
52 |
+
model_id = "Intel/roberta-base-mrpc-int8-static"
|
53 |
+
int8_model = IncQuantizedModelForSequenceClassification.from_pretrained(model_id)
|
54 |
```
|