A family of open foundation models by IBM for Code Intelligence
3b
8b
20b
34b
165.5K Pulls Updated 3 months ago
Updated 6 months ago
6 months ago
dec9b6ea432f · 7.9GB
model
archstarcoder
·
parameters20.1B
·
quantizationQ2_K
7.9GB
params
{
"stop": [
"<fim_prefix>",
"<fim_middle>",
"<fim_suffix>",
"<fi
108B
template
{{ if .System }}
System:
{{ .System }}
{{ end }}{{ if .Prompt }}Question:
{{ .Prompt }}
{{ end }}A
123B
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