From ed290b083751590ba79e3a699608c8e9b70d5d9e Mon Sep 17 00:00:00 2001 From: Lysandre Debut Date: Wed, 30 Aug 2023 09:40:39 -0400 Subject: [PATCH] Remote tools are turned off (#25867) --- docs/source/en/transformers_agents.md | 22 +++++----------------- 1 file changed, 5 insertions(+), 17 deletions(-) diff --git a/docs/source/en/transformers_agents.md b/docs/source/en/transformers_agents.md index e23015f209..13db7f66cd 100644 --- a/docs/source/en/transformers_agents.md +++ b/docs/source/en/transformers_agents.md @@ -206,25 +206,13 @@ This method can also take arguments if you would like to pass non-text types or ### ⚠️ Remote execution -For demonstration purposes and so that this can be used with all setups, we have created remote executors for several -of the default tools the agent has access. These are created using -[inference endpoints](https://huggingface.co/inference-endpoints). To see how to set up remote executors tools yourself, +For demonstration purposes and so that it could be used with all setups, we had created remote executors for several +of the default tools the agent has access for the release. These are created using +[inference endpoints](https://huggingface.co/inference-endpoints). + +We have turned these off for now, but in order to see how to set up remote executors tools yourself, we recommend reading the [custom tool guide](./custom_tools). -In order to run with remote tools, specifying `remote=True` to either [`~Agent.run`] or [`~Agent.chat`] is sufficient. - -For example, the following command could be run on any device efficiently, without needing significant RAM or GPU: - -```py -agent.run("Draw me a picture of rivers and lakes", remote=True) -``` - -The same can be said for [`~Agent.chat`]: - -```py -agent.chat("Draw me a picture of rivers and lakes", remote=True) -``` - ### What's happening here? What are tools, and what are agents?