Problem with 'mistralai/Mistral-Nemo-Instruct-2407's API for Chat completion

#80
by adelamare-blockchain - opened

Hi !

I am in front of a big problem, while it seems that the API mistralai/Mistral-Nemo-Instruct-2407 (Official Hugging Face documentation for 'Chat Completion : curl 'https://api-inference.huggingface.co/models/google/gemma-2-2b-it/v1/chat/completions' \ -H "Authorization: Bearer hf_***" \ -H 'Content-Type: application/json' \ -d '{ "model": "google/gemma-2-2b-it", "messages": [{"role": "user", "content": "What is the capital of France?"}], "max_tokens": 500, "stream": false }') is not working for "Chat Completion".
The address 'https://api-inference.huggingface.co/models/mistralai/Mistral-Nemo-Instruct-2407/v1/chat/completions' points to ```// 20240918233810
// https://api-inference.huggingface.co/models/mistralai/Mistral-Nemo-Instruct-2407/v1/chat/completions

{
"error": "Model mistralai/Mistral-Nemo-Instruct-2407/v1/chat/completions does not exist"
}```.
Which correct API could i use in order to call properly the mistralai/Mistral-Nemo-Instruct-2407 Chat completion please ?

Thx !

Sign up or log in to comment