fix README
Browse files
README.md
CHANGED
@@ -38,7 +38,7 @@ The linear module **bert.encoder.layer.6.attention.self.key** falls back to fp32
|
|
38 |
from optimum.intel import INCModelForSequenceClassification
|
39 |
|
40 |
model_id = "Intel/MiniLM-L12-H384-uncased-mrpc-int8-static"
|
41 |
-
int8_model = INCModelForSequenceClassification(model_id)
|
42 |
```
|
43 |
|
44 |
### ONNX
|
|
|
38 |
from optimum.intel import INCModelForSequenceClassification
|
39 |
|
40 |
model_id = "Intel/MiniLM-L12-H384-uncased-mrpc-int8-static"
|
41 |
+
int8_model = INCModelForSequenceClassification.from_pretrained(model_id)
|
42 |
```
|
43 |
|
44 |
### ONNX
|