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 Z,u as O,x as $,k as J,y as tt,a as n,v as I,d as z,t as U,w as j}from"../chunks/index.23ec2204.js";import{H as D,E as et}from"../chunks/EditOnGithub.f2d09226.js";function ot(G){let l,C,k,w,u,v,f,R=`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,F="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> <li><a href="rag_with_unstructured_data">Building RAG with Custom Unstructured Data</a></li>',A,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>.',L,b,H,g,Y=`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,d,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"}}),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"),w=a(),E(u.$$.fragment),v=a(),f=s("p"),f.textContent=R,x=a(),E(c.$$.fragment),y=a(),m=s("p"),m.textContent=F,T=a(),p=s("ul"),p.innerHTML=q,A=a(),h=s("p"),h.innerHTML=B,L=a(),E(b.$$.fragment),H=a(),g=s("p"),g.innerHTML=Y,M=a(),E(d.$$.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),k=r(t,"P",{}),Z(k).forEach(o),w=i(t),O(u.$$.fragment,t),v=i(t),f=r(t,"P",{"data-svelte-h":!0}),$(f)!=="svelte-172bkh9"&&(f.textContent=R),x=i(t),O(c.$$.fragment,t),y=i(t),m=r(t,"P",{"data-svelte-h":!0}),$(m)!=="svelte-1ledt9t"&&(m.textContent=F),T=i(t),p=r(t,"UL",{"data-svelte-h":!0}),$(p)!=="svelte-woh3yz"&&(p.innerHTML=q),A=i(t),h=r(t,"P",{"data-svelte-h":!0}),$(h)!=="svelte-rkum7e"&&(h.innerHTML=B),L=i(t),O(b.$$.fragment,t),H=i(t),g=r(t,"P",{"data-svelte-h":!0}),$(g)!=="svelte-1l0twh0"&&(g.innerHTML=Y),M=i(t),O(d.$$.fragment,t),P=i(t),_=r(t,"P",{}),Z(_).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,k,e),n(t,w,e),I(u,t,e),n(t,v,e),n(t,f,e),n(t,x,e),I(c,t,e),n(t,y,e),n(t,m,e),n(t,T,e),n(t,p,e),n(t,A,e),n(t,h,e),n(t,L,e),I(b,t,e),n(t,H,e),n(t,g,e),n(t,M,e),I(d,t,e),n(t,P,e),n(t,_,e),S=!0},p:N,i(t){S||(z(u.$$.fragment,t),z(c.$$.fragment,t),z(b.$$.fragment,t),z(d.$$.fragment,t),S=!0)},o(t){U(u.$$.fragment,t),U(c.$$.fragment,t),U(b.$$.fragment,t),U(d.$$.fragment,t),S=!1},d(t){t&&(o(C),o(k),o(w),o(v),o(f),o(x),o(y),o(m),o(T),o(p),o(A),o(h),o(L),o(H),o(g),o(M),o(P),o(_)),o(l),j(u,t),j(c,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(G){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};
