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