fix code snippet
Browse files
README.md
CHANGED
|
@@ -33,8 +33,8 @@ The linear modules **bert.encoder.layer.2.intermediate.dense**, **bert.encoder.l
|
|
| 33 |
### Load with Intel® Neural Compressor:
|
| 34 |
|
| 35 |
```python
|
| 36 |
-
from optimum.intel
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
)
|
| 40 |
```
|
|
|
|
| 33 |
### Load with Intel® Neural Compressor:
|
| 34 |
|
| 35 |
```python
|
| 36 |
+
from optimum.intel import INCModelForQuestionAnswering
|
| 37 |
+
|
| 38 |
+
model_id = "Intel/bert-base-uncased-squad-int8-static"
|
| 39 |
+
int8_model = INCModelForQuestionAnswering.from_pretrained(model_id)
|
| 40 |
```
|