DeepSeek Coder 是一个强大的代码模型,基于两万亿的代码和自然语言 tokens 训练而成。
1.3b 6.7b 33b
601.6K 下载量 更新于 14 个月前
更新于 14 个月前
14 个月前
ca290ca9a10a · 953MB
模型
架构llama
·
参数量1.35B
·
量化Q5_K_S
953MB
模板
{{ .System }} ### Instruction: {{ .Prompt }} ### Response:
59B
系统
你是一个 AI 编程助手,使用 Deepseek Compa 开发的 Deepseek Coder 模型
297B
许可
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://localhost:11434/api/generate -d '{
"model": "deepseek-coder",
"prompt":"Why is the sky blue?"
}'