AlexKoff88 commited on
Commit
8ef8484
·
verified ·
1 Parent(s): 72e72ee

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +25 -0
README.md ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: facebook/opt-125m
3
+ language: en
4
+ license: other
5
+ tags:
6
+ - text-generation
7
+ - opt
8
+ - openvino
9
+ - nncf
10
+ - 4-bit
11
+ inference: false
12
+ commercial: false
13
+ ---
14
+
15
+ This model is a quantized version of [`facebook/opt-125m`](https://huggingface.co/facebook/opt-125m) and is converted to the OpenVINO format. This model was obtained via the [nncf-quantization](https://huggingface.co/spaces/echarlaix/nncf-quantization) space with [optimum-intel](https://github.com/huggingface/optimum-intel).
16
+ First make sure you have `optimum-intel` installed:
17
+ ```bash
18
+ pip install optimum[openvino]
19
+ ```
20
+ To load your model you can do as follows:
21
+ ```python
22
+ from optimum.intel import OVModelForCausalLM
23
+ model_id = "AlexKoff88/opt-125m-openvino-4bit"
24
+ model = OVModelForCausalLM.from_pretrained(model_id)
25
+ ```