import{s as J,n as K,o as N}from"../chunks/scheduler.65852ee5.js";import{S as W,i as X,g as s,s as i,r as G,A as Z,h as r,f as n,c as a,j as q,u as H,x as $,k as Y,y as ee,a as o,v as E,d as V,t as O,w as U}from"../chunks/index.aa74147d.js";import{H as F,E as te}from"../chunks/EditOnGithub.4eda6a96.js";function ne(I){let l,v,b,C,m,w,u,z=`The Open-Source AI Cookbook is a collection of notebooks illustrating practical aspects of building AI
applications and solving various machine learning tasks using open-source tools and models.`,L,c,M,f,D="Check out the recently added notebooks:",T,p,Q='<li><a href="multimodal_rag_using_document_retrieval_and_vlms">Multimodal Retrieval-Augmented Generation (RAG) with Document Retrieval (ColPali) and Vision Language Models (VLMs)</a></li> <li><a href="fine_tuning_vlm_trl">Fine-Tuning a Vision Language Model (Qwen2-VL-7B) with the Hugging Face Ecosystem (TRL)</a></li> <li><a href="multiagent_rag_system">Multi-agent RAG System 🤖🤝🤖</a></li> <li><a href="multimodal_rag_using_document_retrieval_and_reranker_and_vlms">Multimodal RAG with ColQwen2, Reranker, and Quantized VLMs on Consumer GPUs</a></li> <li><a href="fine_tuning_smol_vlm_sft_trl">Fine-tuning SmolVLM with TRL on a consumer GPU</a></li> <li><a href="multimodal_rag_using_document_retrieval_and_smol_vlm">Smol Multimodal RAG: Building with ColSmolVLM and SmolVLM on Colab’s Free-Tier GPU</a></li> <li><a href="fine_tuning_vlm_dpo_smolvlm_instruct">Fine-tuning SmolVLM using direct preference optimization (DPO) with TRL on a consumer GPU</a></li>',P,_,B='You can also check out the notebooks in the cookbook’s <a href="https://github.com/huggingface/cookbook" rel="nofollow">GitHub repo</a>.',x,g,y,h,j=`The Open-Source AI Cookbook is a community effort, and we welcome contributions from everyone!
Check out the cookbook’s <a href="https://github.com/huggingface/cookbook/blob/main/README.md" rel="nofollow">Contribution guide</a> to learn
how you can add your “recipe”.`,A,d,S,k,R;return m=new F({props:{title:"Open-Source AI Cookbook",local:"open-source-ai-cookbook",headingTag:"h1"}}),c=new F({props:{title:"Latest notebooks",local:"latest-notebooks",headingTag:"h2"}}),g=new F({props:{title:"Contributing",local:"contributing",headingTag:"h2"}}),d=new te({props:{source:"https://github.com/huggingface/cookbook/blob/main/notebooks/en/index.md"}}),{c(){l=s("meta"),v=i(),b=s("p"),C=i(),G(m.$$.fragment),w=i(),u=s("p"),u.textContent=z,L=i(),G(c.$$.fragment),M=i(),f=s("p"),f.textContent=D,T=i(),p=s("ul"),p.innerHTML=Q,P=i(),_=s("p"),_.innerHTML=B,x=i(),G(g.$$.fragment),y=i(),h=s("p"),h.innerHTML=j,A=i(),G(d.$$.fragment),S=i(),k=s("p"),this.h()},l(e){const t=Z("svelte-u9bgzb",document.head);l=r(t,"META",{name:!0,content:!0}),t.forEach(n),v=a(e),b=r(e,"P",{}),q(b).forEach(n),C=a(e),H(m.$$.fragment,e),w=a(e),u=r(e,"P",{"data-svelte-h":!0}),$(u)!=="svelte-172bkh9"&&(u.textContent=z),L=a(e),H(c.$$.fragment,e),M=a(e),f=r(e,"P",{"data-svelte-h":!0}),$(f)!=="svelte-1ledt9t"&&(f.textContent=D),T=a(e),p=r(e,"UL",{"data-svelte-h":!0}),$(p)!=="svelte-y61zr2"&&(p.innerHTML=Q),P=a(e),_=r(e,"P",{"data-svelte-h":!0}),$(_)!=="svelte-rkum7e"&&(_.innerHTML=B),x=a(e),H(g.$$.fragment,e),y=a(e),h=r(e,"P",{"data-svelte-h":!0}),$(h)!=="svelte-1l0twh0"&&(h.innerHTML=j),A=a(e),H(d.$$.fragment,e),S=a(e),k=r(e,"P",{}),q(k).forEach(n),this.h()},h(){Y(l,"name","hf:doc:metadata"),Y(l,"content",oe)},m(e,t){ee(document.head,l),o(e,v,t),o(e,b,t),o(e,C,t),E(m,e,t),o(e,w,t),o(e,u,t),o(e,L,t),E(c,e,t),o(e,M,t),o(e,f,t),o(e,T,t),o(e,p,t),o(e,P,t),o(e,_,t),o(e,x,t),E(g,e,t),o(e,y,t),o(e,h,t),o(e,A,t),E(d,e,t),o(e,S,t),o(e,k,t),R=!0},p:K,i(e){R||(V(m.$$.fragment,e),V(c.$$.fragment,e),V(g.$$.fragment,e),V(d.$$.fragment,e),R=!0)},o(e){O(m.$$.fragment,e),O(c.$$.fragment,e),O(g.$$.fragment,e),O(d.$$.fragment,e),R=!1},d(e){e&&(n(v),n(b),n(C),n(w),n(u),n(L),n(M),n(f),n(T),n(p),n(P),n(_),n(x),n(y),n(h),n(A),n(S),n(k)),n(l),U(m,e),U(c,e),U(g,e),U(d,e)}}}const oe='{"title":"Open-Source AI Cookbook","local":"open-source-ai-cookbook","sections":[{"title":"Latest notebooks","local":"latest-notebooks","sections":[],"depth":2},{"title":"Contributing","local":"contributing","sections":[],"depth":2}],"depth":1}';function ie(I){return N(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class re extends W{constructor(l){super(),X(this,l,ie,ne,J,{})}}export{re as component};
