Skip to content

Commit

Permalink
Merge branch 'main' into adapt-agent-cookbooks-to-new-release
Browse files Browse the repository at this point in the history
  • Loading branch information
aymeric-roucher committed Sep 26, 2024
2 parents 718979e + 668cce2 commit 0bf359b
Show file tree
Hide file tree
Showing 13 changed files with 16,442 additions and 483 deletions.
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 ko
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 ko
convert_notebooks: true
4 changes: 4 additions & 0 deletions notebooks/en/_toctree.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,16 @@
title: Clean an Existing Preference Dataset with LLMs as Judges
- local: benchmarking_tgi
title: Benchmarking TGI
- local: rag_with_knowledge_graphs_neo4j
title: Enhancing RAG Reasoning with Knowledge Graphs

- title: Computer Vision Recipes
isExpanded: false
sections:
- local: fine_tuning_vit_custom_dataset
title: Fine-tuning a Vision Transformer Model With a Custom Biomedical Dataset
- local: fine_tuning_detr_custom_dataset
title: Fine-Tuning Object Detection on a Custom Dataset, Deployment in Spaces, and Gradio API Integration

- title: Diffusion Recipes
isExpanded: false
Expand Down
6 changes: 5 additions & 1 deletion notebooks/en/agents.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"\n",
"Let's see how to use it, and which use cases it can solve.\n",
"\n",
"We install transformers agents from source since it has not been released as of writing, but later this week when it gets release you can simply install it with `pip install transformers[agents]`."
"Run the line below to install required dependencies:"
]
},
{
Expand All @@ -26,7 +26,11 @@
"metadata": {},
"outputs": [],
"source": [
<<<<<<< HEAD
"!pip install \"transformers[agents]\" datasets langchain sentence-transformers faiss-cpu duckduckgo-search openai langchain-community --upgrade -q"
=======
"!pip install \"transformers[agents]\" datasets langchain sentence-transformers faiss-cpu serpapi google-search-results openai langchain-community -q"
>>>>>>> main
]
},
{
Expand Down
203 changes: 106 additions & 97 deletions notebooks/en/faiss_with_hf_datasets_and_clip.ipynb

Large diffs are not rendered by default.

2,727 changes: 2,727 additions & 0 deletions notebooks/en/fine_tuning_detr_custom_dataset.ipynb

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions notebooks/en/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ Check out the recently added notebooks:
- [Information Extraction with Haystack and NuExtract](information_extraction_haystack_nuextract)
- [RAG with Hugging Face and Milvus](rag_with_hf_and_milvus)
- [Data analyst agent: get your data’s insights in the blink of an eye ✨](agent_data_analyst)
- [Enhancing RAG Reasoning with Knowledge Graphs](rag_with_knowledge_graphs_neo4j)
- [Fine-Tuning Object Detection on a Custom Dataset 🖼, Deployment in Spaces, and Gradio API Integration](fine_tuning_detr_custom_dataset)



You can also check out the notebooks in the cookbook's [GitHub repo](https://github.com/huggingface/cookbook).
Expand Down
380 changes: 0 additions & 380 deletions notebooks/en/multiagent_web_assistant.ipynb

This file was deleted.

Loading

0 comments on commit 0bf359b

Please sign in to comment.