G

Granite 8b Code Instruct 4k

Developed by ibm-granite
Granite-8B-Code-Instruct-4K is an 8-billion-parameter code instruction model, fine-tuned on various permissible instruction datasets based on Granite-8B-Code-Base-4K, enhancing its ability to follow instructions, including logical reasoning and problem-solving skills.
Downloads 1,481
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.

Model Features

Multilingual Code Generation
Supports code generation in multiple programming languages, including Python, JavaScript, Java, Go, C++, and Rust.
Logical Reasoning and Problem Solving
Enhanced logical reasoning and problem-solving capabilities through fine-tuning, enabling the handling of complex programming tasks.
High-Quality Training Data
Trained on various high-quality datasets, including code submissions, mathematical problems, and code instruction data.

Model Capabilities

Code Generation
Code Explanation
Code Repair
Logical Reasoning
Problem Solving

Use Cases

Programming Assistance
Code Generation
Generates code snippets for specific functionalities based on user instructions.
Achieved a pass@1 score of 57.9 for Python code generation in the HumanEvalSynthesis task.
Code Explanation
Explains the functionality and logic of given code.
Achieved a pass@1 score of 53.0 for Python code explanation in the HumanEvalExplain task.
Code Repair
Fixes errors in given code.
Achieved a pass@1 score of 39.6 for Python code repair in the HumanEvalFix task.
Featured Recommended AI Models
AIbase
Empowering the Future, Your AI Solution Knowledge Base
Š 2025AIbase