import{s as W,n as X,o as Y}from"../chunks/scheduler.39a43cde.js";import{S as tt,i as et,g as s,s as a,r as N,A as ot,h as m,f as o,c as i,j as Q,u as R,x as k,k as V,y as nt,a as n,v as S,d as q,t as z,w as F}from"../chunks/index.23ec2204.js";import{H as U,E as at}from"../chunks/EditOnGithub.f2d09226.js";function it(j){let l,v,d,x,f,L,p,D="开源 AI 指南 (Cookbook) 是一系列 Notebook 的合集，里面展示了如何利用开源工具和模型来开发 AI 应用和解决各种机器学习问题的实际技巧和方法。",w,r,A,u,O="查看最近添加的 Notebook：",P,h,Z='<li><a href="automatic_embedding_tei_inference_endpoints">通过推理端点使用 TEI 自动嵌入</a></li> <li><a href="rag_zephyr_langchain">用 Hugging Face Zephyr 和 LangChain 针对 Github issues 构建简单的 RAG</a></li> <li><a href="faiss_with_hf_datasets_and_clip">用 🤗 transformers, 🤗 datasets 和 FAISS 嵌入多模态数据进行相似度搜索</a></li> <li><a href="fine_tuning_code_llm_on_single_gpu">在单个 GPU 上针对自定义代码微调代码 LLM</a></li> <li><a href="rag_evaluation">使用合成数据和 LLM 作为裁判评估 RAG</a></li> <li><a href="advanced_rag">使用 LangChain 在 HuggingFace 文档上构建高级 RAG</a></li>',M,_,B='你还可以在指南 (Cookbook) 的<a href="https://github.com/huggingface/cookbook" rel="nofollow">Github 仓库</a>中查看 Notebook。',T,c,H,g,J="开源 AI 指南 (Cookbook) 是社区和大家共同努力的成果，我们非常欢迎每个人都来参与贡献！",E,$,K='查看指南 (Cookbook) 的<a href="https://github.com/huggingface/cookbook/blob/main/README.md" rel="nofollow">贡献指引</a>了解如何添加你的“食谱(教程)”。',y,b,G,C,I;return f=new U({props:{title:"开源 AI 指南 (Cookbook)",local:"开源-ai-指南-cookbook",headingTag:"h1"}}),r=new U({props:{title:"最新 Notebook",local:"最新-notebook",headingTag:"h2"}}),c=new U({props:{title:"贡献",local:"贡献",headingTag:"h2"}}),b=new at({props:{source:"https://github.com/huggingface/cookbook/blob/main/notebooks/zh-CN/index.md"}}),{c(){l=s("meta"),v=a(),d=s("p"),x=a(),N(f.$$.fragment),L=a(),p=s("p"),p.textContent=D,w=a(),N(r.$$.fragment),A=a(),u=s("p"),u.textContent=O,P=a(),h=s("ul"),h.innerHTML=Z,M=a(),_=s("p"),_.innerHTML=B,T=a(),N(c.$$.fragment),H=a(),g=s("p"),g.textContent=J,E=a(),$=s("p"),$.innerHTML=K,y=a(),N(b.$$.fragment),G=a(),C=s("p"),this.h()},l(t){const e=ot("svelte-u9bgzb",document.head);l=m(e,"META",{name:!0,content:!0}),e.forEach(o),v=i(t),d=m(t,"P",{}),Q(d).forEach(o),x=i(t),R(f.$$.fragment,t),L=i(t),p=m(t,"P",{"data-svelte-h":!0}),k(p)!=="svelte-iplnlm"&&(p.textContent=D),w=i(t),R(r.$$.fragment,t),A=i(t),u=m(t,"P",{"data-svelte-h":!0}),k(u)!=="svelte-1ln0add"&&(u.textContent=O),P=i(t),h=m(t,"UL",{"data-svelte-h":!0}),k(h)!=="svelte-15qkgo6"&&(h.innerHTML=Z),M=i(t),_=m(t,"P",{"data-svelte-h":!0}),k(_)!=="svelte-ufs90q"&&(_.innerHTML=B),T=i(t),R(c.$$.fragment,t),H=i(t),g=m(t,"P",{"data-svelte-h":!0}),k(g)!=="svelte-1kmxqcg"&&(g.textContent=J),E=i(t),$=m(t,"P",{"data-svelte-h":!0}),k($)!=="svelte-1t3dylz"&&($.innerHTML=K),y=i(t),R(b.$$.fragment,t),G=i(t),C=m(t,"P",{}),Q(C).forEach(o),this.h()},h(){V(l,"name","hf:doc:metadata"),V(l,"content",lt)},m(t,e){nt(document.head,l),n(t,v,e),n(t,d,e),n(t,x,e),S(f,t,e),n(t,L,e),n(t,p,e),n(t,w,e),S(r,t,e),n(t,A,e),n(t,u,e),n(t,P,e),n(t,h,e),n(t,M,e),n(t,_,e),n(t,T,e),S(c,t,e),n(t,H,e),n(t,g,e),n(t,E,e),n(t,$,e),n(t,y,e),S(b,t,e),n(t,G,e),n(t,C,e),I=!0},p:X,i(t){I||(q(f.$$.fragment,t),q(r.$$.fragment,t),q(c.$$.fragment,t),q(b.$$.fragment,t),I=!0)},o(t){z(f.$$.fragment,t),z(r.$$.fragment,t),z(c.$$.fragment,t),z(b.$$.fragment,t),I=!1},d(t){t&&(o(v),o(d),o(x),o(L),o(p),o(w),o(A),o(u),o(P),o(h),o(M),o(_),o(T),o(H),o(g),o(E),o($),o(y),o(G),o(C)),o(l),F(f,t),F(r,t),F(c,t),F(b,t)}}}const lt='{"title":"开源 AI 指南 (Cookbook)","local":"开源-ai-指南-cookbook","sections":[{"title":"最新 Notebook","local":"最新-notebook","sections":[],"depth":2},{"title":"贡献","local":"贡献","sections":[],"depth":2}],"depth":1}';function st(j){return Y(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class rt extends tt{constructor(l){super(),et(this,l,st,it,W,{})}}export{rt as component};
