Mistral
Mistral

Mistral: Mixtral 8x22B Instruct v0.1

mistralai/mixtral-8x22b-instruct-v0.1

Mistral's official instruct fine-tuned version of Mixtral 8x22B. It uses 39B active parameters out of 141B, offering unparalleled cost efficiency for its size. Its strengths include:

  • strong math, coding, and reasoning
  • large context length (64k)
  • fluency in English, French, Italian, German, and Spanish

See benchmarks on the launch announcement here. #moe

Community

Open Source

Context Window

65,536

0

Using Mistral: Mixtral 8x22B Instruct v0.1 with Python API

Using Mistral: Mixtral 8x22B Instruct v0.1 with OpenAI compatible API

import openai

client = openai.Client(
  api_key= '{your_api_key}',
  base_url="https://api.model.box/v1",
)
response = client.chat.completions.create(
model="mistralai/mixtral-8x22b-instruct-v0.1",
messages: [
  {
    role: 'user',
    content:
      'introduce your self',
    },
  ]
)
print(response)