DeepSeek Coder 是一个强大的编码模型,经过在两万亿代码和自然语言标记上训练而成。
1.3b 6.7b 33b
601.6K 拉取 更新于 14 个月前
更新于 14 个月前
14 个月前
29b391c03801 · 14GB
模型
架构llama
·
参数33.3B
·
量化Q3_K_S
14GB
许可证
DEEPSEEK 许可协议 1.0 版,2023 年 10 月 23 日版权 (c) 2023 DeepSeek 第一部分:公关
14kB
自述文件
DeepSeek Coder 是从头开始训练的,其中 87% 的数据是代码,13% 是英语和中文的自然语言。 每个模型都在两万亿个标记上进行了预训练。
可用模型
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?"
}'