A family of open foundation models by IBM for Code Intelligence
3b
8b
20b
34b
165.5K Pulls Updated 3 months ago
Updated 3 months ago
3 months ago
59db7b531bb4 · 12GB
model
archstarcoder
·
parameters20.1B
·
quantizationQ4_0
12GB
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