A family of open foundation models by IBM for Code Intelligence
3b
8b
20b
34b
157.3K Pulls Updated 2 months ago
Updated 2 months ago
2 months ago
4670ab1f3599 · 14GB
model
archstarcoder
·
parameters20.1B
·
quantizationQ5_0
14GB
params
{"stop":["System:","Question:","Answer:"]}
43B
template
{{ if .Messages }}
{{- range $i, $_ := .Messages }}
{{- $last := eq (len (slice $.Messages $i)) 1 }}
592B
license
Apache License
Version 2.0, January 2004
11kB
Readme
Granite Code is a family of decoder-only code model designed for code generative tasks (e.g. code generation, code explanation, code fixing, etc.).
Parameter Sizes
- 34B Parameters
ollama run granite-code:34b
- 20B Parameters
ollama run granite-code:20b
- 8B Parameters (with 128K context window)
ollama run granite-code:8b
- 3B Parameters (with 128K context window)
ollama run granite-code:3b