← all repositories

lucidrains/toolformer-pytorch

PyTorch implementation of MetaAI's Toolformer for training language models to call external tools and APIs.

toolformer-pytorch
Velocity · 7d
+1.7
★ / day
Trend
steady
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.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.