Keyerror when trying to download GPT-J-6B checkpoint
model = AutoModelForCausalLM.from_pretrained(“EleutherAI/gpt-j-6B”, torch_dtype=torch.float32)results in akeyerror ‘gptj’when attempting to download the checkpoint. running transformers library version 4.10.2similar to topic:How to get "EleutherAI/gpt-j-6B" working?ModelsI’m trying to run theEleutherAI/gpt-j-6Bmodel, but with no luck. The code 
model = AutoModelForCausalLM.from_pretrained("EleutherAI/gpt-j-6B")

returns the following error: 
Traceback (most recent call last):
  File "gptjtest.py", line 18, in <module>
    model = AutoModelForCausalLM.from_pretrained("gpt-j-6B")
  File "/home/marcin/miniconda3/envs/py37/lib/python3.7/site-packages/transformers/models/auto/auto_factory.py", line 383, in from_pretrained
    pretrained_model_name_or_path, return_u…github pull request seems to have been merged already.
2021-09-29T13:51:22Z
GPT-J has been merged and is part of version4.11, so you should be able to update yourtransformersversion to the latest one and use GPT-J.
2021-09-29T14:02:32Z
I see, thanks Bram! did the trick