alt.freeweights.granite / granite-4.0-h-small-base
From: ibm-granite <huggingface.co/ibm-granite>Newsgroups: alt.freeweights.graniteSubject:

granite-4.0-h-small-base

Date: 2026-11-15Commit: 4b4faa8Signed: 2DC28CC7B26A283B ✓

Model with 32.2B parameters. Safetensors weights, 64.4 GB in all. Published by ibm-granite under Apache-2.0.

32.2B params64.4GBgranite-4.0-h-small-basesafetensorspermissive
FactsParams32.2BSize64.4 GBFormatssafetensorsTasknot taggedLicenseApache-2.0From sourcepermissive
$ fw get ibm-granite/granite-4.0-h-small-base
# manifest sha256 0937ffdebad4… · 64.4 GB · 25 files
$ fw verify ./granite-4.0-h-small-base ibm-granite/granite-4.0-h-small-base
From sourceHosted (signed)ibm-granite/granite-4.0-h-small-baseLast check: 2026-11-15 03:50 UTC

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

Works with

Runs with

Ranked by fit to this model (safetensors), then by GitHub stars.

Overview

Size
64.4 GB
Weights
64.4 GB (safetensors)
Parameters
32.2B
Formats
safetensors
Task
not tagged
License
Apache-2.0 (permissive)
Files
25, 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:50 UTCpassed

Model card

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

mof-class3-qualified

Granite-4.0-H-Small-Base#

Model Summary: Granite-4.0-H-Small-Base is a decoder-only, long-context language model designed for a wide range of text-to-text generation tasks. It also supports Fill-in-the-Middle (FIM) code completion through the use of specialized prefix and suffix tokens. The model is trained from scratch on approximately 23 trillion tokens following a four-stage training strategy: 15 trillion tokens in the first stage, 5 trillion in the second, 2 trillion in the third, and 0.5 trillion in the final stage.

Supported Languages: English, German, Spanish, French, Japanese, Portuguese, Arabic, Czech, Italian, Korean, Dutch, and Chinese. Users may finetune Granite 4.0 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.0-H-Small-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.0-h-micro-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 | Micro Dense | H Micro Dense | H Tiny MoE | H Small MoE

| General Tasks

| MMLU | 5-shot | 66.47 | 67.43 | 68.90 | 75.85

| MMLU-Pro | 5-shot,CoT | 37.16 | 34.03 | 35.47 | 48.94

| BBH | 3-shot, CoT | 63.84 | 57.65 | 59.67 | 75.84

| AGI EVAL | 3-shot | 54.32 | 54.59 | 53.69 | 62.05

| DROP | 5-shot | 66.04 | 67.44 | 64.92 | 74.69

| Math Tasks

| GSM8K | 8-shot | 72.93 | 63.76 | 72.55 | 82.11

| Minerva Math | 4-shot | 38 | 39.7 | 40.34 | 46.28

| Code Tasks

| HumanEval | pass@1 [StarCoder Prompt] | 76.19 | 73.72 | 77.59 | 83.66

| HumanEval | pass@1 | 59.76 | 70.73 | 71.34 | 76.22

| HumanEval+ | pass@1 | 54.27 | 67.07 | 64.02 | 69.51

| MBPP | pass@1 | 81.48 | 74.87 | 81.48 | 83.07

| MBPP+ | pass@1 | 68.25 | 63.23 | 68.78 | 70.37

| Multilingual Tasks

| MMMLU | 5-shot | 56.59 | 58.5 | 62.77 | 71.18

| INCLUDE | 5-shot | 51.77 | 52.16 | 53.78 | 66.04

| MGSM | 8-shot | 58.48 | 47.04 | 54.64 | 65.2

Multilingual Benchmarks and thr 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.0-H-Small-Base is based on a decoder-only MoE transformer architecture. Core components of this architecture are: GQA, Mamba2, MoEs with shared experts, SwiGLU activation, RMSNorm, and shared input/output embeddings.

| Model | Micro Dense | H Micro Dense | H Tiny MoE | H Small MoE

| Embedding size | 2560 | 2048 | 1536 | 4096

| Number of layers | 40 attention | 4 attention / 36 Mamba2 | 4 attention / 36 Mamba2 | 4 attention / 36 Mamba2

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

| Number of attention heads | 40 | 32 | 12 | 32

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

| Mamba2 state size | - | 128 | 128 | 128

| Number of Mamba2 heads | - | 64 | 48 | 128

| MLP / Shared expert hidden size | 8192 | 8192 | 1024 | 1536

| Num. Experts | - | - | 64 | 72

| Num. active Experts | - | - | 6 | 10

| Expert hidden size | - | - | 512 | 768

| MLP activation | SwiGLU | SwiGLU | SwiGLU | SwiGLU

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

| Position embedding | RoPE | NoPE | NoPE | NoPE

| # Parameters | 3B | 3B | 7B | 32B

| # Active parameters | 3B | 3B | 1B | 9B

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

