import{s as Q,n as W,o as Y}from"../chunks/scheduler.65852ee5.js";import{S as Z,i as K,g as s,s as a,r as H,A as X,h as r,f as o,c as i,j as z,u as I,x as $,k as J,y as tt,a as n,v as O,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,c,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,m,L,f,q="Check out the recently added notebooks:",T,p,B='<li><a href="code_search">Code Search with Vector Embeddings and Qdrant</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> <li><a href="information_extraction_haystack_nuextract">Information Extraction with Haystack and NuExtract</a></li>',M,h,N='You can also check out the notebooks in the cookbook’s <a href="https://github.com/huggingface/cookbook" rel="nofollow">GitHub repo</a>.',P,d,y,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”.`,E,_,S,k,A;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"}}),d=new G({props:{title:"Contributing",local:"contributing",headingTag:"h2"}}),_=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(),H(u.$$.fragment),w=a(),c=s("p"),c.textContent=R,x=a(),H(m.$$.fragment),L=a(),f=s("p"),f.textContent=q,T=a(),p=s("ul"),p.innerHTML=B,M=a(),h=s("p"),h.innerHTML=N,P=a(),H(d.$$.fragment),y=a(),g=s("p"),g.innerHTML=V,E=a(),H(_.$$.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",{}),z(b).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=R),x=i(t),I(m.$$.fragment,t),L=i(t),f=r(t,"P",{"data-svelte-h":!0}),$(f)!=="svelte-1ledt9t"&&(f.textContent=q),T=i(t),p=r(t,"UL",{"data-svelte-h":!0}),$(p)!=="svelte-1ggj7q2"&&(p.innerHTML=B),M=i(t),h=r(t,"P",{"data-svelte-h":!0}),$(h)!=="svelte-rkum7e"&&(h.innerHTML=N),P=i(t),I(d.$$.fragment,t),y=i(t),g=r(t,"P",{"data-svelte-h":!0}),$(g)!=="svelte-1l0twh0"&&(g.innerHTML=V),E=i(t),I(_.$$.fragment,t),S=i(t),k=r(t,"P",{}),z(k).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,b,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,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),O(d,t,e),n(t,y,e),n(t,g,e),n(t,E,e),O(_,t,e),n(t,S,e),n(t,k,e),A=!0},p:W,i(t){A||(j(u.$$.fragment,t),j(m.$$.fragment,t),j(d.$$.fragment,t),j(_.$$.fragment,t),A=!0)},o(t){D(u.$$.fragment,t),D(m.$$.fragment,t),D(d.$$.fragment,t),D(_.$$.fragment,t),A=!1},d(t){t&&(o(C),o(b),o(v),o(w),o(c),o(x),o(L),o(f),o(T),o(p),o(M),o(h),o(P),o(y),o(g),o(E),o(S),o(k)),o(l),F(u,t),F(m,t),F(d,t),F(_,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 Y(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class rt extends Z{constructor(l){super(),K(this,l,at,ot,Q,{})}}export{rt as component};
