echarlaix HF staff commited on
Commit
1e61ddd
1 Parent(s): 75ed00f

update loading instructions

Browse files
Files changed (1) hide show
  1. README.md +4 -5
README.md CHANGED
@@ -53,9 +53,8 @@ The calibration dataloader is the train dataloader. The default calibration samp
53
  #### Load with Intel® Neural Compressor:
54
 
55
  ```python
56
- from optimum.intel.neural_compressor.quantization import IncQuantizedModelForCausalLM
57
 
58
- int8_model = IncQuantizedModelForCausalLM.from_pretrained(
59
- "Intel/gpt-neox-japanese-2.7b-int8",
60
- )
61
- ```
 
53
  #### Load with Intel® Neural Compressor:
54
 
55
  ```python
56
+ from optimum.intel import INCModelForCausalLM
57
 
58
+ model_id = "Intel/gpt-neox-japanese-2.7b-int8"
59
+ int8_model = INCModelForCausalLM.from_pretrained(model_id)
60
+ ```