DeepSeek Coder 是一个强大的代码模型,使用两万亿的代码和自然语言 tokens 训练而成。
1.3b 6.7b 33b
47万 (470K) 下载 (Pulls) 更新于 (Updated) 13个月前 (13 months ago)
更新于 13个月前 (Updated 13 months ago)
13个月前 (13 months ago)
89aaa860fc95 · 2.7GB
模型 (model)
archllama
·
parameters1.35B
·
quantizationF16
2.7GB
模板 (template)
{{ .System }} ### Instruction: {{ .Prompt }} ### Response:
59B
系统 (system)
You are an AI programming assistant, utilizing the Deepseek Coder model, developed by Deepseek Compa
297B
许可证 (license)
DEEPSEEK LICENSE AGREEMENT Version 1.0, 23 October 2023 Copyright (c) 2023 DeepSeek Section I: PR
14kB
自述文件 (Readme)
DeepSeek Coder 从零开始训练,使用了 87% 的代码和 13% 的英语和中文自然语言。每个模型都使用两万亿 tokens 进行了预训练。
可用模型 (Models available)
13 亿参数模型 (1.3 billion parameter model)
ollama run deepseek-coder
67 亿参数模型 (6.7 billion parameter model)
ollama run deepseek-coder:6.7b
330 亿参数模型 (33 billion parameter model)
ollama run deepseek-coder:33b
CLI
打开终端并运行 ollama run deepseek-coder
API
使用 curl 的示例 (Example using curl)
curl -X POST http://127.0.0.1:11434/api/generate -d '{
"model": "deepseek-coder",
"prompt":"Why is the sky blue?"
}'