From 29e993a5f2f597a157260dd0e847b054a39bb015 Mon Sep 17 00:00:00 2001 From: Lance Martin <122662504+rlancemartin@users.noreply.github.com> Date: Tue, 5 Dec 2023 15:31:10 -0800 Subject: [PATCH] Update OpenCLIP docs (#14319) --- docs/docs/integrations/text_embedding/open_clip.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/integrations/text_embedding/open_clip.ipynb b/docs/docs/integrations/text_embedding/open_clip.ipynb index eb5a2e4910..b55be7d258 100644 --- a/docs/docs/integrations/text_embedding/open_clip.ipynb +++ b/docs/docs/integrations/text_embedding/open_clip.ipynb @@ -92,7 +92,7 @@ "uri_house = \"/Users/rlm/Desktop/test/house.jpg\"\n", "\n", "# Embe images or text\n", - "clip_embd = OpenCLIPEmbeddings()\n", + "clip_embd = OpenCLIPEmbeddings(model_name=\"ViT-g-14\", checkpoint=\"laion2b_s34b_b88k\")\n", "img_feat_dog = clip_embd.embed_image([uri_dog])\n", "img_feat_house = clip_embd.embed_image([uri_house])\n", "text_feat_dog = clip_embd.embed_documents([\"dog\"])\n",