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 réponse
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
répondu il y a 5 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions