elucidator8918
commited on
Commit
•
1adf837
1
Parent(s):
205724c
Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: PatronusAI/Llama-3-Patronus-Lynx-8B-Instruct
|
3 |
+
language:
|
4 |
+
- en
|
5 |
+
library_name: transformers
|
6 |
+
license: cc-by-nc-4.0
|
7 |
+
tags:
|
8 |
+
- text-generation
|
9 |
+
- pytorch
|
10 |
+
- Lynx
|
11 |
+
- Patronus AI
|
12 |
+
- evaluation
|
13 |
+
- hallucination-detection
|
14 |
+
- openvino
|
15 |
+
- nncf
|
16 |
+
- 4-bit
|
17 |
+
---
|
18 |
+
|
19 |
+
This model is a quantized version of [`PatronusAI/Llama-3-Patronus-Lynx-8B-Instruct`](https://huggingface.co/PatronusAI/Llama-3-Patronus-Lynx-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).
|
20 |
+
|
21 |
+
First make sure you have `optimum-intel` installed:
|
22 |
+
|
23 |
+
```bash
|
24 |
+
pip install optimum[openvino]
|
25 |
+
```
|
26 |
+
|
27 |
+
To load your model you can do as follows:
|
28 |
+
|
29 |
+
```python
|
30 |
+
from optimum.intel import OVModelForCausalLM
|
31 |
+
|
32 |
+
model_id = "elucidator8918/Llama-3-Patronus-Lynx-8B-Instruct-openvino-4bit"
|
33 |
+
model = OVModelForCausalLM.from_pretrained(model_id)
|
34 |
+
```
|