DeepSeek Coder 是一个强大的编码模型,基于两万亿的代码和自然语言 token 训练而成。
1.3b 6.7b 33b
601.6K 下载 更新于 14 个月前
自述文件
DeepSeek Coder 完全从头开始训练,其中 87% 为代码,13% 为英语和汉语的自然语言。 每个模型都在两万亿个 token 上进行了预训练。
可用模型
13 亿参数模型
ollama run deepseek-coder
67 亿参数模型
ollama run deepseek-coder:6.7b
330 亿参数模型
ollama run deepseek-coder:33b
命令行界面
打开终端并运行 ollama run deepseek-coder
应用程序接口
使用 curl 的示例
curl -X POST http://localhost:11434/api/generate -d '{
"model": "deepseek-coder",
"prompt":"Why is the sky blue?"
}'