subhuatharva commited on
Commit
3ef58c5
1 Parent(s): b8c7f2e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -2
README.md CHANGED
@@ -18,7 +18,8 @@ pipeline_tag: image-classification
18
  - **Swin Transformer**: Hierarchical Vision Transformer using Shifted Windows: https://arxiv.org/abs/2103.14030
19
  - **Original**: https://github.com/microsoft/Cream/tree/main/AutoFormerV2
20
 
21
- '''python
 
22
  import joblib
23
  from huggingface_hub import hf_hub_download
24
  import safetensors
@@ -35,4 +36,4 @@ model = create_model(
35
  num_classes=17
36
  )
37
  load_model(model, model_path)
38
- '''
 
18
  - **Swin Transformer**: Hierarchical Vision Transformer using Shifted Windows: https://arxiv.org/abs/2103.14030
19
  - **Original**: https://github.com/microsoft/Cream/tree/main/AutoFormerV2
20
 
21
+ ## how to load the model
22
+ ```python
23
  import joblib
24
  from huggingface_hub import hf_hub_download
25
  import safetensors
 
36
  num_classes=17
37
  )
38
  load_model(model, model_path)
39
+ ```