2 ms·
If you want an overview, scroll down to this part of the page: https://huggingface.co/docs/transformers/transformers_agents#whats-happening-here-what-are-tools-
by rahimnathwani 4y ago
If you want an overview, scroll down to this part of the page: https://huggingface.co/docs/transformers/transformers_agents#whats-happening-here-what-are-tools-and-what-are-agents https://huggingface.co/docs/transformers/transformers_agents...
In short:
- they've predefined a bunch of tools (e.g. image_generator)
- the agent is an LLM (e.g. GPT-*) which is prompted with the name and spec of each tool (the same each time) and the task(s) you want to perform
- the code generated by the agent is run by a python interpreter that has access to these tools