DeepSeek Coder 是一个强大的编码模型,使用两万亿的代码和自然语言 tokens 训练而成。
1.3b 6.7b 33b
470K Pulls Updated 13 months ago
Updated 13 months ago
13 months ago
ca50732c8ee1 · 19GB
model
archllama
·
parameters33.3B
·
quantizationQ4_0
19GB
license
DEEPSEEK LICENSE AGREEMENT Version 1.0, 23 October 2023 Copyright (c) 2023 DeepSeek Section I: PR
14kB
Readme
DeepSeek Coder 是从零开始训练的,其中 87% 的数据为代码,13% 为英语和中文的自然语言。每个模型都使用两万亿 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?"
}'