deepseek-coder

DeepSeek Coder is a capable coding model trained on two trillion code and natural language tokens.

1.3b 6.7b 33b
Hızlı Kurulum (Ollama kuruluysa)
ollama run deepseek-coder

Ollama kurulu değil mi? ollama.com/download — Windows, macOS ve Linux için ücretsiz. İlk çalıştırmada model indirilir, sonrası tamamen çevrimdışıdır.

Varyantlar

Boyut büyüdükçe kalite artar, donanım ihtiyacı yükselir. Başlangıç için küçük varyantı deneyin.

EtiketBoyutBağlamGirdiKomut
latest 776MB 16K Text ollama run deepseek-coder:latest
base 776MB 16K Text ollama run deepseek-coder:base
instruct 776MB 16K Text ollama run deepseek-coder:instruct
1.3b 776MB 16K Text ollama run deepseek-coder:1.3b
6.7b 3.8GB 16K Text ollama run deepseek-coder:6.7b
33b 19GB 16K Text ollama run deepseek-coder:33b
1.3b-base 776MB 16K Text ollama run deepseek-coder:1.3b-base
1.3b-base-q2_K 632MB 16K Text ollama run deepseek-coder:1.3b-base-q2_K
1.3b-base-q3_K_S 659MB 16K Text ollama run deepseek-coder:1.3b-base-q3_K_S
1.3b-base-q3_K_M 705MB 16K Text ollama run deepseek-coder:1.3b-base-q3_K_M
1.3b-base-q3_K_L 745MB 16K Text ollama run deepseek-coder:1.3b-base-q3_K_L
1.3b-base-q4_0 776MB 16K Text ollama run deepseek-coder:1.3b-base-q4_0
1.3b-base-q4_1 856MB 16K Text ollama run deepseek-coder:1.3b-base-q4_1
1.3b-base-q4_K_S 815MB 16K Text ollama run deepseek-coder:1.3b-base-q4_K_S
1.3b-base-q4_K_M 874MB 16K Text ollama run deepseek-coder:1.3b-base-q4_K_M
1.3b-base-q5_0 936MB 16K Text ollama run deepseek-coder:1.3b-base-q5_0
1.3b-base-q5_1 1.0GB 16K Text ollama run deepseek-coder:1.3b-base-q5_1
1.3b-base-q5_K_S 953MB 16K Text ollama run deepseek-coder:1.3b-base-q5_K_S
1.3b-base-q5_K_M 1.0GB 16K Text ollama run deepseek-coder:1.3b-base-q5_K_M
1.3b-base-q6_K 1.2GB 16K Text ollama run deepseek-coder:1.3b-base-q6_K
1.3b-base-q8_0 1.4GB 16K Text ollama run deepseek-coder:1.3b-base-q8_0
1.3b-base-fp16 2.7GB 16K Text ollama run deepseek-coder:1.3b-base-fp16
1.3b-instruct 776MB 16K Text ollama run deepseek-coder:1.3b-instruct
1.3b-instruct-q2_K 632MB 16K Text ollama run deepseek-coder:1.3b-instruct-q2_K
1.3b-instruct-q3_K_S 659MB 16K Text ollama run deepseek-coder:1.3b-instruct-q3_K_S

77 varyant daha var — tümü için ollama.com.

Model Detayları ve Benchmarklar (kaynak: ollama.com)

DeepSeek Coder is trained from scratch on both 87% code and 13% natural language in English and Chinese. Each of the models are pre-trained on 2 trillion tokens.

Models available

1.3 billion parameter model

ollama run deepseek-coder

6.7 billion parameter model

ollama run deepseek-coder:6.7b

33 billion parameter model

ollama run deepseek-coder:33b

CLI

Open the terminal and run ollama run deepseek-coder

API

Example using curl:

curl -X POST http://localhost:11434/api/generate -d '{
  "model": "deepseek-coder",
  "prompt":"Why is the sky blue?"
 }'

API documentation

References

HuggingFace