import{s as W,n as X,o as Y}from"../chunks/scheduler.65852ee5.js";import{S as ee,i as te,g as s,s as l,r as y,A as ae,h as f,f as a,c as n,j as Q,u as R,x as $,k as V,y as ie,a as i,v as F,d as N,t as q,w as z}from"../chunks/index.aa74147d.js";import{H as D,E as le}from"../chunks/index.e2566494.js";function ne(O){let o,x,k,v,m,L,r,U="开源 AI 指南 (Cookbook) 是一系列 Notebook 的合集，里面展示了如何利用开源工具和模型来开发 AI 应用和解决各种机器学习问题的实际技巧和方法。",A,_,M,p,j="查看最近添加的 Notebook：",P,u,B='<li><a href="llm_judge">使用 LLM 作为评判者🧑‍⚖️进行自动化和多方面的评估</a></li> <li><a href="pipeline_notus_instructions_preferences_legal">创建一个合法偏好数据集</a></li> <li><a href="labelling_feedback_setfit">使用 SetFit 进行零样本文本分类的数据标注建议</a></li> <li><a href="semantic_cache_chroma_vector_database">通过引入语义缓存到 FAISS 中以增强 RAG 系统的性能</a></li> <li><a href="rag_llamaindex_librarian">用 LlamaIndex 构建一个 RAG 电子书库智能助手</a></li> <li><a href="stable_diffusion_interpolation">使用 Stable Diffusion 进行图像插值</a></li> <li><a href="rag_with_hugging_face_gemma_mongodb">用 Gemma, MongoDB 和开源模型构建 RAG 系统</a></li> <li><a href="prompt_tuning_peft">使用 PEFT 进行提示微调</a></li> <li><a href="tgi_messages_api_demo">使用 TGI 的消息 API 从 OpenAI 迁移到 Open LLMs</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> <li><a href="issues_in_text_dataset">使用 Cleanlab 检测文本数据集中的问题</a></li>',w,h,Z='你还可以在指南 (Cookbook) 的<a href="https://github.com/huggingface/cookbook" rel="nofollow">Github 仓库</a>中查看 Notebook。',T,g,G,c,J="开源 AI 指南 (Cookbook) 是社区和大家共同努力的成果，我们非常欢迎每个人都来参与贡献！",I,b,K='查看指南 (Cookbook) 的<a href="https://github.com/huggingface/cookbook/blob/main/README.md" rel="nofollow">贡献指引</a>了解如何添加你的“食谱(教程)”。',E,d,H,C,S;return m=new D({props:{title:"开源 AI 指南 (Cookbook)",local:"开源-ai-指南-cookbook",headingTag:"h1"}}),_=new D({props:{title:"最新 Notebook",local:"最新-notebook",headingTag:"h2"}}),g=new D({props:{title:"贡献",local:"贡献",headingTag:"h2"}}),d=new le({props:{source:"https://github.com/huggingface/cookbook/blob/main/notebooks/zh-CN/index.md"}}),{c(){o=s("meta"),x=l(),k=s("p"),v=l(),y(m.$$.fragment),L=l(),r=s("p"),r.textContent=U,A=l(),y(_.$$.fragment),M=l(),p=s("p"),p.textContent=j,P=l(),u=s("ul"),u.innerHTML=B,w=l(),h=s("p"),h.innerHTML=Z,T=l(),y(g.$$.fragment),G=l(),c=s("p"),c.textContent=J,I=l(),b=s("p"),b.innerHTML=K,E=l(),y(d.$$.fragment),H=l(),C=s("p"),this.h()},l(e){const t=ae("svelte-u9bgzb",document.head);o=f(t,"META",{name:!0,content:!0}),t.forEach(a),x=n(e),k=f(e,"P",{}),Q(k).forEach(a),v=n(e),R(m.$$.fragment,e),L=n(e),r=f(e,"P",{"data-svelte-h":!0}),$(r)!=="svelte-iplnlm"&&(r.textContent=U),A=n(e),R(_.$$.fragment,e),M=n(e),p=f(e,"P",{"data-svelte-h":!0}),$(p)!=="svelte-1ln0add"&&(p.textContent=j),P=n(e),u=f(e,"UL",{"data-svelte-h":!0}),$(u)!=="svelte-1riq5yn"&&(u.innerHTML=B),w=n(e),h=f(e,"P",{"data-svelte-h":!0}),$(h)!=="svelte-ufs90q"&&(h.innerHTML=Z),T=n(e),R(g.$$.fragment,e),G=n(e),c=f(e,"P",{"data-svelte-h":!0}),$(c)!=="svelte-1kmxqcg"&&(c.textContent=J),I=n(e),b=f(e,"P",{"data-svelte-h":!0}),$(b)!=="svelte-1t3dylz"&&(b.innerHTML=K),E=n(e),R(d.$$.fragment,e),H=n(e),C=f(e,"P",{}),Q(C).forEach(a),this.h()},h(){V(o,"name","hf:doc:metadata"),V(o,"content",oe)},m(e,t){ie(document.head,o),i(e,x,t),i(e,k,t),i(e,v,t),F(m,e,t),i(e,L,t),i(e,r,t),i(e,A,t),F(_,e,t),i(e,M,t),i(e,p,t),i(e,P,t),i(e,u,t),i(e,w,t),i(e,h,t),i(e,T,t),F(g,e,t),i(e,G,t),i(e,c,t),i(e,I,t),i(e,b,t),i(e,E,t),F(d,e,t),i(e,H,t),i(e,C,t),S=!0},p:X,i(e){S||(N(m.$$.fragment,e),N(_.$$.fragment,e),N(g.$$.fragment,e),N(d.$$.fragment,e),S=!0)},o(e){q(m.$$.fragment,e),q(_.$$.fragment,e),q(g.$$.fragment,e),q(d.$$.fragment,e),S=!1},d(e){e&&(a(x),a(k),a(v),a(L),a(r),a(A),a(M),a(p),a(P),a(u),a(w),a(h),a(T),a(G),a(c),a(I),a(b),a(E),a(H),a(C)),a(o),z(m,e),z(_,e),z(g,e),z(d,e)}}}const oe='{"title":"开源 AI 指南 (Cookbook)","local":"开源-ai-指南-cookbook","sections":[{"title":"最新 Notebook","local":"最新-notebook","sections":[],"depth":2},{"title":"贡献","local":"贡献","sections":[],"depth":2}],"depth":1}';function se(O){return Y(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class _e extends ee{constructor(o){super(),te(this,o,se,ne,W,{})}}export{_e as component};
