import{s as Q,n as V,o as W}from"../chunks/scheduler.39a43cde.js";import{S as X,i as Y,g as s,s as n,r as I,A as tt,h as f,f as a,c as l,j as K,u as G,x as b,k as O,y as et,a as o,v as N,d as R,t as S,w as q}from"../chunks/index.23ec2204.js";import{H as z}from"../chunks/Heading.c42e7061.js";function at(F){let i,C,d,v,m,x,p,U="开源 AI 指南 (Cookbook) 是一系列 Notebook 的合集，里面展示了如何利用开源工具和模型来开发 AI 应用和解决各种机器学习问题的实际技巧和方法。",L,r,A,u,j="查看最近添加的 Notebook：",P,_,D='<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>',w,h,Z='你还可以在指南 (Cookbook) 的<a href="https://github.com/huggingface/cookbook" rel="nofollow">Github 仓库</a>中查看 Notebook。',M,c,T,g,B="开源 AI 指南 (Cookbook) 是社区和大家共同努力的成果，我们非常欢迎每个人都来参与贡献！",H,k,J='查看指南 (Cookbook) 的<a href="https://github.com/huggingface/cookbook/blob/main/README.md" rel="nofollow">贡献指引</a>了解如何添加你的“食谱(教程)”。',y,$,E;return m=new z({props:{title:"开源 AI 指南 (Cookbook)",local:"开源-ai-指南-cookbook",headingTag:"h1"}}),r=new z({props:{title:"最新 Notebook",local:"最新-notebook",headingTag:"h2"}}),c=new z({props:{title:"贡献",local:"贡献",headingTag:"h2"}}),{c(){i=s("meta"),C=n(),d=s("p"),v=n(),I(m.$$.fragment),x=n(),p=s("p"),p.textContent=U,L=n(),I(r.$$.fragment),A=n(),u=s("p"),u.textContent=j,P=n(),_=s("ul"),_.innerHTML=D,w=n(),h=s("p"),h.innerHTML=Z,M=n(),I(c.$$.fragment),T=n(),g=s("p"),g.textContent=B,H=n(),k=s("p"),k.innerHTML=J,y=n(),$=s("p"),this.h()},l(t){const e=tt("svelte-u9bgzb",document.head);i=f(e,"META",{name:!0,content:!0}),e.forEach(a),C=l(t),d=f(t,"P",{}),K(d).forEach(a),v=l(t),G(m.$$.fragment,t),x=l(t),p=f(t,"P",{"data-svelte-h":!0}),b(p)!=="svelte-iplnlm"&&(p.textContent=U),L=l(t),G(r.$$.fragment,t),A=l(t),u=f(t,"P",{"data-svelte-h":!0}),b(u)!=="svelte-1ln0add"&&(u.textContent=j),P=l(t),_=f(t,"UL",{"data-svelte-h":!0}),b(_)!=="svelte-15qkgo6"&&(_.innerHTML=D),w=l(t),h=f(t,"P",{"data-svelte-h":!0}),b(h)!=="svelte-ufs90q"&&(h.innerHTML=Z),M=l(t),G(c.$$.fragment,t),T=l(t),g=f(t,"P",{"data-svelte-h":!0}),b(g)!=="svelte-1kmxqcg"&&(g.textContent=B),H=l(t),k=f(t,"P",{"data-svelte-h":!0}),b(k)!=="svelte-1t3dylz"&&(k.innerHTML=J),y=l(t),$=f(t,"P",{}),K($).forEach(a),this.h()},h(){O(i,"name","hf:doc:metadata"),O(i,"content",ot)},m(t,e){et(document.head,i),o(t,C,e),o(t,d,e),o(t,v,e),N(m,t,e),o(t,x,e),o(t,p,e),o(t,L,e),N(r,t,e),o(t,A,e),o(t,u,e),o(t,P,e),o(t,_,e),o(t,w,e),o(t,h,e),o(t,M,e),N(c,t,e),o(t,T,e),o(t,g,e),o(t,H,e),o(t,k,e),o(t,y,e),o(t,$,e),E=!0},p:V,i(t){E||(R(m.$$.fragment,t),R(r.$$.fragment,t),R(c.$$.fragment,t),E=!0)},o(t){S(m.$$.fragment,t),S(r.$$.fragment,t),S(c.$$.fragment,t),E=!1},d(t){t&&(a(C),a(d),a(v),a(x),a(p),a(L),a(A),a(u),a(P),a(_),a(w),a(h),a(M),a(T),a(g),a(H),a(k),a(y),a($)),a(i),q(m,t),q(r,t),q(c,t)}}}const ot='{"title":"开源 AI 指南 (Cookbook)","local":"开源-ai-指南-cookbook","sections":[{"title":"最新 Notebook","local":"最新-notebook","sections":[],"depth":2},{"title":"贡献","local":"贡献","sections":[],"depth":2}],"depth":1}';function nt(F){return W(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class ft extends X{constructor(i){super(),Y(this,i,nt,at,Q,{})}}export{ft as component};
