import{s as Y,n as K,o as V}from"../chunks/scheduler.65852ee5.js";import{S as W,i as X,g as r,s as o,r as G,A as Z,h as s,f as a,c as i,j as z,u as S,x as $,k as Q,y as tt,a as n,v as I,d as O,t as R,w as D}from"../chunks/index.aa74147d.js";import{H as q,E as et}from"../chunks/EditOnGithub.4eda6a96.js";function at(j){let l,w,b,C,u,v,c,F=`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,f,y,m,U="Check out the recently added notebooks:",L,h,B='<li><a href="benchmarking_tgi">Benchmarking TGI</a></li> <li><a href="generate_preference_dataset_distilabel">Generate a Preference Dataset with distilabel</a></li> <li><a href="clean_dataset_judges_distilabel">Clean an Existing Preference Dataset with LLMs as Judges</a></li> <li><a href="rag_with_unstructured_data">Building RAG with Custom Unstructured Data</a></li> <li><a href="agent_rag">Agentic RAG: turbocharge your RAG with query reformulation and self-query! 🚀</a></li> <li><a href="agent_change_llm">Create a Transformers Agent from any LLM inference provider</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="agent_text_to_sql">Agent for text-to-SQL with automatic error correction</a></li> <li><a href="information_extraction_haystack_nuextract">Information Extraction with Haystack and NuExtract</a></li> <li><a href="rag_with_hf_and_milvus">RAG with Hugging Face and Milvus</a></li> <li><a href="agent_data_analyst">Data analyst agent: get your data’s insights in the blink of an eye ✨</a></li>',A,g,J='You can also check out the notebooks in the cookbook’s <a href="https://github.com/huggingface/cookbook" rel="nofollow">GitHub repo</a>.',P,p,T,_,N=`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,E,k,H;return u=new q({props:{title:"Open-Source AI Cookbook",local:"open-source-ai-cookbook",headingTag:"h1"}}),f=new q({props:{title:"Latest notebooks",local:"latest-notebooks",headingTag:"h2"}}),p=new q({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=r("meta"),w=o(),b=r("p"),C=o(),G(u.$$.fragment),v=o(),c=r("p"),c.textContent=F,x=o(),G(f.$$.fragment),y=o(),m=r("p"),m.textContent=U,L=o(),h=r("ul"),h.innerHTML=B,A=o(),g=r("p"),g.innerHTML=J,P=o(),G(p.$$.fragment),T=o(),_=r("p"),_.innerHTML=N,M=o(),G(d.$$.fragment),E=o(),k=r("p"),this.h()},l(t){const e=Z("svelte-u9bgzb",document.head);l=s(e,"META",{name:!0,content:!0}),e.forEach(a),w=i(t),b=s(t,"P",{}),z(b).forEach(a),C=i(t),S(u.$$.fragment,t),v=i(t),c=s(t,"P",{"data-svelte-h":!0}),$(c)!=="svelte-172bkh9"&&(c.textContent=F),x=i(t),S(f.$$.fragment,t),y=i(t),m=s(t,"P",{"data-svelte-h":!0}),$(m)!=="svelte-1ledt9t"&&(m.textContent=U),L=i(t),h=s(t,"UL",{"data-svelte-h":!0}),$(h)!=="svelte-cacvbr"&&(h.innerHTML=B),A=i(t),g=s(t,"P",{"data-svelte-h":!0}),$(g)!=="svelte-rkum7e"&&(g.innerHTML=J),P=i(t),S(p.$$.fragment,t),T=i(t),_=s(t,"P",{"data-svelte-h":!0}),$(_)!=="svelte-1l0twh0"&&(_.innerHTML=N),M=i(t),S(d.$$.fragment,t),E=i(t),k=s(t,"P",{}),z(k).forEach(a),this.h()},h(){Q(l,"name","hf:doc:metadata"),Q(l,"content",nt)},m(t,e){tt(document.head,l),n(t,w,e),n(t,b,e),n(t,C,e),I(u,t,e),n(t,v,e),n(t,c,e),n(t,x,e),I(f,t,e),n(t,y,e),n(t,m,e),n(t,L,e),n(t,h,e),n(t,A,e),n(t,g,e),n(t,P,e),I(p,t,e),n(t,T,e),n(t,_,e),n(t,M,e),I(d,t,e),n(t,E,e),n(t,k,e),H=!0},p:K,i(t){H||(O(u.$$.fragment,t),O(f.$$.fragment,t),O(p.$$.fragment,t),O(d.$$.fragment,t),H=!0)},o(t){R(u.$$.fragment,t),R(f.$$.fragment,t),R(p.$$.fragment,t),R(d.$$.fragment,t),H=!1},d(t){t&&(a(w),a(b),a(C),a(v),a(c),a(x),a(y),a(m),a(L),a(h),a(A),a(g),a(P),a(T),a(_),a(M),a(E),a(k)),a(l),D(u,t),D(f,t),D(p,t),D(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 ot(j){return V(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class st extends W{constructor(l){super(),X(this,l,ot,at,Y,{})}}export{st as component};