| Stage | Characteristics | Micro Dense | H Micro Dense | H Tiny MoE | H Small MoE

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

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

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

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

Infrastructure: We trained the Granite 4.0 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.0-H-Small-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-4.0-H-Small-Base model with ethical intentions and in a responsible way.

Resources

Files

25 files · 64.4 GBWeights 64.4 GB (safetensors). Sizes and sha256 from the signed manifest.
Show all 25 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md26.9 KB7323caa5e39c40519f181f82a2ba688443fbe4160fa9ba74673779d3f0ea7ed7
config.json1.80 KB3557fc92ef2dcc113c85e3eb1d0898d5d33aa866ac294e6682d587d7ca9498d4
generation_config.json147 B7c04cb9d2ba771f7528fba5a7104999cdaf7566d02b5fbd58472829f62716177
merges.txt917 KBb6fe424e334903f7fb84d3a106d9730455f4744b9fe3c21ee136d97a00e72502
model-00001-of-00014.safetensors4.93 GB22cdb9955764879404d1cbbd744520ec53c7986bf9c3e760533796ed8131ace4
model-00002-of-00014.safetensors4.81 GBe11b406e444df0be6c34eeb2fd4352478a8c512b7e63934b31621d02f611123c
model-00003-of-00014.safetensors4.68 GB1c159dabf6acc53763935a03435fd13d6e34fdcd8d5aacdfc87f6f45c0cb94f4
model-00004-of-00014.safetensors4.81 GBf56db2d9910619adece710cce488ab1809aac152274d1b9c469246bc4c013ad9
model-00005-of-00014.safetensors4.81 GB043bf16b004cb7a837aeea7805736940f6778f7f9eada8ceb0209086c022a1c4
model-00006-of-00014.safetensors4.68 GB9739029ca98cbab6038feb8dcc0b05883c0ba994aaba1d24c4bade08f4b8bece
model-00007-of-00014.safetensors4.81 GB6923892e50ded8070735cec45508a55640039f3e3f01ece3d6f322ce8db55f20
model-00008-of-00014.safetensors4.81 GB15e1a862fb9693f6d00ca07f38192393dd2cb1a413bfdb3de5e1b57efc2dafb3
model-00009-of-00014.safetensors4.68 GB7c04b55d66236d1e5995bb16e8df03fdf4fd6f6302ec693136f601a253417744
model-00010-of-00014.safetensors4.81 GBf6cd5063fbb77f96a44805f5c78fc5b8cfd80b82d1e9f522d3db4c7703e4b560
model-00011-of-00014.safetensors4.81 GBca406c8f3da58f26b7e243009f1bd1fa85b3c3432890712940335d9c560bd64b
model-00012-of-00014.safetensors4.81 GB9d4ef298f04e8b44a2a2467a9d0646bb4dab2605c5f2662e98ef1fa62aaaf6e8
model-00013-of-00014.safetensors4.68 GBd508219e378cdec3ecc92d2cc9c83a2a7688cd4b5b0305e6d38c8add9a93a4ec
model-00014-of-00014.safetensors2.30 GBd299279ef4a04d12c39e223cb2a138df0c80cb433fb250912359baf70a89d0a8
model.safetensors.index.json48.9 KB6284b19b6f5b8fe785027406fdafe68eb5eef824667535ace82b30bad6841563
model.sig13.5 KB1b2fb3369a2124f62e0cf414a16d28ab4de81e11c6ed2b430da905b9f1c316c1
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
4b4faa80c5 pinned now2026-11-15 03:50 UTC25 files · 64.4 GB

Use it

$ fw get ibm-granite/granite-4.0-h-small-base
# manifest sha256 0937ffdebad4… · 64.4 GB · 25 files
$ fw verify ./granite-4.0-h-small-base ibm-granite/granite-4.0-h-small-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.0-h-small-base.json --dir ./granite-4.0-h-small-base $ python3 fw.py verify ./granite-4.0-h-small-base ./ibm-granite__granite-4.0-h-small-base.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download ibm-granite/granite-4.0-h-small-base --revision 4b4faa80c56f74d6fbd8ff305646aa32dd53d600 --local-dir ./granite-4.0-h-small-base

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
7323caa5e39c40519f181f82a2ba688443fbe4160fa9ba74673779d3f0ea7ed7
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.0-h-small-baseDate: 2026-11-15Commit: 4b4faa8Signed: 2DC28CC7B26A283B ✓
Upstream
ibm-granite/granite-4.0-h-small-base
Pinned commit
4b4faa80c56f74d6fbd8ff305646aa32dd53d600
Manifest
granite-4.0-h-small-base.json · .minisig
Manifest sha256
0937ffdebad49035716a1abfb7218b88864f1e952bc99e64d575a88fc29860b1
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 03:50 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

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

Quantizations
1
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download ibm-granite/granite-4.0-h-small-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.0-h-small-base.json. Provenance. Takedown history: none.

Variants

1 quantized or adapter build of granite-4.0-h-small-base. Each has its own license check and page.

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