ImportError: cannot import name 'GPTNeoForCausalLM' from 'transformers' (unknown location)
Hi, I am trying to execute:from transformers import GPT2Tokenizer, GPTNeoForCausalLMand I’m getting the above mentioned error.I’m using torch == 1.8.1 and transformers == 4.4.2. Any help or solution?
2021-04-13T12:41:31Z
GPT-Neo was released in version 4.5 only, so you need to upgrade to that version
2021-04-13T20:40:24Z
Yeah right, it seems to be that. Thanks