Unauthorized Qwen Request Error

#4
by stuartmemo - opened

Hey, I copied the assignment space and tried to run the evaluation, but I'm getting this error. I'm logged in ok. The evaluation runs just fine if I run the space locally. I'm probably doing something spectacularly stupid. Any help would be greatly appreciated!

[Step 1: Duration 0.02 seconds]
Error running agent on task 5a0c1adf-205e-4841-a666-7c3ef95def9d: Error in generating model output:
401 Client Error: Unauthorized for url: https://router.huggingface.co/hf-inference/models/Qwen/Qwen2.5-Coder-32B-Instruct/v1/chat/completions (Request ID: Root=1-680acbf4-5cee8344396df19f1660cf7f;c66486c3-018b-4485-96ef-209ba9055bed)

Invalid username or password.
stuartmemo changed discussion title from Unauthorized Qwen to Unauthorized Qwen Request Error
Hugging Face Agents Course org

Hey ! No worries, it most likely you did not add "HF_TOKEN" as a secret right ? where the value is your correct hugging face token

Ah, yes, I am an idiot! Thanks so much!!

stuartmemo changed discussion status to closed
Your need to confirm your account before you can post a new comment.

Sign up or log in to comment