import{s as K,n as N,o as Q}from"../chunks/scheduler.39a43cde.js";import{S as V,i as W,g as s,s as a,r as E,A as X,h as r,f as o,c as i,j as B,u as O,x as _,k as J,y as tt,a as n,v as z,d as I,t as j,w as U}from"../chunks/index.23ec2204.js";import{H as D,E as et}from"../chunks/EditOnGithub.f2d09226.js";function ot(F){let l,C,d,v,u,w,f,G=`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,c,y,m,R="Check out the recently added notebooks:",T,p,q='<li><a href="analyzing_art_with_hf_and_fiftyone">Analyzing Artistic Styles with 🤗 Transformers, 🤗 Hub, and FiftyOne</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>',L,h,Y='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,H,g,Z=`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”.`,M,k,P,$,S;return u=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"}}),b=new D({props:{title:"Contributing",local:"contributing",headingTag:"h2"}}),k=new et({props:{source:"https://github.com/huggingface/cookbook/blob/main/notebooks/en/index.md"}}),{c(){l=s("meta"),C=a(),d=s("p"),v=a(),E(u.$$.fragment),w=a(),f=s("p"),f.textContent=G,x=a(),E(c.$$.fragment),y=a(),m=s("p"),m.textContent=R,T=a(),p=s("ul"),p.innerHTML=q,L=a(),h=s("p"),h.innerHTML=Y,A=a(),E(b.$$.fragment),H=a(),g=s("p"),g.innerHTML=Z,M=a(),E(k.$$.fragment),P=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),d=r(t,"P",{}),B(d).forEach(o),v=i(t),O(u.$$.fragment,t),w=i(t),f=r(t,"P",{"data-svelte-h":!0}),_(f)!=="svelte-172bkh9"&&(f.textContent=G),x=i(t),O(c.$$.fragment,t),y=i(t),m=r(t,"P",{"data-svelte-h":!0}),_(m)!=="svelte-1ledt9t"&&(m.textContent=R),T=i(t),p=r(t,"UL",{"data-svelte-h":!0}),_(p)!=="svelte-z3hftz"&&(p.innerHTML=q),L=i(t),h=r(t,"P",{"data-svelte-h":!0}),_(h)!=="svelte-rkum7e"&&(h.innerHTML=Y),A=i(t),O(b.$$.fragment,t),H=i(t),g=r(t,"P",{"data-svelte-h":!0}),_(g)!=="svelte-1l0twh0"&&(g.innerHTML=Z),M=i(t),O(k.$$.fragment,t),P=i(t),$=r(t,"P",{}),B($).forEach(o),this.h()},h(){J(l,"name","hf:doc:metadata"),J(l,"content",nt)},m(t,e){tt(document.head,l),n(t,C,e),n(t,d,e),n(t,v,e),z(u,t,e),n(t,w,e),n(t,f,e),n(t,x,e),z(c,t,e),n(t,y,e),n(t,m,e),n(t,T,e),n(t,p,e),n(t,L,e),n(t,h,e),n(t,A,e),z(b,t,e),n(t,H,e),n(t,g,e),n(t,M,e),z(k,t,e),n(t,P,e),n(t,$,e),S=!0},p:N,i(t){S||(I(u.$$.fragment,t),I(c.$$.fragment,t),I(b.$$.fragment,t),I(k.$$.fragment,t),S=!0)},o(t){j(u.$$.fragment,t),j(c.$$.fragment,t),j(b.$$.fragment,t),j(k.$$.fragment,t),S=!1},d(t){t&&(o(C),o(d),o(v),o(w),o(f),o(x),o(y),o(m),o(T),o(p),o(L),o(h),o(A),o(H),o(g),o(M),o(P),o($)),o(l),U(u,t),U(c,t),U(b,t),U(k,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(F){return Q(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class rt extends V{constructor(l){super(),W(this,l,at,ot,K,{})}}export{rt as component};
