G

Granite 3b Code Instruct 2k

Developed by ibm-granite
Granite-3B-Code-Instruct-2K is a 3-billion-parameter model fine-tuned from Granite-3B-Code-Base-2K, with enhanced instruction-following capabilities, particularly excelling in code generation and logical reasoning tasks.
Downloads 1,883
Release Time : 4/26/2024

Model Overview

This model is designed to respond to coding-related instructions and can be used to build coding assistants, supporting code generation, explanation, and repair in multiple programming languages.

Model Features

Multilingual Code Support
Supports code generation, explanation, and repair tasks in multiple programming languages
Instruction Fine-Tuning
Enhanced instruction-following capability through high-quality instruction datasets
Logical Reasoning Ability
Trained with mathematical datasets, demonstrating strong logical reasoning and problem-solving skills

Model Capabilities

Code Generation
Code Explanation
Code Repair
Logical Reasoning
Problem Solving

Use Cases

Programming Assistance
Code Generation
Generate code in multiple programming languages based on natural language descriptions
Achieved a pass@1 score of 51.2% in Python code generation on the HumanEvalSynthesis test
Code Explanation
Explain the functionality and logic of given code
Achieved a pass@1 score of 39.6% in Python code explanation on the HumanEvalExplain test
Code Repair
Identify and fix errors in code
Achieved a pass@1 score of 33.5% in Java code repair on the HumanEvalFix test
Featured Recommended AI Models
AIbase
Empowering the Future, Your AI Solution Knowledge Base
Š 2025AIbase