Jiqing commited on
Commit
e6aef6e
1 Parent(s): 923c185

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -3
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 IPEXModelForCausalLM.
9
 
10
  ```
11
- from optimum.intel import IPEXModelForCausalLM
12
 
13
- model = IPEXModelForCausalLM.from_pretrained("hf-internal-testing/tiny-random-vit")
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