echarlaix HF staff commited on
Commit
23ab442
1 Parent(s): 793cccf
Files changed (1) hide show
  1. README.md +4 -4
README.md CHANGED
@@ -46,8 +46,8 @@ The linear modules **bert.encoder.layer.2.output.dense, bert.encoder.layer.5.int
46
  ### Load with optimum:
47
 
48
  ```python
49
- from optimum.intel.neural_compressor.quantization import IncQuantizedModelForMultipleChoice
50
- int8_model = IncQuantizedModelForMultipleChoice.from_pretrained(
51
- 'Intel/bert-base-uncased-finetuned-swag-int8-static',
52
- )
53
  ```
 
46
  ### Load with optimum:
47
 
48
  ```python
49
+ from optimum.intel import INCModelForMultipleChoice
50
+
51
+ model_id = "Intel/bert-base-uncased-finetuned-swag-int8-static"
52
+ int8_model = INCModelForMultipleChoice.from_pretrained(model_id)
53
  ```