alt.freeweights.granite / granite-3.1-8b-base
From: ibm-granite <huggingface.co/ibm-granite>Newsgroups: alt.freeweights.graniteSubject:

granite-3.1-8b-base

Date: 2026-11-15Commit: 39975baSigned: 2DC28CC7B26A283B ✓

Text generation model with 8.2B parameters. Safetensors weights, 16.3 GB in all. Published by ibm-granite under Apache-2.0.

8.2B params16.3GBgranite-3.1-8b-basesafetensorspermissive
FactsParams8.2BSize16.3 GBFormatssafetensorsTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get ibm-granite/granite-3.1-8b-base
# manifest sha256 f193f4b4d000… · 16.3 GB · 12 files
$ fw verify ./granite-3.1-8b-base ibm-granite/granite-3.1-8b-base
From sourceHosted (signed)ibm-granite/granite-3.1-8b-baseLast check: 2026-11-15 03:33 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Works with

Overview

Size
16.3 GB
Weights
16.3 GB (safetensors)
Parameters
8.2B
Formats
safetensors
Task
text generation
License
Apache-2.0 (permissive)
Files
12, each with a sha256
Publisher
ibm-granite
Added
2026-11-15
Section
alt.freeweights.granite
Lineage

Original release from the publisher.

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 03:33 UTCpassed

Model card

From the publisher at commit 39975ba. Shown as plain text with links; images open at the publisher.

Granite-3.1-8B-Base#

Model Summary: Granite-3.1-8B-Base extends the context length of Granite-3.0-8B-Base from 4K to 128K using a progressive training strategy by increasing the supported context length in increments while adjusting RoPE theta until the model has successfully adapted to desired length of 128K. This long-context pre-training stage was performed using approximately 500B tokens.

Supported Languages: English, German, Spanish, French, Japanese, Portuguese, Arabic, Czech, Italian, Korean, Dutch, and Chinese. Users may finetune Granite 3.1 models for languages beyond these 12 languages.

Intended Use: Prominent use cases of LLMs in text-to-text generation include summarization, text classification, extraction, question-answering, and other long-context tasks. All Granite Base models are able to handle these tasks as they were trained on a large amount of data from various domains. Moreover, they can serve as baseline to create specialized models for specific application scenarios.

Generation: This is a simple example of how to use Granite-3.1-8B-Base model.

Install the following libraries:

pip install torch torchvision torchaudio
pip install accelerate
pip install transformers

Then, copy the code snippet below to run the example.

from transformers import AutoModelForCausalLM, AutoTokenizer
device = "auto"
model_path = "ibm-granite/granite-3.1-8B-base"
tokenizer = AutoTokenizer.from_pretrained(model_path)
# drop device_map if running on CPU
model = AutoModelForCausalLM.from_pretrained(model_path, device_map=device)
model.eval()
# change input text as desired
input_text = "Where is the Thomas J. Watson Research Center located?"
# tokenize the text
input_tokens = tokenizer(input_text, return_tensors="pt").to(device)
# generate output tokens
output = model.generate(**input_tokens,
                        max_length=4000)
# decode output tokens into text
output = tokenizer.batch_decode(output)
# print output
print(output)

Evaluation Results:

HuggingFace Open LLM Leaderboard V1

| Models | ARC-Challenge | Hellaswag | MMLU | TruthfulQA | Winogrande | GSM8K | Avg

| Granite-3.1-8B-Base | 63.99 | 83.27 | 63.45 | 51.29 | 78.92 | 60.19 | 66.85

| Granite-3.1-2B-Base | 53.58 | 77.67 | 52.86 | 39.02 | 72.84 | 47.99 | 57.32

| Granite-3.1-3B-A800M-Base | 50.76 | 74.45 | 48.31 | 39.91 | 69.29 | 40.56 | 53.88

| Granite-3.1-1B-A400M-Base | 39.42 | 66.13 | 26.53 | 37.67 | 2.03 | 18.87 | 31.78

HuggingFace Open LLM Leaderboard V2

| Models | IFEval | BBH | MATH Lvl 5 | GPQA | MUSR | MMLU-Pro | Avg

| Granite-3.1-8B-Base | 42.21 | 26.02 | 9.52 | 9.51 | 8.36 | 24.8 | 20.07

