Deepseek
Deepseek V2.5 Coder
deepseek/deepseek-coder
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
16,000
Max Output Tokens
8,000
Using Deepseek V2.5 Coder with Python API
Using Deepseek V2.5 Coder 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-coder",
messages: [
{
role: 'user',
content:
'introduce your self',
},
]
)
print(response)