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 S,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 F,t as G,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,c,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,m,L,f,B="Check out the recently added notebooks:",T,p,N='<li><a href="rag_with_hf_and_milvus">RAG with Hugging Face and Milvus</a></li> <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,V='You can also check out the notebooks in the cookbook’s <a href="https://github.com/huggingface/cookbook" rel="nofollow">GitHub repo</a>.',y,g,P,_,q=`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,E,k,H;return u=new D({props:{title:"Open-Source AI Cookbook",local:"open-source-ai-cookbook",headingTag:"h1"}}),m=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(),S(u.$$.fragment),w=a(),c=s("p"),c.textContent=U,x=a(),S(m.$$.fragment),L=a(),f=s("p"),f.textContent=B,T=a(),p=s("ul"),p.innerHTML=N,M=a(),h=s("p"),h.innerHTML=V,y=a(),S(g.$$.fragment),P=a(),_=s("p"),_.innerHTML=q,A=a(),S(d.$$.fragment),E=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=U),x=i(t),I(m.$$.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-1ygsfhu"&&(p.innerHTML=N),M=i(t),h=r(t,"P",{"data-svelte-h":!0}),$(h)!=="svelte-rkum7e"&&(h.innerHTML=V),y=i(t),I(g.$$.fragment,t),P=i(t),_=r(t,"P",{"data-svelte-h":!0}),$(_)!=="svelte-1l0twh0"&&(_.innerHTML=q),A=i(t),I(d.$$.fragment,t),E=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,y,e),O(g,t,e),n(t,P,e),n(t,_,e),n(t,A,e),O(d,t,e),n(t,E,e),n(t,k,e),H=!0},p:W,i(t){H||(F(u.$$.fragment,t),F(m.$$.fragment,t),F(g.$$.fragment,t),F(d.$$.fragment,t),H=!0)},o(t){G(u.$$.fragment,t),G(m.$$.fragment,t),G(g.$$.fragment,t),G(d.$$.fragment,t),H=!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(y),o(P),o(_),o(A),o(E),o(k)),o(l),j(u,t),j(m,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 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};