| Granite-3.1-2B-Base | 35.22 | 16.84 | 5.59 | 3.69 | 3.9 | 13.9 | 13.19

| Granite-3.1-3B-A800M-Base | 29.96 | 11.91 | 4 | 3.69 | 1.11 | 8.81 | 9.91

| Granite-3.1-1B-A400M-Base | 25.19 | 6.43 | 2.19 | 0.22 | 1.76 | 1.55 | 6.22

Model Architecture: Granite-3.1-8B-Base is based on a decoder-only dense transformer architecture. Core components of this architecture are: GQA and RoPE, MLP with SwiGLU, RMSNorm, and shared input/output embeddings.

| Model | 2B Dense | 8B Dense | 1B MoE | 3B MoE

| Embedding size | 2048 | 4096 | 1024 | 1536

| Number of layers | 40 | 40 | 24 | 32

| Attention head size | 64 | 128 | 64 | 64

| Number of attention heads | 32 | 32 | 16 | 24

| Number of KV heads | 8 | 8 | 8 | 8

| MLP hidden size | 8192 | 12800 | 512 | 512

| MLP activation | SwiGLU | SwiGLU | SwiGLU | SwiGLU

| Number of experts | — | — | 32 | 40

| MoE TopK | — | — | 8 | 8

| Initialization std | 0.1 | 0.1 | 0.1 | 0.1

| Sequence length | 128K | 128K | 128K | 128K

| Position embedding | RoPE | RoPE | RoPE | RoPE

| # Parameters | 2.5B | 8.1B | 1.3B | 3.3B

| # Active parameters | 2.5B | 8.1B | 400M | 800M

| # Training tokens | 12T | 12T | 10T | 10T

Training Data: This model is trained on a mix of open source and proprietary data following a three-stage training strategy.

  • Stage 1 data: The data for stage 1 is sourced from diverse domains, such as: web, code, academic sources, books, and math data.
  • Stage 2 data: The data for stage 2 comprises a curated mix of high-quality data from the same domains, plus multilingual and instruction data. The goal of this second training phase is to enhance the model’s performance on specific tasks.
  • Stage 3 data: The data for stage 3 consists of original stage-2 pretraining data with additional synthetic long-context data in form of QA/summary pairs where the answer

contains a recitation of the related paragraph before the answer.

A detailed attribution of datasets can be found in the Granite 3.0 Technical Report, Granite 3.1 Technical Report (coming soon), and Accompanying Author List.

Infrastructure: We train Granite 3.1 Language Models using IBM's super computing cluster, Blue Vela, which is outfitted with NVIDIA H100 GPUs. This cluster provides a scalable and efficient infrastructure for training our models over thousands of GPUs.

Ethical Considerations and Limitations: The use of Large Language Models involves risks and ethical considerations people must be aware of, including but not limited to: bias and fairness, misinformation, and autonomous decision-making. Granite-3.1-8B-Base model is not the exception in this regard. Even though this model is suited for multiple generative AI tasks, it has not undergone any safety alignment, there it may produce problematic outputs. Additionally, it remains uncertain whether smaller models might exhibit increased susceptibility to hallucination in generation scenarios by copying text verbatim from the training dataset due to their reduced sizes and memorization capacities. This aspect is currently an active area of research, and we anticipate more rigorous exploration, comprehension, and mitigations in this domain. Regarding ethics, a latent risk associated with all Large Language Models is their malicious utilization. We urge the community to use Granite-3.1-8B-Base model with ethical intentions and in a responsible way.

Resources

Files

