fix code snippet
Browse files
README.md
CHANGED
|
@@ -45,8 +45,8 @@ The calibration dataloader is the train dataloader. The default calibration samp
|
|
| 45 |
### Load with optimum:
|
| 46 |
|
| 47 |
```python
|
| 48 |
-
from optimum.intel
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
)
|
| 52 |
```
|
|
|
|
| 45 |
### Load with optimum:
|
| 46 |
|
| 47 |
```python
|
| 48 |
+
from optimum.intel import INCModelForTokenClassification
|
| 49 |
+
|
| 50 |
+
model_id = "Intel/distilbert-base-uncased-finetuned-conll03-english-int8-static"
|
| 51 |
+
int8_model = INCModelForTokenClassification.from_pretrained(model_id)
|
| 52 |
```
|