AlexKoff88
commited on
Commit
•
974a356
1
Parent(s):
eb3772a
Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: TinyLlama/TinyLlama-1.1B-Chat-v1.0
|
3 |
+
datasets:
|
4 |
+
- cerebras/SlimPajama-627B
|
5 |
+
- bigcode/starcoderdata
|
6 |
+
- HuggingFaceH4/ultrachat_200k
|
7 |
+
- HuggingFaceH4/ultrafeedback_binarized
|
8 |
+
language:
|
9 |
+
- en
|
10 |
+
license: apache-2.0
|
11 |
+
tags:
|
12 |
+
- openvino
|
13 |
+
- nncf
|
14 |
+
- 4-bit
|
15 |
+
widget:
|
16 |
+
- example_title: Fibonacci (Python)
|
17 |
+
messages:
|
18 |
+
- role: system
|
19 |
+
content: You are a chatbot who can help code!
|
20 |
+
- role: user
|
21 |
+
content: Write me a function to calculate the first 10 digits of the fibonacci
|
22 |
+
sequence in Python and print it out to the CLI.
|
23 |
+
---
|
24 |
+
|
25 |
+
This model is a quantized version of [`TinyLlama/TinyLlama-1.1B-Chat-v1.0`](https://huggingface.co/TinyLlama/TinyLlama-1.1B-Chat-v1.0) 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).
|
26 |
+
First make sure you have `optimum-intel` installed:
|
27 |
+
```bash
|
28 |
+
pip install optimum[openvino]
|
29 |
+
```
|
30 |
+
To load your model you can do as follows:
|
31 |
+
```python
|
32 |
+
from optimum.intel import OVModelForCausalLM
|
33 |
+
model_id = "AlexKoff88/TinyLlama-1.1B-Chat-v1.0-openvino-4bit"
|
34 |
+
model = OVModelForCausalLM.from_pretrained(model_id)
|
35 |
+
```
|