hsuwill000
commited on
Commit
•
156b6ed
1
Parent(s):
49de4e6
Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: HuggingFaceTB/SmolLM2-135M
|
3 |
+
language:
|
4 |
+
- en
|
5 |
+
library_name: transformers
|
6 |
+
license: apache-2.0
|
7 |
+
tags:
|
8 |
+
- openvino
|
9 |
+
- openvino-export
|
10 |
+
---
|
11 |
+
|
12 |
+
This model was converted to OpenVINO from [`HuggingFaceTB/SmolLM2-135M`](https://huggingface.co/HuggingFaceTB/SmolLM2-135M) using [optimum-intel](https://github.com/huggingface/optimum-intel)
|
13 |
+
via the [export](https://huggingface.co/spaces/echarlaix/openvino-export) space.
|
14 |
+
|
15 |
+
First make sure you have optimum-intel installed:
|
16 |
+
|
17 |
+
```bash
|
18 |
+
pip install optimum[openvino]
|
19 |
+
```
|
20 |
+
|
21 |
+
To load your model you can do as follows:
|
22 |
+
|
23 |
+
```python
|
24 |
+
from optimum.intel import OVModelForCausalLM
|
25 |
+
|
26 |
+
model_id = "hsuwill000/SmolLM2-135M-openvino"
|
27 |
+
model = OVModelForCausalLM.from_pretrained(model_id)
|
28 |
+
```
|