Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: infly/OpenCoder-8B-Instruct
|
3 |
+
datasets:
|
4 |
+
- OpenCoder-LLM/opencoder-sft-stage1
|
5 |
+
- OpenCoder-LLM/opencoder-sft-stage2
|
6 |
+
language:
|
7 |
+
- en
|
8 |
+
- zh
|
9 |
+
library_name: transformers
|
10 |
+
license: other
|
11 |
+
license_name: inf
|
12 |
+
license_link: https://huggingface.co/infly/OpenCoder-8B-Instruct/blob/main/LICENSE
|
13 |
+
pipeline_tag: text-generation
|
14 |
+
tags:
|
15 |
+
- openvino
|
16 |
+
- nncf
|
17 |
+
- 4-bit
|
18 |
+
base_model_relation: quantized
|
19 |
+
---
|
20 |
+
|
21 |
+
This model is a quantized version of [`infly/OpenCoder-8B-Instruct`](https://huggingface.co/infly/OpenCoder-8B-Instruct) 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).
|
22 |
+
First make sure you have `optimum-intel` installed:
|
23 |
+
```bash
|
24 |
+
pip install optimum[openvino]
|
25 |
+
```
|
26 |
+
To load your model you can do as follows:
|
27 |
+
```python
|
28 |
+
from optimum.intel import OVModelForCausalLM
|
29 |
+
model_id = "AIFunOver/OpenCoder-8B-Instruct-openvino-4bit"
|
30 |
+
model = OVModelForCausalLM.from_pretrained(model_id)
|
31 |
+
```
|