IBMGranite Code

Granite 8B Code Instruct 128K

Granite 8B Code Instruct 128K is a July 2024 code-specialist release. It is fine-tuned from the matching long-context base model and remains downloadable.

Release details

Training combines the original instruction data with synthetic repository-level long-context examples. Short-context data covers code commits, mathematics, SQL, function calls and multi-turn code tasks. This earlier release is distinct from the current Granite 4.2 reasoning family.Granite 8B Code Instruct 128K model card

Practical use

Practical guidance. The 8B model provides an earlier code-specific reference for long-file and repository tasks. Review generated changes against the requested behavior, not only whether the output parses. Measure whether extra context improves the edit or causes the model to change unrelated code.

Specifications & access

Granite 8B Code Instruct 128K specifications
DetailValue and conditions
Launch date
AccessDownloadable
Model identifiersibm-granite/granite-8b-code-instruct-128k
Context window131,072 tokens

Published checkpoint context; hosted service limits can differ.

Granite 8B Code Instruct 128K model card
LicenseApache 2.0Granite 8B Code Instruct 128K model card
Parameters8BGranite 8B Code Instruct 128K model card

Related models

  • Granite 4.2 8B

    IBM ยท Granite 4.2

    An 8B dense text model derived from Granite 4.1 Base with full, low-effort and direct-answer thinking modes.

    Launch date Downloadable