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 I,d as R,t as D,w as G}from"../chunks/index.aa74147d.js";import{H as U,E as te}from"../chunks/EditOnGithub.4eda6a96.js";function oe(z){let l,v,_,w,m,C,u,B=`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,F="Check out the recently added notebooks:",T,p,V='<li><a href="vector_search_with_hub_as_backend">Vector Search on Hugging Face with the Hub as Backend</a></li> <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>',x,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>.',S,g,y,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”.`,P,k,H,d,A;return m=new U({props:{title:"Open-Source AI Cookbook",local:"open-source-ai-cookbook",headingTag:"h1"}}),c=new U({props:{title:"Latest notebooks",local:"latest-notebooks",headingTag:"h2"}}),g=new U({props:{title:"Contributing",local:"contributing",headingTag:"h2"}}),k=new te({props:{source:"https://github.com/huggingface/cookbook/blob/main/notebooks/en/index.md"}}),{c(){l=s("meta"),v=i(),_=s("p"),w=i(),E(m.$$.fragment),C=i(),u=s("p"),u.textContent=B,L=i(),E(c.$$.fragment),M=i(),f=s("p"),f.textContent=F,T=i(),p=s("ul"),p.innerHTML=V,x=i(),h=s("p"),h.innerHTML=j,S=i(),E(g.$$.fragment),y=i(),b=s("p"),b.innerHTML=q,P=i(),E(k.$$.fragment),H=i(),d=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),_=r(e,"P",{}),Y(_).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=B),L=a(e),O(c.$$.fragment,e),M=a(e),f=r(e,"P",{"data-svelte-h":!0}),$(f)!=="svelte-1ledt9t"&&(f.textContent=F),T=a(e),p=r(e,"UL",{"data-svelte-h":!0}),$(p)!=="svelte-118mmyt"&&(p.innerHTML=V),x=a(e),h=r(e,"P",{"data-svelte-h":!0}),$(h)!=="svelte-rkum7e"&&(h.innerHTML=j),S=a(e),O(g.$$.fragment,e),y=a(e),b=r(e,"P",{"data-svelte-h":!0}),$(b)!=="svelte-1l0twh0"&&(b.innerHTML=q),P=a(e),O(k.$$.fragment,e),H=a(e),d=r(e,"P",{}),Y(d).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,_,t),n(e,w,t),I(m,e,t),n(e,C,t),n(e,u,t),n(e,L,t),I(c,e,t),n(e,M,t),n(e,f,t),n(e,T,t),n(e,p,t),n(e,x,t),n(e,h,t),n(e,S,t),I(g,e,t),n(e,y,t),n(e,b,t),n(e,P,t),I(k,e,t),n(e,H,t),n(e,d,t),A=!0},p:N,i(e){A||(R(m.$$.fragment,e),R(c.$$.fragment,e),R(g.$$.fragment,e),R(k.$$.fragment,e),A=!0)},o(e){D(m.$$.fragment,e),D(c.$$.fragment,e),D(g.$$.fragment,e),D(k.$$.fragment,e),A=!1},d(e){e&&(o(v),o(_),o(w),o(C),o(u),o(L),o(M),o(f),o(T),o(p),o(x),o(h),o(S),o(y),o(b),o(P),o(H),o(d)),o(l),G(m,e),G(c,e),G(g,e),G(k,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(z){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};
