OpenCLIP
PyTorch
clip
vaishaal commited on
Commit
3898f6c
·
1 Parent(s): 7076702

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -72,7 +72,7 @@ from PIL import Image
72
  from open_clip import create_model_from_pretrained, get_tokenizer
73
 
74
  model, preprocess = create_model_from_pretrained('hf-hub:apple/DFN5B-CLIP-ViT-H-14')
75
- tokenizer = get_tokenizer('hf-hub:apple/DFN5B-CLIP-ViT-H-14)
76
 
77
  image = Image.open(urlopen(
78
  'https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/beignets-task-guide.png'
 
72
  from open_clip import create_model_from_pretrained, get_tokenizer
73
 
74
  model, preprocess = create_model_from_pretrained('hf-hub:apple/DFN5B-CLIP-ViT-H-14')
75
+ tokenizer = get_tokenizer('ViT-H-14')
76
 
77
  image = Image.open(urlopen(
78
  'https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/beignets-task-guide.png'