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