From a14b2492b418bf239118ae68bcf01683ec39ffb4 Mon Sep 17 00:00:00 2001 From: sergiopaniego Date: Wed, 11 Sep 2024 20:00:51 +0200 Subject: [PATCH 1/2] Updated introduction and installation instructions --- notebooks/en/agents.ipynb | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/notebooks/en/agents.ipynb b/notebooks/en/agents.ipynb index 89deadfd..a151d495 100644 --- a/notebooks/en/agents.ipynb +++ b/notebooks/en/agents.ipynb @@ -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:" ] }, { @@ -26,16 +26,7 @@ "metadata": {}, "outputs": [], "source": [ - "!pip install \"git+https://github.com/huggingface/transformers.git#egg=transformers[agents]\"" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [ - "!pip install datasets langchain sentence-transformers faiss-cpu serpapi google-search-results openai langchain-community -q" + "!pip install transformers[agents] datasets langchain sentence-transformers faiss-cpu serpapi google-search-results openai langchain-community -q" ] }, { From 0ca8543e1b5ab289b3b68f023a08cbb18c03f66e Mon Sep 17 00:00:00 2001 From: sergiopaniego Date: Wed, 11 Sep 2024 20:07:55 +0200 Subject: [PATCH 2/2] Updated instructions --- notebooks/en/agents.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notebooks/en/agents.ipynb b/notebooks/en/agents.ipynb index a151d495..27ae9739 100644 --- a/notebooks/en/agents.ipynb +++ b/notebooks/en/agents.ipynb @@ -26,7 +26,7 @@ "metadata": {}, "outputs": [], "source": [ - "!pip install transformers[agents] datasets langchain sentence-transformers faiss-cpu serpapi google-search-results openai langchain-community -q" + "!pip install \"transformers[agents]\" datasets langchain sentence-transformers faiss-cpu serpapi google-search-results openai langchain-community -q" ] }, {