chuhac commited on
Commit
5d97512
1 Parent(s): e726b94

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +20 -3
README.md CHANGED
@@ -1,3 +1,20 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ language:
4
+ - en
5
+ pipeline_tag: zero-shot-classification
6
+ ---
7
+
8
+ ### Huggingface-friendly BiomedCLIP
9
+
10
+ 1. pure torch and huggingface-based implementation of the original microsoft/BiomedCLIP-PubMedBERT_256-vit_base_patch16_224
11
+ 2. rename the checkpoint state key names.
12
+
13
+ ### Usage
14
+
15
+ ```python
16
+ from transformers import AutoModel, AutoProcessor
17
+
18
+ model = AutoModel.from_pretrained("chuhac/BiomedCLIP-vit-bert-hf", trust_remote_code=True)
19
+ processor = AutoProcessor.from_pretrained("chuhac/BiomedCLIP-vit-bert-hf", trust_remote_code=True)
20
+ ```