update loading instructions
Browse files
README.md
CHANGED
@@ -31,8 +31,8 @@ The linear modules **lm.head**, fall back to fp32 for less than 1% relative accu
|
|
31 |
### Load with optimum:
|
32 |
|
33 |
```python
|
34 |
-
from optimum.intel
|
35 |
-
|
36 |
-
|
37 |
-
)
|
38 |
```
|
|
|
31 |
### Load with optimum:
|
32 |
|
33 |
```python
|
34 |
+
from optimum.intel import INCModelForSeq2SeqLM
|
35 |
+
|
36 |
+
model_id = "Intel/t5-small-xsum-int8-dynamic-inc"
|
37 |
+
int8_model = INCModelForSeq2SeqLM.from_pretrained(model_id)
|
38 |
```
|