Transformers
PyTorch
flava
pretraining
Inference Endpoints
lysandre HF staff Mitternachtsmond commited on
Commit
54652f1
1 Parent(s): 57949b6

Update README.md (#1)

Browse files

- Update README.md (21a6befc855d7197c52f388cb14f3a5f344b3fa5)


Co-authored-by: Nishit Singh <Mitternachtsmond@users.noreply.huggingface.co>

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")