400 Client Error in Inference API for sentence similarity task
Getting ‘400 Client Error: Bad Request for url’ error while trying out the widgets of sentence- similarity task.image780×859 75.8 KBFaced this issue while trying to use many sentence-similarity models uploaded in the last 2 months: (Mentioning the names of few models for example)l3cube-pune/indic-sentence-similarity-sbertl3cube-pune/indic-sentence-bert-nlil3cube-pune/hindi-sentence-bert-nliIs this some problem with the model or it this a problem related to HF inference API?Any help regarding how to fix this error would be appreciated.Thanks
2023-04-04T09:43:02Z
@ananya20did you find a solution?I’m facing the same issue.it is working locally, but the pushed version on HG throws the same error.
2023-04-05T02:57:49Z
@bayangI haven’t found a solution yet. I could see this error in most sentence-similarity models pushed on Hugging Face recently. I do not think this is an issue with the model files
2023-04-05T10:31:27Z
@ananya20Exactly my model is working offline when I call my private model usinguse_auth_token, it works perfectly locally.If we were able to see and modify the code behind their free API inferencing, this could be great.
2023-04-28T10:11:51Z
The issue seems to be resolved now. The error is gone and APIs are working well.
2023-04-28T10:55:57Z
You are right, it is also working on my side:)
2024-10-24T16:16:33Z
I am using a text to image model and still getting this error on my deployed website. Anybody has an idea why?
2024-10-25T00:41:19Z
The Inference API specification has changed since the summer, making it almost unusable unless the model is inWarmstatus.huggingface.coSupported ModelsWe’re on a journey to advance and democratize artificial intelligence through open source and open science.