this worked for me:

uninstall previous version:
pip uninstall transformers

install the fork:
pip install git+https://github.com/StellaAthena/transformers

use the model:
model = AutoModelForCausalLM.from_pretrained("EleutherAI/gpt-j-6B")


just remember, this model needs 24GB memory.