import{s as K,n as N,o as Q}from"../chunks/scheduler.65852ee5.js";import{S as W,i as X,g as s,s as i,r as E,A as Z,h as r,f as o,c as a,j as Y,u as O,x as $,k as J,y as ee,a as n,v as G,d as I,t as R,w as U}from"../chunks/index.aa74147d.js";import{H as D,E as te}from"../chunks/EditOnGithub.4eda6a96.js";function oe(V){let l,v,d,w,m,C,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.`,M,c,L,f,B="Check out the recently added notebooks:",T,p,F='<li><a href="mongodb_smolagents_multi_micro_agents">Multi-Agent Order Management System with MongoDB</a></li> <li><a href="search_and_learn">Scaling Test-Time Compute for Longer Thinking in LLMs</a></li> <li><a href="mlflow_ray_serve">Signature-Aware Model Serving from MLflow with Ray Serve</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> <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>',S,h,j='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,P,b,q=`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”.`,y,_,A,k,H;return m=new D({props:{title:"Open-Source AI Cookbook",local:"open-source-ai-cookbook",headingTag:"h1"}}),c=new D({props:{title:"Latest notebooks",local:"latest-notebooks",headingTag:"h2"}}),g=new D({props:{title:"Contributing",local:"contributing",headingTag:"h2"}}),_=new te({props:{source:"https://github.com/huggingface/cookbook/blob/main/notebooks/en/index.md"}}),{c(){l=s("meta"),v=i(),d=s("p"),w=i(),E(m.$$.fragment),C=i(),u=s("p"),u.textContent=z,M=i(),E(c.$$.fragment),L=i(),f=s("p"),f.textContent=B,T=i(),p=s("ul"),p.innerHTML=F,S=i(),h=s("p"),h.innerHTML=j,x=i(),E(g.$$.fragment),P=i(),b=s("p"),b.innerHTML=q,y=i(),E(_.$$.fragment),A=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(o),v=a(e),d=r(e,"P",{}),Y(d).forEach(o),w=a(e),O(m.$$.fragment,e),C=a(e),u=r(e,"P",{"data-svelte-h":!0}),$(u)!=="svelte-172bkh9"&&(u.textContent=z),M=a(e),O(c.$$.fragment,e),L=a(e),f=r(e,"P",{"data-svelte-h":!0}),$(f)!=="svelte-1ledt9t"&&(f.textContent=B),T=a(e),p=r(e,"UL",{"data-svelte-h":!0}),$(p)!=="svelte-8fvalm"&&(p.innerHTML=F),S=a(e),h=r(e,"P",{"data-svelte-h":!0}),$(h)!=="svelte-rkum7e"&&(h.innerHTML=j),x=a(e),O(g.$$.fragment,e),P=a(e),b=r(e,"P",{"data-svelte-h":!0}),$(b)!=="svelte-1l0twh0"&&(b.innerHTML=q),y=a(e),O(_.$$.fragment,e),A=a(e),k=r(e,"P",{}),Y(k).forEach(o),this.h()},h(){J(l,"name","hf:doc:metadata"),J(l,"content",ne)},m(e,t){ee(document.head,l),n(e,v,t),n(e,d,t),n(e,w,t),G(m,e,t),n(e,C,t),n(e,u,t),n(e,M,t),G(c,e,t),n(e,L,t),n(e,f,t),n(e,T,t),n(e,p,t),n(e,S,t),n(e,h,t),n(e,x,t),G(g,e,t),n(e,P,t),n(e,b,t),n(e,y,t),G(_,e,t),n(e,A,t),n(e,k,t),H=!0},p:N,i(e){H||(I(m.$$.fragment,e),I(c.$$.fragment,e),I(g.$$.fragment,e),I(_.$$.fragment,e),H=!0)},o(e){R(m.$$.fragment,e),R(c.$$.fragment,e),R(g.$$.fragment,e),R(_.$$.fragment,e),H=!1},d(e){e&&(o(v),o(d),o(w),o(C),o(u),o(M),o(L),o(f),o(T),o(p),o(S),o(h),o(x),o(P),o(b),o(y),o(A),o(k)),o(l),U(m,e),U(c,e),U(g,e),U(_,e)}}}const ne='{"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(V){return Q(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class re extends W{constructor(l){super(),X(this,l,ie,oe,K,{})}}export{re as component};
