DeepSeek Coder 是一个功能强大的代码模型,在两万亿个代码和自然语言标记上训练而成。
1.3b 6.7b 33b
601.6K 拉取次数 更新于 14 个月前
自述文件
DeepSeek Coder 是从头开始训练的,使用了 87% 的代码和 13% 的英语和中文自然语言。每个模型都经过了 2 万亿个标记的预训练。
可用模型
13 亿参数模型
ollama run deepseek-coder
67 亿参数模型
ollama run deepseek-coder:6.7b
330 亿参数模型
ollama run deepseek-coder:33b
CLI
打开终端并运行 ollama run deepseek-coder
API
使用 curl 的示例
curl -X POST http://localhost:11434/api/generate -d '{
"model": "deepseek-coder",
"prompt":"Why is the sky blue?"
}'