Victor Gallego commited on
Commit
752d523
1 Parent(s): e214ed0

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +11 -0
README.md ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ CLIP model retrained over some subset of the DPC dataset
2
+
3
+ ### Usage instructions
4
+
5
+ ```
6
+ from transformers import AutoTokenizer, AutoModel, CLIPProcessor
7
+
8
+ tokenizer = AutoTokenizer.from_pretrained("vicgalle/clip-vit-base-patch16-photo-critique")
9
+ model = AutoModel.from_pretrained("vicgalle/clip-vit-base-patch16-photo-critique", from_flax=True)
10
+ processor = CLIPProcessor.from_pretrained("vicgalle/clip-vit-base-patch16-photo-critique")
11
+ ```