DeepSeek Coder 是一個功能強大的程式碼模型,在兩兆個程式碼和自然語言 tokens 上進行訓練。
1.3b 6.7b 33b
601.6K Pulls Updated 14 months ago
Updated 14 months ago
14 months ago
e13a2f5b13e6 · 5.1GB
model
archllama
·
parameters6.74B
·
quantizationQ5_1
5.1GB
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% 的英文與中文自然語言。每個模型都在 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 https://127.0.0.1:11434/api/generate -d '{
"model": "deepseek-coder",
"prompt":"Why is the sky blue?"
}'