fixed relative imports and method overriding issues, to resolve errors when loading the model with AutoModel

to reproduce the ImportError:

from transformers import AutoModel
model = AutoModel.from_pretrained("AnjaliRuban/idiolex-arabertv2-ar", trust_remote_code=True, dtype="auto")

fixed relative imports and method overriding issues, to resolve errors when loading the model with AutoModel

to reproduce the ImportError:

from transformers import AutoModel
model = AutoModel.from_pretrained("AnjaliRuban/idiolex-arabertv2-ar", trust_remote_code=True, dtype="auto")
neezr changed pull request status to open

fixed relative imports and method overriding issues, to resolve errors when loading the model with AutoModel

to reproduce the ImportError:

from transformers import AutoModel
model = AutoModel.from_pretrained("AnjaliRuban/idiolex-arabertv2-ar", trust_remote_code=True, dtype="auto")
neezr changed pull request status to closed
neezr changed pull request status to open
AnjaliRuban changed pull request status to merged

Sign up or log in to comment