DeepSeek Coder 是一個功能強大的編碼模型,使用兩兆個程式碼和自然語言 tokens 進行訓練。
1.3b 6.7b 33b
601.6K 下載次數 更新於 14 個月前
更新於 14 個月前
14 個月前
070ae915fa23 · 18GB
模型
archllama
·
parameters33.3B
·
quantizationQ3_K_L
18GB
模板
{{ .System }} ### Instruction: {{ .Prompt }} ### Response:
59B
系統
You are an AI programming assistant, utilizing the Deepseek Coder model, developed by Deepseek Compa
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?"
}'