Error: Could not locate file

#2
by secret-sauce - opened

How do i resolve this? Error: Could not locate file: "https://huggingface.co./onnx-community/Llama-3.2-1B/resolve/main/onnx/decoder_model_merged_quantized.onnx"

i'm trying to use it with transformers.js and nextjs client side

I've got this error as well. Adding { model_file_name: 'model' } into pipeline() as a third argument allows to bypass this error and download the model. However getting [email protected] Uncaught Error: Can't create a session error afterward. So was not able to try the model as well yet.

@isadovskiy that's unfortunate. if you figure out a solution please comment here 😊

I'm getting this error when I try to run this model on the device using @xenova /transformers. Can someone help me, please?

image.png

ONNX Community org

Hi all - please can you instead try @huggingface/transformers instead of @xenova /transformers? We are in the process of migrating all sample code to Transformers.js v3.

"@huggingface/transformers": "^3.0.0-alpha.20"
"@xenova/transformers": "^2.17.2"

Neither work for me...

Sign up or log in to comment