safetensors incompatible with transformers

#1
by fermanazuko - opened

I am currently unable to run inference locally or via Hugging Face due to missing configurations and documentation. i can only get this error "Transformers does not recognize this architecture."

BosonAI org

Add this flag will solve the problem.

trust_remote_code=True

E,g,

This works:

model = AutoModel.from_pretrained("bosonai/higgs-audio-v3-stt", trust_remote_code=True)

Same for config:
config = AutoConfig.from_pretrained("bosonai/higgs-audio-v3-stt", trust_remote_code=True)

Sign up or log in to comment