import{s as J,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 O,A as Z,h as r,f as o,c as a,j as Y,u as S,x as $,k as B,y as tt,a as n,v as G,d as I,t as D,w as F}from"../chunks/index.65a1b999.js";import{H as R,E as et}from"../chunks/getInferenceSnippets.5a9e4eba.js";function ot(j){let l,C,k,v,u,w,c,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.`,T,m,x,f,U="Check out the recently added notebooks:",L,p,V='<li><a href="fine_tuning_vlm_mpo">Fine-Tuning a Vision Language Model with TRL using MPO</a></li> <li><a href="fine_tuning_vlm_object_detection_grounding">Fine tuning a VLM for Object Detection Grounding using TRL</a></li> <li><a href="optuna_hpo_with_transformers">Hyperparameter Optimization with Optuna and Transformers</a></li> <li><a href="finetune_t5_for_search_tag_generation">Fine-tuning T5 for Automatic GitHub Tag Generation with PEFT</a></li> <li><a href="fine_tune_chatbot_docs_synthetic">Documentation Chatbot with Meta Synthetic Data Kit</a></li>',M,h,q='You can also check out the notebooks in the cookbook’s <a href="https://github.com/huggingface/cookbook" rel="nofollow">GitHub repo</a>.',y,g,P,b,K=`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”.\``,H,_,A,d,E;return u=new R({props:{title:"Open-Source AI Cookbook",local:"open-source-ai-cookbook",headingTag:"h1"}}),m=new R({props:{title:"Latest notebooks",local:"latest-notebooks",headingTag:"h2"}}),g=new R({props:{title:"Contributing",local:"contributing",headingTag:"h2"}}),_=new et({props:{source:"https://github.com/huggingface/cookbook/blob/main/notebooks/en/index.md"}}),{c(){l=s("meta"),C=i(),k=s("p"),v=i(),O(u.$$.fragment),w=i(),c=s("p"),c.textContent=z,T=i(),O(m.$$.fragment),x=i(),f=s("p"),f.textContent=U,L=i(),p=s("ul"),p.innerHTML=V,M=i(),h=s("p"),h.innerHTML=q,y=i(),O(g.$$.fragment),P=i(),b=s("p"),b.innerHTML=K,H=i(),O(_.$$.fragment),A=i(),d=s("p"),this.h()},l(t){const e=Z("svelte-u9bgzb",document.head);l=r(e,"META",{name:!0,content:!0}),e.forEach(o),C=a(t),k=r(t,"P",{}),Y(k).forEach(o),v=a(t),S(u.$$.fragment,t),w=a(t),c=r(t,"P",{"data-svelte-h":!0}),$(c)!=="svelte-172bkh9"&&(c.textContent=z),T=a(t),S(m.$$.fragment,t),x=a(t),f=r(t,"P",{"data-svelte-h":!0}),$(f)!=="svelte-1ledt9t"&&(f.textContent=U),L=a(t),p=r(t,"UL",{"data-svelte-h":!0}),$(p)!=="svelte-10fl3ct"&&(p.innerHTML=V),M=a(t),h=r(t,"P",{"data-svelte-h":!0}),$(h)!=="svelte-rkum7e"&&(h.innerHTML=q),y=a(t),S(g.$$.fragment,t),P=a(t),b=r(t,"P",{"data-svelte-h":!0}),$(b)!=="svelte-ro8he8"&&(b.innerHTML=K),H=a(t),S(_.$$.fragment,t),A=a(t),d=r(t,"P",{}),Y(d).forEach(o),this.h()},h(){B(l,"name","hf:doc:metadata"),B(l,"content",nt)},m(t,e){tt(document.head,l),n(t,C,e),n(t,k,e),n(t,v,e),G(u,t,e),n(t,w,e),n(t,c,e),n(t,T,e),G(m,t,e),n(t,x,e),n(t,f,e),n(t,L,e),n(t,p,e),n(t,M,e),n(t,h,e),n(t,y,e),G(g,t,e),n(t,P,e),n(t,b,e),n(t,H,e),G(_,t,e),n(t,A,e),n(t,d,e),E=!0},p:N,i(t){E||(I(u.$$.fragment,t),I(m.$$.fragment,t),I(g.$$.fragment,t),I(_.$$.fragment,t),E=!0)},o(t){D(u.$$.fragment,t),D(m.$$.fragment,t),D(g.$$.fragment,t),D(_.$$.fragment,t),E=!1},d(t){t&&(o(C),o(k),o(v),o(w),o(c),o(T),o(x),o(f),o(L),o(p),o(M),o(h),o(y),o(P),o(b),o(H),o(A),o(d)),o(l),F(u,t),F(m,t),F(g,t),F(_,t)}}}const nt='{"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 it(j){return Q(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class rt extends W{constructor(l){super(),X(this,l,it,ot,J,{})}}export{rt as component};
