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 I,d as j,t as D,w as F}from"../chunks/index.aa74147d.js";import{H as G,E as et}from"../chunks/EditOnGithub.4eda6a96.js";function ot(U){let l,C,b,v,u,w,m,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,L,f,B="Check out the recently added notebooks:",T,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> <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,y,_,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”.`,A,d,S,k,H;return u=new G({props:{title:"Open-Source AI Cookbook",local:"open-source-ai-cookbook",headingTag:"h1"}}),c=new G({props:{title:"Latest notebooks",local:"latest-notebooks",headingTag:"h2"}}),g=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(),b=s("p"),v=a(),E(u.$$.fragment),w=a(),m=s("p"),m.textContent=R,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),y=a(),_=s("p"),_.innerHTML=J,A=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=R),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-1en9ykn"&&(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),y=i(t),_=r(t,"P",{"data-svelte-h":!0}),$(_)!=="svelte-1l0twh0"&&(_.innerHTML=J),A=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),I(u,t,e),n(t,w,e),n(t,m,e),n(t,x,e),I(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),I(g,t,e),n(t,y,e),n(t,_,e),n(t,A,e),I(d,t,e),n(t,S,e),n(t,k,e),H=!0},p:Y,i(t){H||(j(u.$$.fragment,t),j(c.$$.fragment,t),j(g.$$.fragment,t),j(d.$$.fragment,t),H=!0)},o(t){D(u.$$.fragment,t),D(c.$$.fragment,t),D(g.$$.fragment,t),D(d.$$.fragment,t),H=!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(y),o(_),o(A),o(S),o(k)),o(l),F(u,t),F(c,t),F(g,t),F(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(U){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};
