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