lucidrains / toolformer-pytorch

Implementation of Toolformer, Language Models That Can Use Tools, by MetaAI
MIT License
1.94k stars 124 forks source link

TypeError: forward() takes 1 positional argument but 2 were given #14

Open jie1126 opened 11 months ago

jie1126 commented 11 months ago

code: toolformer(data)

execute code above , then throw a error as follow:

TypeError: forward() takes 1 positional argument but 2 were given

why? How to solve it?