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

granite-4.1-8b-base

Date: 2026-11-15Commit: cbc32f9Signed: 2DC28CC7B26A283B ✓

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

8.4B params16.8GBgranite-4.1-8b-basesafetensorspermissive
FactsParams8.4BSize16.8 GBFormatssafetensorsTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get ibm-granite/granite-4.1-8b-base
# manifest sha256 63c62fdc9846… · 16.8 GB · 13 files
$ fw verify ./granite-4.1-8b-base ibm-granite/granite-4.1-8b-base
From sourceHosted (signed)ibm-granite/granite-4.1-8b-baseLast check: 2026-11-15 02:41 UTC

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

Works with

Overview

Size
16.8 GB
Weights
16.8 GB (safetensors)
Parameters
8.4B
Formats
safetensors
Task
text generation
License
Apache-2.0 (permissive)
Files
13, 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 02:41 UTCpassed

Model card

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

mof-class3-qualified

Granite-4.1-8B-Base#

Model Summary: Granite‑4.1‑8B‑Base is a decoder‑only language model with long‑context capabilities, designed to support a broad range of text‑to‑text generation tasks. In addition to standard generation, it supports Fill‑in‑the‑Middle (FIM) code completion through specialized prefix and suffix tokens. The model is trained from scratch on approximately 15 trillion tokens using a five‑phase training strategy: 10 trillion tokens in phase one, 2 trillion tokens each in phases two and three, and 0.5 trillion tokens in phase four. In the final phase, long‑context extension is applied to expand the model’s context window to 512K tokens.

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

Intended Use: Prominent use cases of LLMs in text-to-text generation include summarization, text classification, extraction, question-answering, code-completion (including FIM), and long-context generation 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-4.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 = "cuda"

model_path = "ibm-granite/granite-4.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 = "The capital of France is"
# tokenize the text
input_tokens = tokenizer(input_text, return_tensors="pt").to(device)
# generate output tokens
output = model.generate(**input_tokens, max_length=10)
# decode output tokens into text
output = tokenizer.batch_decode(output)
# print output
print(output[0])

Expected output:

The capital of France is Paris.

Evaluation Results:

| Benchmarks | Metric | 3B Dense | 8B Dense | 30B Dense

| General Tasks

| MMLU | 5-shot | 66.47 | 73.60 | 78.44

| MMLU-Pro | 5-shot,CoT | 37.16 | 44.58 | 49.51

| BBH | 3-shot, CoT | 63.84 | 73.83 | 80.66

| AGI EVAL | 3-shot | 54.32 | 61.68 | 69.20

| DROP | 5-shot | 66.04 | 72.36 | 78.57

| SimpleQA | no-judge-short-form | 6.85 | 7.92 | 10.54

| Math Tasks

| GSM8K | 8-shot | 72.93 | 73.54 | 83.78

| Minerva Math | 4-shot | 38.00 | 43.42 | 45.66

| Code Tasks

| HumanEval | pass@1 [StarCoder Prompt] | 76.19 | 79.24 | 81.52

| HumanEval | pass@1 | 59.76 | 68.29

| 67.68

| HumanEval+ | pass@1 | 54.27 | 62.80 | 62.20

| MBPP | pass@1 | 81.48 | 63.76 | 83.60

| MBPP+ | pass@1 | 68.25 | 53.97 | 69.58

| Eval+ Avg | | 65.94 | 62.21 | 70.76

| Multilingual Tasks

| MMMLU | 5-shot | 56.59 | 64.73 | 73.36

| INCLUDE | 5-shot | 51.77 | 57.60 | 67.07

| MGSM | 8-shot | 58.48 | 63.68 | 74.40

Multilingual Benchmarks and the included languages:

| Benchmarks | # Langs | Languages

| MMMLU | 11 | ar, de, en, es, fr, ja, ko, pt, zh, bn, hi

| INCLUDE | 14

| hi, bn, ta, te, ar, de, es, fr, it, ja, ko, nl, pt, zh

| MGSM | 5 | en, es, fr, ja, zh

Model Architecture:

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

| Model | 3B Dense | 8B Dense | 30B Dense

| Embedding size | 2560 | 4096 | 4096

| Number of layers | 40 | 40 | 64

| Attention head size | 64 | 128 | 128

| Number of attention heads | 40 | 32 | 32

| Number of KV heads | 8 | 8 | 8

| MLP / Shared expert hidden size | 8192 | 12800 | 32768

| MLP activation | SwiGLU | SwiGLU | SwiGLU

| Sequence length | 131072 | 131072 | 131072

| Position embedding | RoPE | RoPE | RoPE

| # Parameters | 3B | 8B | 30B

Training Data: This model is trained on a mix of open source and proprietary data following a five-phase training strategy. We refer to phase-1 and phase-2 as pre-training and phase-3, phase-4, and phase-5 as mid-training.

| Stage | Characteristics | 3B Dense | 8B Dense | 30B Dense

