import{s as Q,n as W,o as X}from"../chunks/scheduler.1f027d5a.js";import{S as Z,i as tt,e as s,s as i,c as v,h as et,a as r,d as n,b as a,f as K,g as L,j as w,k as N,l as nt,m as o,n as C,t as x,o as T,p as M}from"../chunks/index.5cb6ce42.js";import{C as ot}from"../chunks/CopyLLMTxtMenu.c64d5249.js";import{H as U,E as it}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.903c2670.js";function at(V){let l,P,k,y,m,R,u,O,f,j=`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.`,A,p,E,c,q="Check out the recently added notebooks:",H,g,Y='<li><a href="grpo_vllm_online_training">Efficient Online Training with GRPO and vLLM in TRL</a></li> <li><a href="function_calling_fine_tuning_llms_on_xlam">Fine-tuning LLMs for Function Calling with the xLAM Dataset</a></li> <li><a href="fine_tuning_vlm_grpo_trl">Post training an VLM for reasoning with GRPO using TRL</a></li> <li><a href="trl_grpo_reasoning_advanced_reward">TRL GRPO Reasoning with Advanced Reward</a></li> <li><a href="fine_tuning_vlm_mpo">Fine-Tuning a Vision Language Model with TRL using MPO</a></li>',S,h,B='You can also check out the notebooks in the cookbook’s <a href="https://github.com/huggingface/cookbook" rel="nofollow">GitHub repo</a>.',G,$,I,_,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”.`,F,b,z,d,D;return m=new ot({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),u=new U({props:{title:"Open-Source AI Cookbook",local:"open-source-ai-cookbook",headingTag:"h1"}}),p=new U({props:{title:"Latest notebooks",local:"latest-notebooks",headingTag:"h2"}}),$=new U({props:{title:"Contributing",local:"contributing",headingTag:"h2"}}),b=new it({props:{source:"https://github.com/huggingface/cookbook/blob/main/notebooks/en/index.md"}}),{c(){l=s("meta"),P=i(),k=s("p"),y=i(),v(m.$$.fragment),R=i(),v(u.$$.fragment),O=i(),f=s("p"),f.textContent=j,A=i(),v(p.$$.fragment),E=i(),c=s("p"),c.textContent=q,H=i(),g=s("ul"),g.innerHTML=Y,S=i(),h=s("p"),h.innerHTML=B,G=i(),v($.$$.fragment),I=i(),_=s("p"),_.innerHTML=J,F=i(),v(b.$$.fragment),z=i(),d=s("p"),this.h()},l(t){const e=et("svelte-u9bgzb",document.head);l=r(e,"META",{name:!0,content:!0}),e.forEach(n),P=a(t),k=r(t,"P",{}),K(k).forEach(n),y=a(t),L(m.$$.fragment,t),R=a(t),L(u.$$.fragment,t),O=a(t),f=r(t,"P",{"data-svelte-h":!0}),w(f)!=="svelte-172bkh9"&&(f.textContent=j),A=a(t),L(p.$$.fragment,t),E=a(t),c=r(t,"P",{"data-svelte-h":!0}),w(c)!=="svelte-1ledt9t"&&(c.textContent=q),H=a(t),g=r(t,"UL",{"data-svelte-h":!0}),w(g)!=="svelte-138r8dk"&&(g.innerHTML=Y),S=a(t),h=r(t,"P",{"data-svelte-h":!0}),w(h)!=="svelte-rkum7e"&&(h.innerHTML=B),G=a(t),L($.$$.fragment,t),I=a(t),_=r(t,"P",{"data-svelte-h":!0}),w(_)!=="svelte-1l0twh0"&&(_.innerHTML=J),F=a(t),L(b.$$.fragment,t),z=a(t),d=r(t,"P",{}),K(d).forEach(n),this.h()},h(){N(l,"name","hf:doc:metadata"),N(l,"content",lt)},m(t,e){nt(document.head,l),o(t,P,e),o(t,k,e),o(t,y,e),C(m,t,e),o(t,R,e),C(u,t,e),o(t,O,e),o(t,f,e),o(t,A,e),C(p,t,e),o(t,E,e),o(t,c,e),o(t,H,e),o(t,g,e),o(t,S,e),o(t,h,e),o(t,G,e),C($,t,e),o(t,I,e),o(t,_,e),o(t,F,e),C(b,t,e),o(t,z,e),o(t,d,e),D=!0},p:W,i(t){D||(x(m.$$.fragment,t),x(u.$$.fragment,t),x(p.$$.fragment,t),x($.$$.fragment,t),x(b.$$.fragment,t),D=!0)},o(t){T(m.$$.fragment,t),T(u.$$.fragment,t),T(p.$$.fragment,t),T($.$$.fragment,t),T(b.$$.fragment,t),D=!1},d(t){t&&(n(P),n(k),n(y),n(R),n(O),n(f),n(A),n(E),n(c),n(H),n(g),n(S),n(h),n(G),n(I),n(_),n(F),n(z),n(d)),n(l),M(m,t),M(u,t),M(p,t),M($,t),M(b,t)}}}const lt='{"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 st(V){return X(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class pt extends Z{constructor(l){super(),tt(this,l,st,at,Q,{})}}export{pt as component};
