AI & XML / LLM test suite / Results / Models / granite-code:20b

Model description

A family of open foundation models from IBM for code intelligence.

Model family

granite-code

Context

8K

Input

Text

Size

12 GB

Family sizes

3b, 8b, 20b, 34b

Readme excerpt

Granite Code is a family of decoder-only code models for code generation tasks, such as generating, explaining and correcting code.

Parameter sizes

34B parameters ollama run granite-code:34b 20B parameters ollama run granite-code:20b 8B parameters with a 128K context window ollama run granite-code:8b 3B parameters with a 128K context window ollama run granite-code:3b

Resources

Hugging Face Research paper

381 Runs 402 evaluated 20.8 % Score 3.5 % exactly correct

Help on evaluation, score and exact correctness

Score is a graded quality measure: correct = 100 %, mostly_correct = 80 %, partial = 50 %, wrong/not_answered = 0 %.

Exactly correct is stricter: only correct-labeled runs count. Mostly correct increases score but does not count as exactly correct.

Evaluated counts all runs with a substantive judgment. LLM-judge errors also count as evaluated, with score 0 %.

Test case Category

x

back to top