echarlaix HF staff commited on
Commit
2f02c5e
1 Parent(s): aea34d3

update loading instructions

Browse files
Files changed (1) hide show
  1. README.md +4 -4
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.neural_compressor.quantization import IncQuantizedModelForSeq2SeqLM
35
- int8_model = IncQuantizedModelForSeq2SeqLM.from_pretrained(
36
- 'Intel/t5-small-xsum-int8-dynamic',
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
  ```