DeepSeek Coder 是一個功能強大的編碼模型,以兩兆個程式碼和自然語言 tokens 進行訓練。
1.3b 6.7b 33b
601.5K Pulls 更新於 14 個月前
更新於 14 個月前
14 個月前
3ddd2d3fc8d2 · 776MB
模型
archllama
·
parameters1.35B
·
quantizationQ4_0
776MB
模板
{{ .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% 英文與中文自然語言。每個模型都以兩兆個 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://#:11434/api/generate -d '{
"model": "deepseek-coder",
"prompt":"Why is the sky blue?"
}'