DeepSeek Coder 是一款强大的代码模型,使用两万亿的代码和自然语言 tokens 训练而成。
1.3b 6.7b 33b
47万 下载次数 更新于 13 个月前
更新于 13 个月前
13 个月前
22ce0a5b45b2 · 3.3GB
模型
架构llama
·
参数6.74B
·
量化Q3_K_M
3.3GB
许可
DEEPSEEK LICENSE AGREEMENT Version 1.0, 23 October 2023 Copyright (c) 2023 DeepSeek Section I: PR
14kB
自述文件
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?"
}'