lucidrains/toolformer-pytorch
PyTorch implementation of MetaAI's Toolformer for training language models to call external tools and APIs.

Not currently ranked — collecting fresh signals.
star history
This repository implements Toolformer, a research paper from MetaAI on teaching language models to use external tools. The implementation provides utilities for defining tool APIs, training models to predict when and how to call tools, and executing those tool calls to augment the model’s capabilities. It supports various tool types like calendar, web search, and mathematical functions through a flexible API-calling framework.
Frequently asked
- What is lucidrains/toolformer-pytorch?
- PyTorch implementation of MetaAI's Toolformer for training language models to call external tools and APIs.
- Is toolformer-pytorch open source?
- Yes — lucidrains/toolformer-pytorch is open source, released under the MIT license.
- What language is toolformer-pytorch written in?
- lucidrains/toolformer-pytorch is primarily written in Python.
- How popular is toolformer-pytorch?
- lucidrains/toolformer-pytorch has 2.1k stars on GitHub.
- Where can I find toolformer-pytorch?
- lucidrains/toolformer-pytorch is on GitHub at https://github.com/lucidrains/toolformer-pytorch.