import{s as W,n as Y,o as Z}from"../chunks/scheduler.65852ee5.js";import{S as K,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 N,u as O,x as $,k as V,y as tt,a as n,v as F,d as G,t as I,w as j}from"../chunks/index.aa74147d.js";import{H as D,E as et}from"../chunks/EditOnGithub.4eda6a96.js";function ot(R){let l,C,b,v,u,w,m,U=`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,L,f,B="Check out the recently added notebooks:",T,p,q='<li><a href="rag_with_hf_and_milvus">RAG with Hugging Face and Milvus</a></li> <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> <li><a href="fine_tuning_llm_to_generate_persian_product_catalogs_in_json_format">Fine-tuning LLM to Generate Persian Product Catalogs in JSON Format</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>.',P,g,A,_,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”.`,H,d,S,k,y;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"}}),g=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(),b=s("p"),v=a(),E(u.$$.fragment),w=a(),m=s("p"),m.textContent=U,x=a(),E(c.$$.fragment),L=a(),f=s("p"),f.textContent=B,T=a(),p=s("ul"),p.innerHTML=q,M=a(),h=s("p"),h.innerHTML=z,P=a(),E(g.$$.fragment),A=a(),_=s("p"),_.innerHTML=J,H=a(),E(d.$$.fragment),S=a(),k=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),b=r(t,"P",{}),N(b).forEach(o),v=i(t),O(u.$$.fragment,t),w=i(t),m=r(t,"P",{"data-svelte-h":!0}),$(m)!=="svelte-172bkh9"&&(m.textContent=U),x=i(t),O(c.$$.fragment,t),L=i(t),f=r(t,"P",{"data-svelte-h":!0}),$(f)!=="svelte-1ledt9t"&&(f.textContent=B),T=i(t),p=r(t,"UL",{"data-svelte-h":!0}),$(p)!=="svelte-4i6215"&&(p.innerHTML=q),M=i(t),h=r(t,"P",{"data-svelte-h":!0}),$(h)!=="svelte-rkum7e"&&(h.innerHTML=z),P=i(t),O(g.$$.fragment,t),A=i(t),_=r(t,"P",{"data-svelte-h":!0}),$(_)!=="svelte-1l0twh0"&&(_.innerHTML=J),H=i(t),O(d.$$.fragment,t),S=i(t),k=r(t,"P",{}),N(k).forEach(o),this.h()},h(){V(l,"name","hf:doc:metadata"),V(l,"content",nt)},m(t,e){tt(document.head,l),n(t,C,e),n(t,b,e),n(t,v,e),F(u,t,e),n(t,w,e),n(t,m,e),n(t,x,e),F(c,t,e),n(t,L,e),n(t,f,e),n(t,T,e),n(t,p,e),n(t,M,e),n(t,h,e),n(t,P,e),F(g,t,e),n(t,A,e),n(t,_,e),n(t,H,e),F(d,t,e),n(t,S,e),n(t,k,e),y=!0},p:Y,i(t){y||(G(u.$$.fragment,t),G(c.$$.fragment,t),G(g.$$.fragment,t),G(d.$$.fragment,t),y=!0)},o(t){I(u.$$.fragment,t),I(c.$$.fragment,t),I(g.$$.fragment,t),I(d.$$.fragment,t),y=!1},d(t){t&&(o(C),o(b),o(v),o(w),o(m),o(x),o(L),o(f),o(T),o(p),o(M),o(h),o(P),o(A),o(_),o(H),o(S),o(k)),o(l),j(u,t),j(c,t),j(g,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 Z(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class rt extends K{constructor(l){super(),Q(this,l,at,ot,W,{})}}export{rt as component};
