HuggingFace Intergration Error

I try to connect to huggingface and I’m doing what the API docs are telling me but I keep getting ‘Invalid URL’.

How do I fix this?

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hi @HenkieT_Amg,

Thanks for posting :sun_with_face: You’ll need to enter the model name instead of the URL for this to work. It also looks like the Model called gpt-2 doesn’t exist in the available Models listed in their documentation Models - Hugging Face - gpt2 without the hyphen seems to be an available model though. Try another model on the list and only input the model name and see if that works!

Hi there, I have got this error message even validating the my API.

Problem in node ‘Embeddings HuggingFace Inference‘

Invalid URL

Screenshot 2024-10-22 at 17.21.01

Node version - 1 (Latest)

n8n version -1.63.4 (Self Hosted)

Appreciate your further advice on it