starcoder

StarCoder is a code generation model trained on 80+ programming languages.

1b 3b 7b 15b
Hızlı Kurulum (Ollama kuruluysa)
ollama run starcoder

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 1.8GB 8K Text ollama run starcoder:latest
1b 726MB 8K Text ollama run starcoder:1b
3b 1.8GB 8K Text ollama run starcoder:3b
7b 4.3GB 8K Text ollama run starcoder:7b
15b 9.0GB 8K Text ollama run starcoder:15b
1b-base 726MB 8K Text ollama run starcoder:1b-base
1b-base-q2_K 552MB 8K Text ollama run starcoder:1b-base-q2_K
1b-base-q3_K_S 575MB 8K Text ollama run starcoder:1b-base-q3_K_S
1b-base-q3_K_M 661MB 8K Text ollama run starcoder:1b-base-q3_K_M
1b-base-q3_K_L 720MB 8K Text ollama run starcoder:1b-base-q3_K_L
1b-base-q4_0 726MB 8K Text ollama run starcoder:1b-base-q4_0
1b-base-q4_1 797MB 8K Text ollama run starcoder:1b-base-q4_1
1b-base-q4_K_S 734MB 8K Text ollama run starcoder:1b-base-q4_K_S
1b-base-q4_K_M 792MB 8K Text ollama run starcoder:1b-base-q4_K_M
1b-base-q5_0 868MB 8K Text ollama run starcoder:1b-base-q5_0
1b-base-q5_1 939MB 8K Text ollama run starcoder:1b-base-q5_1
1b-base-q5_K_S 868MB 8K Text ollama run starcoder:1b-base-q5_K_S
1b-base-q5_K_M 910MB 8K Text ollama run starcoder:1b-base-q5_K_M
1b-base-q6_K 1.0GB 8K Text ollama run starcoder:1b-base-q6_K
1b-base-q8_0 1.3GB 8K Text ollama run starcoder:1b-base-q8_0
1b-base-fp16 2.5GB 8K Text ollama run starcoder:1b-base-fp16
3b-base 1.8GB 8K Text ollama run starcoder:3b-base
3b-base-q2_K 1.4GB 8K Text ollama run starcoder:3b-base-q2_K
3b-base-q3_K_S 1.4GB 8K Text ollama run starcoder:3b-base-q3_K_S
3b-base-q3_K_M 1.7GB 8K Text ollama run starcoder:3b-base-q3_K_M

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

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

StarCoder models are trained on GitHub code with over 80+ programming languages.

Example prompt

def print_hello_world():

Example response

    print("Hello world")