Skip to content

ibm-granite

granite-3.1-2b-base

ibm-granite/granite-3.1-2b-base

granite-3.1-2b-base is a text generation model from ibm-granite. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.

Model Summary: Granite-3.1-2B-Base extends the context length of Granite-3.0-2B-Base from 4K to 128K using a progressive training strategy by increasing the supported context length in increments while adjusting RoPE…

Downloads · 30 days

1.8K

2% of all-time downloads

All-time downloads

110K

Public

Parameters

2.5B

5.1 GB on disk

Likes

15

Public

Hugging Face

Repo makeup

Click a slice to open those files.

.safetensors5.1 GB · 100%

At a glance

Task
Text Generation
Library
transformers
License
apache-2.0
Model type
granite
Access
Public
Created
Dec 6, 2024
Updated
Apr 16, 2025
SHA
bcf4e33e

Try a prompt

Task
Text Generation
Library
transformers
Type
granite
License
apache-2.0
Created
Dec 6, 2024
Updated
Apr 16, 2025