echarlaix HF staff commited on
Commit
8715481
1 Parent(s): 2018193

Update model card

Browse files
Files changed (1) hide show
  1. README.md +4 -3
README.md CHANGED
@@ -3,6 +3,7 @@ license: apache-2.0
3
  tags:
4
  - int8
5
  - Intel® Neural Compressor
 
6
  - PostTrainingStatic
7
  datasets:
8
  - squad
@@ -32,8 +33,8 @@ The linear modules **bert.encoder.layer.2.intermediate.dense**, **bert.encoder.l
32
  ### Load with Intel® Neural Compressor:
33
 
34
  ```python
35
- from neural_compressor.utils.load_huggingface import OptimizedModel
36
- int8_model = OptimizedModel.from_pretrained(
37
- 'Intel/bert-base-uncased-squad-int8-static',
38
  )
39
  ```
3
  tags:
4
  - int8
5
  - Intel® Neural Compressor
6
+ - neural-compressor
7
  - PostTrainingStatic
8
  datasets:
9
  - squad
33
  ### Load with Intel® Neural Compressor:
34
 
35
  ```python
36
+ from optimum.intel.neural_compressor import IncQuantizedModelForQuestionAnswering
37
+ int8_model = IncQuantizedModelForQuestionAnswering.from_pretrained(
38
+ "Intel/bert-base-uncased-squad-int8-static",
39
  )
40
  ```