AttributeError: 'EAT' object has no attribute '_initialize_weights'
#1
by
revantteotiameta
- opened
When calling thismodel_id = "worstchan/EAT-base_epoch30_pretrain" eat_model = AutoModel.from_pretrained(model_id, trust_remote_code=True).eval()
I getAttributeError: '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