Quick start
ollama run granite-codeAvailable sizes
| Tag | Size | Quantization | Context | Min RAM |
|---|---|---|---|---|
| granite-code:latest | 2.0GB | q4_k_m | 125K context | 2.5 GB |
| granite-code:8b | 4.6GB | q4_k_m | 125K context | 5.8 GB |
| granite-code:20b | 12GB | q4_k_m | 8K context | 15 GB |
| granite-code:34b | 19GB | q4_k_m | 8K context | 23.8 GB |
Strengths & Limitations
Strengths
- Code generation
- Code completion
- Code understanding
Limitations
- May require fine-tuning for specific tasks
Related models
qwen2.5-coderCode
The latest series of Code-Specific Qwen models, with significant improvements in code generation, code reasoning, and code fixing.
11.3M pullscodellamaCode
A large language model that can use text prompts to generate and discuss code.
4.3M pullsqwen3-coderCode
Alibaba's performant long context models for agentic and coding tasks.
3.2M pullsdeepseek-coderCode
DeepSeek Coder is a capable coding model trained on two trillion code and natural language tokens.
3.1M pulls