DeepSeek Coder 1.3B (776MB) ranks as the best lightweight coding model, offering strong quality with 87% code-focused training on 2T tokens and 16K context window. CodeGemma 2B (1.6GB) follows with excellent quality and active Google maintenance. Phi-2 (1.6GB) provides moderate coding capability as a general-purpose model. Qwen
Sort: