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

Adding Catala as new language in notebooks/translated rag_zephyr_langchain #77

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 zh-CN
languages: en zh-CN ca
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 zh-CN
languages: en zh-CN ca
convert_notebooks: true
6 changes: 6 additions & 0 deletions notebooks/ca/_toctree.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
- title: Open-Source AI Cookbook
sections:
- local: index
title: Open-Source AI Cookbook
- local: rag_zephyr_langchain
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This wasn't aligned which caused the doc building to fail. I think it'd also be nice to translate the title of the recipe here to Catalan

Suggested change
- local: rag_zephyr_langchain
- local: rag_zephyr_langchain

title: Simple RAG using Hugging Face Zephyr and LangChain
21 changes: 21 additions & 0 deletions notebooks/ca/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Open-Source AI Cookbook

The Open-Source AI Cookbook is a collection of notebooks illustrating practical aspects of building AI
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I noticed some of this isn't translated to Catalan yet.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for checking!

I just fixed the problem with _toctree.yml sorry about that, as well as full translated index.md to catalan. I'll look for more collaborators there, really appreciated!

applications and solving various machine learning tasks using open-source tools and models.

El Codi-Obert IA Cookbook es una colecció de llibretes que ensenyen com construir aplicacions de IA i resoldre diferents problemes de *machine learning* utilitzant models i eines de codi-obert.

## Ultimes llibretes

Revisa les llibretes afeguides recentment en català:


- [Simple RAG for GitHub issues using Hugging Face Zephyr and LangChain](rag_zephyr_langchain)

You can also check out the notebooks in the cookbook's [GitHub repo](https://github.com/huggingface/cookbook).

## Contributing

The Open-Source AI Cookbook is a community effort, and we welcome contributions from everyone!
Check out the cookbook's [Contribution guide](https://github.com/huggingface/cookbook/blob/main/README.md) to learn
how you can add your "recipe".
Loading
Loading