Model does not exist

I have completely built my space. The status says running. However, every time I try a chat, I get the following error codes in the log;

huggingface_hub.errors.HfHubHTTPError: 404 Client Error: Not Found for url: https://api-inference.huggingface.co/models/hf://tatihden/gemma_mental_health_2b_en (Request ID: _X6BQvk9F_8zeSSxjuudQ)

Model hf://tatihden/gemma_mental_health_2b_en does not exist

Please help. Thanks

2 Likes

The cause seems to be in the model and HF server, not the program. It seems that using Keras models with InferenceClient is not supported.
I think it will work if you use a model that is not in Keras format or write a program for Keras.

Inference API (serverless) does not yet support keras-hub models for this pipeline type.

1 Like

Thanks for this response. I really appreciate it.

Yahoo Mail: Search, Organize, Conquer

1 Like