echarlaix HF staff commited on
Commit
a8e37e6
1 Parent(s): da445e0
Files changed (1) hide show
  1. README.md +4 -4
README.md CHANGED
@@ -30,10 +30,10 @@ The original fp32 model comes from the fine-tuned model [Intel/MiniLM-L12-H384-u
30
  ### Load with optimum:
31
 
32
  ```python
33
- from optimum.intel.neural_compressor.quantization import IncQuantizedModelForSequenceClassification
34
- int8_model = IncQuantizedModelForSequenceClassification(
35
- 'Intel/MiniLM-L12-H384-uncased-mrpc-int8-qat',
36
- )
37
  ```
38
 
39
  ### Training hyperparameters
 
30
  ### Load with optimum:
31
 
32
  ```python
33
+ from optimum.intel import INCModelForSequenceClassification
34
+
35
+ model_id = "Intel/MiniLM-L12-H384-uncased-mrpc-int8-qat"
36
+ int8_model = INCModelForSequenceClassification(model_id)
37
  ```
38
 
39
  ### Training hyperparameters