AttributeError: 'EAT' object has no attribute '_initialize_weights'

#1
by revantteotiameta - opened

When calling this
model_id = "worstchan/EAT-base_epoch30_pretrain" eat_model = AutoModel.from_pretrained(model_id, trust_remote_code=True).eval()

I get
AttributeError: 'EAT' object has no attribute '_initialize_weights'

It seems the issue is caused by recent updates in the transformers library. Installing the updated requirements.txt in the repo should resolve it β€” thanks for pointing it out!

worstchan changed discussion status to closed

Sign up or log in to comment