base_model: TinyLlama/TinyLlama-1.1B-Chat-v1.0 | |
datasets: | |
- cerebras/SlimPajama-627B | |
- bigcode/starcoderdata | |
- HuggingFaceH4/ultrachat_200k | |
- HuggingFaceH4/ultrafeedback_binarized | |
language: | |
- en | |
license: apache-2.0 | |
tags: | |
- openvino | |
- openvino-export | |
widget: | |
- example_title: Fibonacci (Python) | |
messages: | |
- role: system | |
content: You are a chatbot who can help code! | |
- role: user | |
content: Write me a function to calculate the first 10 digits of the fibonacci | |
sequence in Python and print it out to the CLI. | |
This model was converted to OpenVINO from [`TinyLlama/TinyLlama-1.1B-Chat-v1.0`](https://huggingface.co/TinyLlama/TinyLlama-1.1B-Chat-v1.0) using [optimum-intel](https://github.com/huggingface/optimum-intel) | |
via the [export](https://huggingface.co/spaces/echarlaix/openvino-export) space. | |
First make sure you have optimum-intel installed: | |
```bash | |
pip install optimum[openvino] | |
``` | |
To load your model you can do as follows: | |
```python | |
from optimum.intel import OVModelForCausalLM | |
model_id = "dpastushenkov/TinyLlama-1.1B-Chat-v1.0-openvino" | |
model = OVModelForCausalLM.from_pretrained(model_id) | |
``` | |