12 files · 16.3 GBWeights 16.3 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 12 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md20.5 KB7a689d6ff80aba9824c6192fa5bd576ee9a64d12ad75ac926f9454a90ee6cffe
config.json790 B15b1de14f3167330d20294bf87d0503b4cc40ad4e1b8fc7b97bdba44b3f5e7c2
generation_config.json132 B9908b9afa37288491e32f2d9e818222d70ad66fee0f5be2bf9317a8dc73b7ae2
model-00001-of-00004.safetensors4.97 GB1d62a2b93346dc776068e94cf45d2b4fc38a6352f915a9ca2df0260aaeb840b4
model-00002-of-00004.safetensors4.99 GB2f39760677794e9c7ada21bd9174449b270740a665944efab0e1d8c4c6b6146f
model-00003-of-00004.safetensors4.97 GB1b47d47f6beb87705f9ce341dd3bb0ea1292c4b2fc9cf3377bf6ce9985c1c2bc
model-00004-of-00004.safetensors1.41 GB0c5217c4bdaea26cbe0cc88b267d1097557ea1449cefeb3c7e4eff3ebb2fdef9
model.safetensors.index.json29.8 KBda180c8399b2c06576cd6e79656c3a2f12818f818b65fbfc05127fc605aeb8de
special_tokens_map.json1.02 KB2f2bba45146f073a7b8a097cb6133a6b4b66d5751e73f2a2aca81083288813e9
tokenizer.json2.06 MBd3b4df07a0ce3940b15c77e2ea17ab5627ca0c4bf982d2eb37966aea0a81c918
tokenizer_config.json4.13 KB0764d3ae3830187f63cfe568c754d99900fed85fc9d071e6cfe2add9f555b6bb
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
39975ba909 pinned now2026-11-15 03:33 UTC12 files · 16.3 GB

Use it

$ fw get ibm-granite/granite-3.1-8b-base
# manifest sha256 f193f4b4d000… · 16.3 GB · 12 files
$ fw verify ./granite-3.1-8b-base ibm-granite/granite-3.1-8b-base
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/ibm-granite/granite-3.1-8b-base.json --dir ./granite-3.1-8b-base $ python3 fw.py verify ./granite-3.1-8b-base ./ibm-granite__granite-3.1-8b-base.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download ibm-granite/granite-3.1-8b-base --revision 39975ba909950a1bad8fa1cb6981d4d048b75553 --local-dir ./granite-3.1-8b-base
transformersLoad the weights in Python.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from transformers import AutoModelForCausalLM, AutoTokenizer tok = AutoTokenizer.from_pretrained("ibm-granite/granite-3.1-8b-base", revision="39975ba909950a1bad8fa1cb6981d4d048b75553") model = AutoModelForCausalLM.from_pretrained("ibm-granite/granite-3.1-8b-base", revision="39975ba909950a1bad8fa1cb6981d4d048b75553", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve ibm-granite/granite-3.1-8b-base --revision 39975ba909950a1bad8fa1cb6981d4d048b75553

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
7a689d6ff80aba9824c6192fa5bd576ee9a64d12ad75ac926f9454a90ee6cffe
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: ibm-granite <huggingface.co/ibm-granite>Newsgroups: alt.freeweights.graniteSubject: granite-3.1-8b-baseDate: 2026-11-15Commit: 39975baSigned: 2DC28CC7B26A283B ✓
Upstream
ibm-granite/granite-3.1-8b-base
Pinned commit
39975ba909950a1bad8fa1cb6981d4d048b75553
Manifest
granite-3.1-8b-base.json · .minisig
Manifest sha256
f193f4b4d0006a704bb316ca6e44c2aadfa7bdbdacd18763f70d58c2c7010cb8
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 03:33 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/ibm-granite/granite-3.1-8b-base.json $ curl -O https://freeweights.allternit.com/manifests/ibm-granite/granite-3.1-8b-base.json.minisig $ minisign -Vm granite-3.1-8b-base.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

1 model in the catalog name this one as their parent.

Fine-tunes
1
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download ibm-granite/granite-3.1-8b-base
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. granite-3.1-8b-base.json. Provenance. Takedown history: none.
From: ibm-granite <huggingface.co/ibm-granite>Subject: GneissWeb.7B_ablation_model_on_350B_FineWeb.Edu.seed1
From: ibm-granite <huggingface.co/ibm-granite>Subject: GneissWeb.7B_ablation_model_on_350B_FineWeb.Edu.seed2
From: ibm-granite <huggingface.co/ibm-granite>Subject: GneissWeb.7B_ablation_model_on_350B_FineWeb.Edu.seed3
From: ibm-granite <huggingface.co/ibm-granite>Subject: GneissWeb.7B_ablation_model_on_350B_FineWeb.seed1
From: ibm-granite <huggingface.co/ibm-granite>Subject: GneissWeb.7B_ablation_model_on_350B_FineWeb.seed2
From: ibm-granite <huggingface.co/ibm-granite>Subject: GneissWeb.7B_ablation_model_on_350B_FineWeb.seed3