Deployed model giving content type error

0

I have deployed a pre trained hugging face model using jumpstart and it gives this error when i am hitting it in test interference. Error invoking endpoint: Received client error (400) from primary with message "{ "code": 400, "type": "InternalServerException", "message": "{"error": "unsupported content type application/json"}" }

1 Resposta
0

While I am not sure of the exact model you are using, I suggest taking a look at the example notebook of the respective JumpStart model and use the same input format and content type the example uses when making prediction (.predict() / InvokeEndpoint ).

AWS
Marc
respondido há 5 meses

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas