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
12 changes: 12 additions & 0 deletions notebooks/zh-CN/_toctree.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
- title: 开源 AI 食谱
sections:
- local: index
title: 开源 AI 食谱
innovation64 marked this conversation as resolved.
Show resolved Hide resolved
- local: faiss_with_hf_datasets_and_clip
title: 用 🤗 transformers, 🤗 datasets 和 FAISS 嵌入多模态数据进行相似度搜索
- 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.

574 changes: 574 additions & 0 deletions notebooks/zh-CN/faiss_with_hf_datasets_and_clip.ipynb

Large diffs are not rendered by default.

22 changes: 22 additions & 0 deletions notebooks/zh-CN/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# 开源 AI 食谱

开源 AI 食谱是一系列 Notebook 的合集,里面展示了如何利用开源工具和模型来开发 AI 应用和解决各种机器学习问题的实际技巧和方法。

## 最新 Notebook

查看最近添加的 Notebook:
- [通过推理端点使用 TEI 自动嵌入](automatic_embedding_tei_inference_endpoints)
- [用 Hugging Face Zephyr 和 LangChain 针对 Github issues 构建简单的 RAG](rag_zephyr_langchain)
- [用 🤗 transformers, 🤗 datasets 和 FAISS 嵌入多模态数据进行相似度搜索](faiss_with_hf_datasets_and_clip)
- [在单个 GPU 上针对自定义代码微调代码 LLM](fine_tuning_code_llm_on_single_gpu)
- [使用合成数据和 LLM 作为裁判评估 RAG](rag_evaluation)
- [使用 LangChain 在 HuggingFace 文档上构建高级 RAG](advanced_rag)

你还可以在食谱的[Github 仓库](https://github.com/huggingface/cookbook)中查看 Notebook。

## 贡献

开源 AI 食谱是社区和大家共同努力的成果,我们非常欢迎每个人都来参与贡献!


查看食谱的[贡献指南](https://github.com/huggingface/cookbook/blob/main/README.md)了解如何添加你的“食谱”。
1,467 changes: 1,467 additions & 0 deletions notebooks/zh-CN/rag_evaluation.ipynb

Large diffs are not rendered by default.

Loading
Loading