Transformers
PyTorch
flava
pretraining
Inference Endpoints
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -55,7 +55,7 @@ inputs = feature_extractor(images=[image, image], return_tensors="pt")
55
  outputs = model(**inputs)
56
  image_embeddings = outputs.image_embeddings
57
 
58
- ## Pass only image
59
  from transformers import BertTokenizer
60
 
61
  tokenizer = BertTokenizer.from_pretrained("facebook/flava-full")
 
55
  outputs = model(**inputs)
56
  image_embeddings = outputs.image_embeddings
57
 
58
+ ## Pass only text
59
  from transformers import BertTokenizer
60
 
61
  tokenizer = BertTokenizer.from_pretrained("facebook/flava-full")