Skip to content

Commit

Permalink
Merge pull request #196 from sergiopaniego/agents-installation-instru…
Browse files Browse the repository at this point in the history
…ctions

Updated introduction and installation instructions
  • Loading branch information
stevhliu authored Sep 11, 2024
2 parents 305c739 + 0ca8543 commit e9e7490
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions 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,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"
]
},
{
Expand Down

0 comments on commit e9e7490

Please sign in to comment.