Update README.md
Browse files
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('
|
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'
|