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 o,r as N,A as at,h as m,f as a,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 z,t as F,w as q}from"../chunks/index.23ec2204.js";import{H as U,E as ot}from"../chunks/EditOnGithub.f2d09226.js";function it(j){let l,v,d,x,f,L,r,D="开源 AI 指南 (Cookbook) 是一系列 Notebook 的合集，里面展示了如何利用开源工具和模型来开发 AI 应用和解决各种机器学习问题的实际技巧和方法。",w,u,A,p,O="查看最近添加的 Notebook：",M,_,Z='<li><a href="rag_with_hf_and_milvus">使用 Hugging Face 和 Milvus 构建 RAG 系统</a></li> <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>',P,h,B='你还可以在指南 (Cookbook) 的<a href="https://github.com/huggingface/cookbook" rel="nofollow">Github 仓库</a>中查看 Notebook。',H,g,T,c,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"}}),u=new U({props:{title:"最新 Notebook",local:"最新-notebook",headingTag:"h2"}}),g=new U({props:{title:"贡献",local:"贡献",headingTag:"h2"}}),b=new ot({props:{source:"https://github.com/huggingface/cookbook/blob/main/notebooks/zh-CN/index.md"}}),{c(){l=s("meta"),v=o(),d=s("p"),x=o(),N(f.$$.fragment),L=o(),r=s("p"),r.textContent=D,w=o(),N(u.$$.fragment),A=o(),p=s("p"),p.textContent=O,M=o(),_=s("ul"),_.innerHTML=Z,P=o(),h=s("p"),h.innerHTML=B,H=o(),N(g.$$.fragment),T=o(),c=s("p"),c.textContent=J,E=o(),$=s("p"),$.innerHTML=K,y=o(),N(b.$$.fragment),G=o(),C=s("p"),this.h()},l(t){const e=at("svelte-u9bgzb",document.head);l=m(e,"META",{name:!0,content:!0}),e.forEach(a),v=i(t),d=m(t,"P",{}),Q(d).forEach(a),x=i(t),R(f.$$.fragment,t),L=i(t),r=m(t,"P",{"data-svelte-h":!0}),k(r)!=="svelte-iplnlm"&&(r.textContent=D),w=i(t),R(u.$$.fragment,t),A=i(t),p=m(t,"P",{"data-svelte-h":!0}),k(p)!=="svelte-1ln0add"&&(p.textContent=O),M=i(t),_=m(t,"UL",{"data-svelte-h":!0}),k(_)!=="svelte-ys1tiu"&&(_.innerHTML=Z),P=i(t),h=m(t,"P",{"data-svelte-h":!0}),k(h)!=="svelte-ufs90q"&&(h.innerHTML=B),H=i(t),R(g.$$.fragment,t),T=i(t),c=m(t,"P",{"data-svelte-h":!0}),k(c)!=="svelte-1kmxqcg"&&(c.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(a),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,r,e),n(t,w,e),S(u,t,e),n(t,A,e),n(t,p,e),n(t,M,e),n(t,_,e),n(t,P,e),n(t,h,e),n(t,H,e),S(g,t,e),n(t,T,e),n(t,c,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||(z(f.$$.fragment,t),z(u.$$.fragment,t),z(g.$$.fragment,t),z(b.$$.fragment,t),I=!0)},o(t){F(f.$$.fragment,t),F(u.$$.fragment,t),F(g.$$.fragment,t),F(b.$$.fragment,t),I=!1},d(t){t&&(a(v),a(d),a(x),a(L),a(r),a(w),a(A),a(p),a(M),a(_),a(P),a(h),a(H),a(T),a(c),a(E),a($),a(y),a(G),a(C)),a(l),q(f,t),q(u,t),q(g,t),q(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 ut extends tt{constructor(l){super(),et(this,l,st,it,W,{})}}export{ut as component};
