ModuleNotFoundError: No module named 'transformers_modules.phi-3'

#17
by Zuxu - opened

Try Loading Model:
"tokenizer = AutoTokenizer.from_pretrained(model_path, trust_remote_code = True)
model = AutoModelForCausalLM.from_pretrained(model_path, trust_remote_code = True)"

But raise such error:
"ModuleNotFoundError: No module named 'transformers_modules.phi-3'"

I have checked my transformers version:
"transformers 4.37.0"

What Should I do to fix this?

Zuxu changed discussion status to closed

How to fix this?

Sign up or log in to comment