Update README.md
Browse files
README.md
CHANGED
@@ -5,12 +5,12 @@ tags: []
|
|
5 |
|
6 |
# Model Card for Model ID
|
7 |
|
8 |
-
This is a tiny random vit model derived from "google/vit-base-patch16-224". It was uploaded by
|
9 |
|
10 |
```
|
11 |
-
from optimum.intel import
|
12 |
|
13 |
-
model =
|
14 |
model.push_to_hub("Intel/tiny-random-vit_ipex_model")
|
15 |
```
|
16 |
|
|
|
5 |
|
6 |
# Model Card for Model ID
|
7 |
|
8 |
+
This is a tiny random vit model derived from "google/vit-base-patch16-224". It was uploaded by IPEXModelForImageClassification.
|
9 |
|
10 |
```
|
11 |
+
from optimum.intel import IPEXModelForImageClassification
|
12 |
|
13 |
+
model = IPEXModelForImageClassification.from_pretrained("hf-internal-testing/tiny-random-vit")
|
14 |
model.push_to_hub("Intel/tiny-random-vit_ipex_model")
|
15 |
```
|
16 |
|