mwalmsley commited on
Commit
3bfeff7
1 Parent(s): 03ab7cf

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +11 -0
README.md CHANGED
@@ -6,3 +6,14 @@ library_name: timm
6
  license: apache-2.0
7
  ---
8
  # Model card for zoobot-encoder-resnet18
 
 
 
 
 
 
 
 
 
 
 
 
6
  license: apache-2.0
7
  ---
8
  # Model card for zoobot-encoder-resnet18
9
+
10
+
11
+ Please see the [Zoobot docs](https://zoobot.readthedocs.io/en/latest/pretrained_models.html) for loading and finetuning instructions.
12
+
13
+ But minimally, you can use this like any timm encoder:
14
+
15
+ ```python
16
+ import timm
17
+
18
+ encoder = timm.create_model('hf_hub:mwalmsley/zoobot-encoder-some-name', pretrained=True, num_classes=0)
19
+ ```