update loading instructions
Browse files
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
|
57 |
|
58 |
-
|
59 |
-
|
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 |
+
```
|
|