Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Add Cookbook Chinese version #40

Merged
merged 10 commits into from
Feb 26, 2024
2 changes: 1 addition & 1 deletion .github/workflows/build_documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
package_name: cookbook
path_to_docs: cookbook/notebooks/
additional_args: --not_python_module
languages: en
languages: en zh-CN
convert_notebooks: true
secrets:
hf_token: ${{ secrets.HF_DOC_BUILD_PUSH }}
2 changes: 1 addition & 1 deletion .github/workflows/build_pr_documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ jobs:
package_name: cookbook
path_to_docs: cookbook/notebooks/
additional_args: --not_python_module
languages: en
languages: en zh-CN
convert_notebooks: true
16 changes: 16 additions & 0 deletions notebooks/zh-CN/_toctree.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
- title: 开源 AI 指南 (Cookbook)
sections:
- local: index
title: 开源 AI 指南 (Cookbook)
- local: automatic_embedding_tei_inference_endpoints
title: 通过推理端点使用 TEI 自动嵌入
- local: faiss_with_hf_datasets_and_clip
title: 用 🤗 transformers, 🤗 datasets 和 FAISS 嵌入多模态数据进行相似度搜索
- local: fine_tuning_code_llm_on_single_gpu
title: 在单个 GPU 上针对自定义代码微调代码 LLM
- local: rag_zephyr_langchain
title: 用 Hugging Face Zephyr 和 LangChain 针对 Github issues 构建简单的 RAG
- local: advanced_rag
title: 使用 LangChain 在 HuggingFace 文档上构建高级 RAG
- local: rag_evaluation
title: 使用合成数据和 LLM 作为裁判评估 RAG
1,247 changes: 1,247 additions & 0 deletions notebooks/zh-CN/advanced_rag.ipynb

Large diffs are not rendered by default.

Loading
Loading