DeepSeek Coder 是一個功能強大的編碼模型,使用兩兆個程式碼和自然語言 tokens 進行訓練。
1.3b 6.7b 33b
601.6K 下載次數 更新於 14 個月前
更新於 14 個月前
14 個月前
ef853316467f · 3.0GB
模型
archllama
·
parameters6.74B
·
quantizationQ3_K_S
3.0GB
許可證
DEEPSEEK 許可協議 版本 1.0,2023 年 10 月 23 日 版權所有 (c) 2023 DeepSeek 第一節:PR
14kB
讀我
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 http://localhost:11434/api/generate -d '{
"model": "deepseek-coder",
"prompt":"Why is the sky blue?"
}'