Deepseek
DeepSeek-V2.5 Chat
deepseek/deepseek-chat
DeepSeek-V2.5 is an upgraded version that combines DeepSeek-V2-Chat and DeepSeek-Coder-V2-Instruct. The new model integrates the general and coding abilities of the two previous versions. For model details, please visit DeepSeek-V2 page for more information. DeepSeek-V2.5 better aligns with human preferences and has been optimized in various aspects, including writing and instruction following:
Community
Open Source
Context Window
128,000
Max Output Tokens
8,000
Using DeepSeek-V2.5 Chat with Python API
Using DeepSeek-V2.5 Chat 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="deepseek/deepseek-chat",
messages: [
{
role: 'user',
content:
'introduce your self',
},
]
)
print(response)