Toolformer: Language Models Can Teach Themselves to Use Tools
Indexed inarxivdatacite
Abstract
Language models (LMs) exhibit remarkable abilities to solve new tasks from just a few examples or textual instructions, especially at scale. They also, paradoxically, struggle with basic functionality, such as arithmetic or factual lookup, where much simpler and smaller models excel. In this paper, we show that LMs can teach themselves to use external tools via simple APIs and achieve the best of both worlds. We introduce Toolformer, a model trained to decide which APIs to call, when to call them, what arguments to pass, and how to best incorporate the results into future token prediction. This is done in a self-supervised way, requiring nothing more than a handful of demonstrations for each API. We…
Citation impact
385
total citations
- FWCI
- —
- Percentile
- —
- References
- 0
Citations per year
Authors
8Topics & keywords
Keywords
- Computer science
- Variety (cybernetics)
- Calculator
- Language model
- Simple (philosophy)
- Security token
- Scale (ratio)
- Range (aeronautics)
UN Sustainable Development Goals
- Quality Education
No related works found for this paper.