DeepSeek Coder 是一个强大的编码模型,经过在两万亿代码和自然语言 Token 上训练。

1.3b 6.7b 33b

601.5K 14 个月前

Readme

DeepSeek Coder 完全基于 87% 的代码和 13% 的英语和中文自然语言进行训练。 每个模型都在 2 万亿个 Token 上进行了预训练。

可用模型

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?"
 }'

API 文档

参考资料

HuggingFace