DeepSeek Coder 是一个强大的代码模型,使用两万亿的代码和自然语言 tokens 训练而成。
1.3b 6.7b 33b
470K 下载量 更新于 13 个月前
更新于 13 个月前
13 个月前
2eb01ebad3f6 · 1.0GB
模型
archllama
·
parameters1.35B
·
quantizationQ5_1
1.0GB
许可证
DEEPSEEK 许可协议 版本 1.0,2023 年 10 月 23 日 版权所有 (c) 2023 DeepSeek 第一节:PR
14kB
Readme
DeepSeek Coder 从零开始训练,数据集包含 87% 的代码和 13% 的自然语言,语言为英语和中文。每个模型都使用 2 万亿 tokens 进行了预训练。
可用模型
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://127.0.0.1:11434/api/generate -d '{
"model": "deepseek-coder",
"prompt":"Why is the sky blue?"
}'