codebooga

A high-performing code instruct model created by merging two existing code models.

34b
Hızlı Kurulum (Ollama kuruluysa)
ollama run codebooga

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 19GB 16K Text ollama run codebooga:latest
34b 19GB 16K Text ollama run codebooga:34b
34b-v0.1-q2_K 14GB 16K Text ollama run codebooga:34b-v0.1-q2_K
34b-v0.1-q3_K_S 15GB 16K Text ollama run codebooga:34b-v0.1-q3_K_S
34b-v0.1-q3_K_M 16GB 16K Text ollama run codebooga:34b-v0.1-q3_K_M
34b-v0.1-q3_K_L 18GB 16K Text ollama run codebooga:34b-v0.1-q3_K_L
34b-v0.1-q4_0 19GB 16K Text ollama run codebooga:34b-v0.1-q4_0
34b-v0.1-q4_1 21GB 16K Text ollama run codebooga:34b-v0.1-q4_1
34b-v0.1-q4_K_M 20GB 16K Text ollama run codebooga:34b-v0.1-q4_K_M
34b-v0.1-q5_0 23GB 16K Text ollama run codebooga:34b-v0.1-q5_0
34b-v0.1-q5_1 25GB 16K Text ollama run codebooga:34b-v0.1-q5_1
34b-v0.1-q5_K_S 23GB 16K Text ollama run codebooga:34b-v0.1-q5_K_S
34b-v0.1-q5_K_M 24GB 16K Text ollama run codebooga:34b-v0.1-q5_K_M
34b-v0.1-q6_K 28GB 16K Text ollama run codebooga:34b-v0.1-q6_K
34b-v0.1-q8_0 36GB 16K Text ollama run codebooga:34b-v0.1-q8_0
34b-v0.1-fp16 67GB 16K Text ollama run codebooga:34b-v0.1-fp16

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

Codebooga was created by merging two existing models:

  1. Phind-CodeLlama-34B-v2
  2. WizardCoder-Python-34B-V1.0

It was created by using the BlockMerge Gradient script.

Example prompts

Write the javascript react code to render a sign up form
Where is the bug in this code?

def fib(n):
    if n <= 0:
        return n
    else:
        return fib(n-1) + fib(n-2)

Recommended parameters

temperature: 1.31
top_p: 0.14
repeat_penalty: 1.17
top_k: 49

References

Hugging Face