Update model card
Browse files
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
|
36 |
-
int8_model =
|
37 |
-
|
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 |
```
|