Error: Failed to fetch data ...

#3
by jangeorgplavec - opened

Hi Florent and anyone else trying this tool! I get an error message ("Failed to fetch data from Hugging Face API: Request failed for https://api-inference.huggingface.co returned code 404. Truncated server response: Not Found (use mutel-lttpExceptions option to examine full response")

huggingface-error.JPG

For testing purposes, I used a simple spreadsheet with a cooking plan and wanted to check if the LLM can classify veg / non-veg meals. The meals are listed in column C, as a function I wrote
=HF(C4; "meta-llama/Meta-Llama-3-70B-Instruct"; "is there a non-vegetarian component listed? Answer yes or no")

Hugging Sheets was installed properly and Access token provided with activated permissions "Make calls to Inference Providers" and "Make calls to your Inference Endpoints".

I see the same error message in Flaurent's test sheet from 2024.

I'm a complete beginner here and it is quite probable that I miss something. Hope that somebody can help me fix it because I think an LLM classifier in Sheets will be very, very useful.

Sign up or log in to comment