import{s as Z,n as J,o as K}from"../chunks/scheduler.39a43cde.js";import{S as N,i as Q,g as s,s as a,r as E,A as X,h as r,f as o,c as i,j as W,u as I,x as $,k as Y,y as tt,a as n,v as O,d as D,t as U,w as j}from"../chunks/index.23ec2204.js";import{H as G,E as et}from"../chunks/EditOnGithub.f2d09226.js";function ot(R){let l,C,k,v,u,w,c,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.`,x,m,T,f,F="Check out the recently added notebooks:",L,p,q='<li><a href="fine_tuning_vit_custom_dataset">Fine-tuning a Vision Transformer Model With a Custom Biomedical Dataset</a></li> <li><a href="llm_judge">Using LLM-as-a-judge 🧑‍⚖️ for an automated and versatile evaluation</a></li> <li><a href="pipeline_notus_instructions_preferences_legal">Create a legal preference dataset</a></li> <li><a href="labelling_feedback_setfit">Suggestions for Data Annotation with SetFit in Zero-shot Text Classification</a></li> <li><a href="rag_with_unstructured_data">Building RAG with Custom Unstructured Data</a></li>',M,h,z='You can also check out the notebooks in the cookbook’s <a href="https://github.com/huggingface/cookbook" rel="nofollow">GitHub repo</a>.',A,b,P,g,V=`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,d,H,_,S;return u=new G({props:{title:"Open-Source AI Cookbook",local:"open-source-ai-cookbook",headingTag:"h1"}}),m=new G({props:{title:"Latest notebooks",local:"latest-notebooks",headingTag:"h2"}}),b=new G({props:{title:"Contributing",local:"contributing",headingTag:"h2"}}),d=new et({props:{source:"https://github.com/huggingface/cookbook/blob/main/notebooks/en/index.md"}}),{c(){l=s("meta"),C=a(),k=s("p"),v=a(),E(u.$$.fragment),w=a(),c=s("p"),c.textContent=B,x=a(),E(m.$$.fragment),T=a(),f=s("p"),f.textContent=F,L=a(),p=s("ul"),p.innerHTML=q,M=a(),h=s("p"),h.innerHTML=z,A=a(),E(b.$$.fragment),P=a(),g=s("p"),g.innerHTML=V,y=a(),E(d.$$.fragment),H=a(),_=s("p"),this.h()},l(t){const e=X("svelte-u9bgzb",document.head);l=r(e,"META",{name:!0,content:!0}),e.forEach(o),C=i(t),k=r(t,"P",{}),W(k).forEach(o),v=i(t),I(u.$$.fragment,t),w=i(t),c=r(t,"P",{"data-svelte-h":!0}),$(c)!=="svelte-172bkh9"&&(c.textContent=B),x=i(t),I(m.$$.fragment,t),T=i(t),f=r(t,"P",{"data-svelte-h":!0}),$(f)!=="svelte-1ledt9t"&&(f.textContent=F),L=i(t),p=r(t,"UL",{"data-svelte-h":!0}),$(p)!=="svelte-tbcw7o"&&(p.innerHTML=q),M=i(t),h=r(t,"P",{"data-svelte-h":!0}),$(h)!=="svelte-rkum7e"&&(h.innerHTML=z),A=i(t),I(b.$$.fragment,t),P=i(t),g=r(t,"P",{"data-svelte-h":!0}),$(g)!=="svelte-1l0twh0"&&(g.innerHTML=V),y=i(t),I(d.$$.fragment,t),H=i(t),_=r(t,"P",{}),W(_).forEach(o),this.h()},h(){Y(l,"name","hf:doc:metadata"),Y(l,"content",nt)},m(t,e){tt(document.head,l),n(t,C,e),n(t,k,e),n(t,v,e),O(u,t,e),n(t,w,e),n(t,c,e),n(t,x,e),O(m,t,e),n(t,T,e),n(t,f,e),n(t,L,e),n(t,p,e),n(t,M,e),n(t,h,e),n(t,A,e),O(b,t,e),n(t,P,e),n(t,g,e),n(t,y,e),O(d,t,e),n(t,H,e),n(t,_,e),S=!0},p:J,i(t){S||(D(u.$$.fragment,t),D(m.$$.fragment,t),D(b.$$.fragment,t),D(d.$$.fragment,t),S=!0)},o(t){U(u.$$.fragment,t),U(m.$$.fragment,t),U(b.$$.fragment,t),U(d.$$.fragment,t),S=!1},d(t){t&&(o(C),o(k),o(v),o(w),o(c),o(x),o(T),o(f),o(L),o(p),o(M),o(h),o(A),o(P),o(g),o(y),o(H),o(_)),o(l),j(u,t),j(m,t),j(b,t),j(d,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 at(R){return K(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class rt extends N{constructor(l){super(),Q(this,l,at,ot,Z,{})}}export{rt as component};
