Mistral
Mistral

Mistral-7B-Instruct-v0.3

mistralai/mistral-7b-instruct-v0.3

The Mistral-7B-Instruct-v0.3 Large Language Model (LLM) is an instruct fine-tuned version of the Mistral-7B-v0.3. Mistral-7B-v0.3 has the following changes compared to Mistral-7B-v0.2 Extended vocabulary to 32768 Supports v3 Tokenizer Supports function calling

Community

Open Source

Context Window

32,768

Max Output Tokens

8,192

Using Mistral-7B-Instruct-v0.3 with Python API

Using Mistral-7B-Instruct-v0.3 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/mistral-7b-instruct-v0.3",
messages: [
  {
    role: 'user',
    content:
      'introduce your self',
    },
  ]
)
print(response)