import{s as ae,n as le,o as oe}from"../chunks/scheduler.35aab934.js";import{S as se,i as re,e as o,s as a,c as I,h as pe,a as s,d as i,b as l,f as ie,g as L,j as b,k as ne,l as me,m as n,n as P,t as y,o as T,p as _}from"../chunks/index.de17b971.js";import{C as ue}from"../chunks/CopyLLMTxtMenu.48bc5cc2.js";import{H as K,E as de}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.8fdece89.js";function fe(U){let r,M,k,V,p,S,m,G,u,J=`So far we have learned about the fundamentals of multimodality with a special spotlight of Vision Language Models. This chapters provide a short overview of CLIP and similar models, highlighting their unique features and applicability to various machine learning tasks.
It sets the stage for a high-level exploration of key multimodal models that have emerged before and after CLIP, showcasing their significant contributions to the advancement of multimodal AI.`,N,d,H,f,Q=`In this part, we explore the innovative attempts in multimodal AI before CLIP.
The focus is on influential papers that used deep learning to make significant strides in the field:`,O,g,X='<li><p><strong>“Multimodal Deep Learning” by Ngiam et al. (2011):</strong> This paper demonstrated the use of deep learning for multimodal inputs, emphasizing the potential of neural networks in integrating different data types. It laid the groundwork for future innovations in multimodal AI.</p> <ul><li><a href="https://people.csail.mit.edu/khosla/papers/icml2011_ngiam.pdf" rel="nofollow">Multimodal Deep Learning</a></li></ul></li> <li><p><strong>“Deep Visual-Semantic Alignments for Generating Image Descriptions” by Karpathy and Fei-Fei (2015):</strong> This study presented a method for aligning textual data with specific image regions, enhancing the interpretability of multimodal systems and advancing the understanding of complex visual-textual relationships.</p> <ul><li><a href="https://cs.stanford.edu/people/karpathy/cvpr2015.pdf" rel="nofollow">Deep Visual-Semantic Alignments for Generating Image Descriptions</a></li></ul></li> <li><p><strong>“Show and Tell: A Neural Image Caption Generator” by Vinyals et al. (2015):</strong> This paper marked a significant step in practical multimodal AI by showing how CNNs and RNNs could be combined to transform visual information into descriptive language.</p> <ul><li><a href="https://arxiv.org/abs/1411.4555" rel="nofollow">Show and Tell: A Neural Image Caption Generator</a></li></ul></li>',D,h,E,c,Y="The emergence of CLIP brought new dimensions to multimodal models, as illustrated by the following developments:",z,v,Z='<li><p><strong>CLIP:</strong> OpenAI’s CLIP was a game-changer, learning from a vast array of internet text-image pairs and enabling zero-shot learning, contrasting with earlier models.</p> <ul><li><a href="https://openai.com/blog/clip/" rel="nofollow">CLIP</a></li></ul></li> <li><p><strong>GroupViT:</strong> Innovating in segmentation and semantic understanding, GroupViT combined these aspects with language, showing advanced integration of language and vision.</p> <ul><li><a href="https://arxiv.org/abs/2202.11094" rel="nofollow">GroupViT</a></li></ul></li> <li><p><strong>BLIP:</strong> BLIP introduced bidirectional learning between vision and language, pushing the boundaries for generating text from visual inputs.</p> <ul><li><a href="https://arxiv.org/abs/2201.12086" rel="nofollow">BLIP</a></li></ul></li> <li><p><strong>OWL-VIT:</strong> Focusing on object-centric representations, OWL-VIT advanced the understanding of objects within images in context with text.</p> <ul><li><a href="https://arxiv.org/abs/2205.06230" rel="nofollow">OWL-VIT</a></li></ul></li>',q,$,F,w,ee=`Hopefully, this section has provided a concise overview of pivotal works in multimodal AI before and after CLIP.
These developments highlight the evolving methods of processing multimodal data and their implications for AI applications.`,R,x,te=`The upcoming sections will delve into the “Losses” aspect, focusing on various loss functions and self-supervised learning crucial for training multimodal models.
The “Models” section will provide a deeper understanding of CLIP and its variants, exploring their designs and functionalities.
Finally, the “Practical Notebooks” section will offer hands-on experience, addressing challenges like data bias and applying these models in tasks such as image search engines and visual question answering systems.
These sections aim to deepen your knowledge and practical skills in the multifaceted world of multimodal AI.`,j,C,B,A,W;return p=new ue({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),m=new K({props:{title:"CLIP and Relatives",local:"clip-and-relatives",headingTag:"h1"}}),d=new K({props:{title:"Pre-CLIP",local:"pre-clip",headingTag:"h2"}}),h=new K({props:{title:"Post-CLIP",local:"post-clip",headingTag:"h2"}}),$=new K({props:{title:"Conclusion",local:"conclusion",headingTag:"h2"}}),C=new de({props:{source:"https://github.com/huggingface/computer-vision-course/blob/main/chapters/en/unit4/multimodal-models/clip-and-relatives/Introduction.mdx"}}),{c(){r=o("meta"),M=a(),k=o("p"),V=a(),I(p.$$.fragment),S=a(),I(m.$$.fragment),G=a(),u=o("p"),u.textContent=J,N=a(),I(d.$$.fragment),H=a(),f=o("p"),f.textContent=Q,O=a(),g=o("ol"),g.innerHTML=X,D=a(),I(h.$$.fragment),E=a(),c=o("p"),c.textContent=Y,z=a(),v=o("ol"),v.innerHTML=Z,q=a(),I($.$$.fragment),F=a(),w=o("p"),w.textContent=ee,R=a(),x=o("p"),x.textContent=te,j=a(),I(C.$$.fragment),B=a(),A=o("p"),this.h()},l(e){const t=pe("svelte-u9bgzb",document.head);r=s(t,"META",{name:!0,content:!0}),t.forEach(i),M=l(e),k=s(e,"P",{}),ie(k).forEach(i),V=l(e),L(p.$$.fragment,e),S=l(e),L(m.$$.fragment,e),G=l(e),u=s(e,"P",{"data-svelte-h":!0}),b(u)!=="svelte-nk93u7"&&(u.textContent=J),N=l(e),L(d.$$.fragment,e),H=l(e),f=s(e,"P",{"data-svelte-h":!0}),b(f)!=="svelte-15oggd9"&&(f.textContent=Q),O=l(e),g=s(e,"OL",{"data-svelte-h":!0}),b(g)!=="svelte-10zvbq4"&&(g.innerHTML=X),D=l(e),L(h.$$.fragment,e),E=l(e),c=s(e,"P",{"data-svelte-h":!0}),b(c)!=="svelte-19cg0xw"&&(c.textContent=Y),z=l(e),v=s(e,"OL",{"data-svelte-h":!0}),b(v)!=="svelte-15f8ovw"&&(v.innerHTML=Z),q=l(e),L($.$$.fragment,e),F=l(e),w=s(e,"P",{"data-svelte-h":!0}),b(w)!=="svelte-ceboa8"&&(w.textContent=ee),R=l(e),x=s(e,"P",{"data-svelte-h":!0}),b(x)!=="svelte-1agkd5k"&&(x.textContent=te),j=l(e),L(C.$$.fragment,e),B=l(e),A=s(e,"P",{}),ie(A).forEach(i),this.h()},h(){ne(r,"name","hf:doc:metadata"),ne(r,"content",ge)},m(e,t){me(document.head,r),n(e,M,t),n(e,k,t),n(e,V,t),P(p,e,t),n(e,S,t),P(m,e,t),n(e,G,t),n(e,u,t),n(e,N,t),P(d,e,t),n(e,H,t),n(e,f,t),n(e,O,t),n(e,g,t),n(e,D,t),P(h,e,t),n(e,E,t),n(e,c,t),n(e,z,t),n(e,v,t),n(e,q,t),P($,e,t),n(e,F,t),n(e,w,t),n(e,R,t),n(e,x,t),n(e,j,t),P(C,e,t),n(e,B,t),n(e,A,t),W=!0},p:le,i(e){W||(y(p.$$.fragment,e),y(m.$$.fragment,e),y(d.$$.fragment,e),y(h.$$.fragment,e),y($.$$.fragment,e),y(C.$$.fragment,e),W=!0)},o(e){T(p.$$.fragment,e),T(m.$$.fragment,e),T(d.$$.fragment,e),T(h.$$.fragment,e),T($.$$.fragment,e),T(C.$$.fragment,e),W=!1},d(e){e&&(i(M),i(k),i(V),i(S),i(G),i(u),i(N),i(H),i(f),i(O),i(g),i(D),i(E),i(c),i(z),i(v),i(q),i(F),i(w),i(R),i(x),i(j),i(B),i(A)),i(r),_(p,e),_(m,e),_(d,e),_(h,e),_($,e),_(C,e)}}}const ge='{"title":"CLIP and Relatives","local":"clip-and-relatives","sections":[{"title":"Pre-CLIP","local":"pre-clip","sections":[],"depth":2},{"title":"Post-CLIP","local":"post-clip","sections":[],"depth":2},{"title":"Conclusion","local":"conclusion","sections":[],"depth":2}],"depth":1}';function he(U){return oe(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class xe extends se{constructor(r){super(),re(this,r,he,fe,ae,{})}}export{xe as component};
