NavigationContentFooter
Jump toSuggest an edit
Was this page helpful?

Understanding the Mistral-nemo-instruct-2407 model

Reviewed on 24 February 2025Published on 20 August 2024

Model overviewLink to this anchor

AttributeDetails
ProviderMistral
Compatible InstancesL40S, H100, H100-2 (FP8)
Context size128K tokens

Model nameLink to this anchor

mistral/mistral-nemo-instruct-2407:fp8

Compatible InstancesLink to this anchor

Instance typeMax context length
L40128k (FP8)
H100128k (FP8)
H100-2128k (FP8)

Model introductionLink to this anchor

Mistral Nemo is a state-of-the-art transformer model of 12B parameters, built by Mistral in collaboration with NVIDIA. This model is open-weight and distributed under the Apache 2.0 license. It was trained on a large proportion of multilingual and code data.

Why is it useful?Link to this anchor

  • Mistral Nemo offers a very large context window of up to 128k tokens, particularly useful for RAG applications.
  • It is easy to use and a drop-in replacement in any system already using Mistral 7B.
  • This model was designed for global, multilingual applications. It is particularly strong in English, French, German, Spanish, Italian, Portuguese, Chinese, Japanese, Korean, Arabic, and Hindi.

How to use itLink to this anchor

Sending Inference requestsLink to this anchor

Tip

Unlike previous Mistral models, Mistral Nemo requires smaller temperatures. It is recommend to use a temperature of 0.35.

To perform inference tasks with your Mistral model deployed at Scaleway, use the following command:

curl -s \
-H "Authorization: Bearer <IAM API key>" \
-H "Content-Type: application/json" \
--request POST \
--url "https://<Deployment UUID>.ifr.fr-par.scaleway.com/v1/chat/completions" \
--data '{"model":"mistral/mistral-nemo-instruct-2407:fp8", "messages":[{"role": "user","content": "Sing me a song about Xavier Niel"}], "top_p": 1, "temperature": 0.35, "stream": false}'

Make sure to replace <IAM API key> and <Deployment UUID> with your actual IAM API key and the Deployment UUID you are targeting.

Tip

The model name allows Scaleway to put your prompts in the expected format.

Note

Ensure that the messages array is properly formatted with roles (system, user, assistant) and content.

Receiving Managed Inference responsesLink to this anchor

Upon sending the HTTP request to the public or private endpoints exposed by the server, you will receive inference responses from the managed Managed Inference server. Process the output data according to your application’s needs. The response will contain the output generated by the LLM model based on the input provided in the request.

Note

Despite efforts for accuracy, the possibility of generated text containing inaccuracies or hallucinations exists. Always verify the content generated independently.

Was this page helpful?
API DocsScaleway consoleDedibox consoleScaleway LearningScaleway.comPricingBlogCareers
© 2023-2025 – Scaleway