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

granite-4.1-3b-base

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

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

3.4B params6.82GBgranite-4.1-3b-basesafetensorspermissive
FactsParams3.4BSize6.82 GBFormatssafetensorsTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get ibm-granite/granite-4.1-3b-base
# manifest sha256 b91883c1bb74… · 6.82 GB · 13 files
$ fw verify ./granite-4.1-3b-base ibm-granite/granite-4.1-3b-base
From sourceHosted (signed)ibm-granite/granite-4.1-3b-baseLast check: 2026-11-15 02:43 UTC

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

Works with

Overview

Size
6.82 GB
Weights
6.81 GB (safetensors)
Parameters
3.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:43 UTCpassed

Model card

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

mof-class3-qualified

Granite-4.1-3B-Base#

Model Summary: Granite‑4.1‑3B‑Base is a decoder‑only language model with long‑context capabilities, designed to support a broad range of general text‑to‑text generation tasks, as well as fill‑in‑the‑Middle (FIM) code completion. This model shares the same underlying architecture and weights as Granite 4.0 3B Micro, which is trained from scratch on approximately 15 trillion tokens following a four-stage training strategy: 10 trillion tokens in the first stage, 2 trillion in the second, another 2 trillion in the third, and 0.5 trillion in the final stage. An additional training phase 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-3B-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-3b-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-3B-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-3B-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-3B-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 · 6.82 GBWeights 6.81 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 13 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md28.2 KB6fe5a89323370ac421f4264ccf0a51347a2d79a0af43e7360b025bf80c0792e3
config.json801 B9a0e589b69e7d3ad9fb9fb2c844aa7d7156e052cb7ea4211de7de48ab7c8525c
generation_config.json147 B9117fb03fed79dbb459373edeef9a3eec966bce52a1842e03a6716e83117f0d1
merges.txt917 KBb6fe424e334903f7fb84d3a106d9730455f4744b9fe3c21ee136d97a00e72502
model-00001-of-00002.safetensors4.92 GB6f689cdf8d8bcde2d8ea60eb1d767d56f8dcbdb243cecde92ff9f8836de2645f
model-00002-of-00002.safetensors1.89 GBf9e80cae16101f1c6dd83a746056334286d82cf260e5f0020601bd304ec73b7e
model.safetensors.index.json29.8 KBe3d0b72ed352de6c07bc24179158ad71b9eb434cad1132bb0c101d3f78d13863
model.sig10.2 KB4a38aa0c6008ecfbbd0aa1e24581a46bba189b9256b49d3f801fd8de76d005e4
special_tokens_map.json579 Bc08676c49fd7969a3130f72be6d4bf34da66aa484a6e21dffe359893a1bd5f2e
tokenizer.json7.15 MBe2bad66439538cb4d5a7580680932432ed9ece9d3b8577e675512bdf11599253
tokenizer_config.json17.7 KBa5ec5daab12ba090a90f3dd169c8f9c275557013a87b9c1258dc7cb497a35c86
vocab.json1.61 MB8af71076de8b0b626eed0f4c984faf0a7c062479164b2a31308a948524d4f69c
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
dacb9cb915 pinned now2026-11-15 02:43 UTC13 files · 6.82 GB

Use it

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

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
6fe5a89323370ac421f4264ccf0a51347a2d79a0af43e7360b025bf80c0792e3
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-3b-baseDate: 2026-11-15Commit: dacb9cbSigned: 2DC28CC7B26A283B ✓
Upstream
ibm-granite/granite-4.1-3b-base
Pinned commit
dacb9cb9157bec98e99b09f285c92a4d58405c96
Manifest
granite-4.1-3b-base.json · .minisig
Manifest sha256
b91883c1bb7416a977d6193837508af15b8c13d97c3ba32d12341992bc3d1299
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 02:43 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

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