| I | General mixture of training data, warmup, and power scheduler for learning rate. | 10T | 10T | 10T

| II | General mixture of training data with higher percentages of code and math with power scheduler for learning rate. | 2T | 2T | 2T

| III | High quality training data, exponential decay of learning rate. | 2T | 2T | 2T

| IV | High quality training data, linear decay to zero for learning rate. | 500B | 500B | 500B

| V | Long Context Extension with exponential learning rate schedule. | 396B | 396B | 396B

Infrastructure: We trained the Granite 4.1 Language Models utilizing an NVIDIA GB200 NVL72 cluster hosted in CoreWeave. Intra-rack communication occurs via the 72-GPU NVLink domain, and a non-blocking, full Fat-Tree NDR 400 Gb/s InfiniBand network provides inter-rack communication. 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-4.1-8B-Base model is not an exception in this regard. Even though this model is suited for multiple generative AI tasks, it has not undergone any safety alignment and 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-4.1-8B-Base model with ethical intentions and in a responsible way. To enhance safety in enterprise deployments, we recommend using Granite 4.1 Language models alongside Granite Guardian, a model designed to detect and flag risks in inputs and outputs across key dimensions outlined in the IBM AI Risk Atlas.

Resources

Files

13 files · 16.8 GBWeights 16.8 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 13 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md28.2 KB32081aad21fd00308462b7d91651a6560051e4625f51e0481ddcacb8cf7be416
config.json803 Bdea9d856cb57018117fe2fe3366f37cb4aa39424890061db2c0045a6a4efbda0
generation_config.json147 B9117fb03fed79dbb459373edeef9a3eec966bce52a1842e03a6716e83117f0d1
model-00001-of-00004.safetensors4.81 GBb87d564023d5d2b6bff75e3fecedb75368718d23c3cb6fc57651030def1e42a1
model-00002-of-00004.safetensors4.99 GB2218dfd0c48bd4b4b2aa568c8dc16e09347f5d371b699117a20123b9351b0c9b
model-00003-of-00004.safetensors4.97 GBeeb93910ae77e0b70163b4937a05252d54d8d645d9eef1367864b0d78c2619b5
model-00004-of-00004.safetensors1.99 GBf41dc8ad0ddfd52fb9b3ad1e0462bc45650d0b1869be967dd9fdea5ac79b03d3
model.safetensors.index.json29.8 KB487e2a592656888975700170a9f638db9fb9a1ae2231de3797c8ffc8c0900012
model.sig10.4 KB6904f5a7852a13e1c61c61cde8db2aec5552c5f993db76b969941d46595849f3
special_tokens_map.json579 Bc08676c49fd7969a3130f72be6d4bf34da66aa484a6e21dffe359893a1bd5f2e
tokenizer.json7.15 MBe2bad66439538cb4d5a7580680932432ed9ece9d3b8577e675512bdf11599253
tokenizer_config.json17.7 KBa5ec5daab12ba090a90f3dd169c8f9c275557013a87b9c1258dc7cb497a35c86
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
cbc32f94fb pinned now2026-11-15 02:41 UTC13 files · 16.8 GB

Use it

$ fw get ibm-granite/granite-4.1-8b-base
# manifest sha256 63c62fdc9846… · 16.8 GB · 13 files
$ fw verify ./granite-4.1-8b-base ibm-granite/granite-4.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-4.1-8b-base.json --dir ./granite-4.1-8b-base $ python3 fw.py verify ./granite-4.1-8b-base ./ibm-granite__granite-4.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-4.1-8b-base --revision cbc32f94fbf8179ca4b22b664831f6a73965bb16 --local-dir ./granite-4.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-4.1-8b-base", revision="cbc32f94fbf8179ca4b22b664831f6a73965bb16") model = AutoModelForCausalLM.from_pretrained("ibm-granite/granite-4.1-8b-base", revision="cbc32f94fbf8179ca4b22b664831f6a73965bb16", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve ibm-granite/granite-4.1-8b-base --revision cbc32f94fbf8179ca4b22b664831f6a73965bb16

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
32081aad21fd00308462b7d91651a6560051e4625f51e0481ddcacb8cf7be416
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-4.1-8b-baseDate: 2026-11-15Commit: cbc32f9Signed: 2DC28CC7B26A283B ✓
Upstream
ibm-granite/granite-4.1-8b-base
Pinned commit
cbc32f94fbf8179ca4b22b664831f6a73965bb16
Manifest
granite-4.1-8b-base.json · .minisig
Manifest sha256
63c62fdc984627135daa3a1e094f3105a566b239ff951da4838425d6a0d78ba1
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 02:41 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/ibm-granite/granite-4.1-8b-base.json $ curl -O https://freeweights.allternit.com/manifests/ibm-granite/granite-4.1-8b-base.json.minisig $ minisign -Vm granite-4.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

2 models in the catalog name this one as their parent.

Fine-tunes
2
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download ibm-granite/granite-4.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-4.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