update loading instructions
Browse files
README.md
CHANGED
@@ -29,8 +29,8 @@ The original fp32 model comes from the fine-tuned model [flax-community/t5-base-
|
|
29 |
### Load with optimum:
|
30 |
|
31 |
```python
|
32 |
-
from optimum.intel
|
33 |
-
|
34 |
-
|
35 |
-
)
|
36 |
```
|
|
|
29 |
### Load with optimum:
|
30 |
|
31 |
```python
|
32 |
+
from optimum.intel import INCModelForSeq2SeqLM
|
33 |
+
|
34 |
+
model_id = "Intel/t5-base-cnn-dm-int8-dynamic"
|
35 |
+
int8_model = INCModelForSeq2SeqLM.from_pretrained(model_id)
|
36 |
```
|