Closed ck-unifr closed 1 year ago
Which version of python interpreter are you using? I resolved the problem by updating from 3.8 to 3.9. https://stackoverflow.com/questions/59101121/type-hint-for-a-dict-gives-typeerror-type-object-is-not-subscriptable
Which version of python interpreter are you using? I resolved the problem by updating from 3.8 to 3.9. https://stackoverflow.com/questions/59101121/type-hint-for-a-dict-gives-typeerror-type-object-is-not-subscriptable
Thanks. The version of python was 3.8.
Description
After installing toolformer with "$ pip install toolformer-pytorch", I tried to run the example. When I call "from toolformer_pytorch import Toolformer, PaLM", I have got a type error.
Screenshots