fix code snippet
Browse files
README.md
CHANGED
@@ -33,8 +33,8 @@ The linear modules **lm.head**, fall back to fp32 for less than 1% relative accu
|
|
33 |
### Load with optimum:
|
34 |
|
35 |
```python
|
36 |
-
from optimum.intel
|
37 |
-
|
38 |
-
|
39 |
-
)
|
40 |
```
|
|
|
33 |
### Load with optimum:
|
34 |
|
35 |
```python
|
36 |
+
from optimum.intel import INCModelForSeq2SeqLM
|
37 |
+
|
38 |
+
model_id = "Intel/t5-small-finetuned-cnn-news-int8-dynamic"
|
39 |
+
int8_model = INCModelForSeq2SeqLM.from_pretrained(model_id)
|
40 |
```
|