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

granite-4.0-h-small-GGUF

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

Model. Gguf weights, 537 GB in all. Published by unsloth under Apache-2.0.

granite537GBgranite-4.0-h-small-GGUFggufpermissive
FactsParamsnot statedSize537 GBFormatsggufTasknot taggedLicenseApache-2.0From sourcepermissive
$ fw get unsloth/granite-4.0-h-small-GGUF
# manifest sha256 62b1483eb11f… · 537 GB · 33 files
$ fw verify ./granite-4.0-h-small-GGUF unsloth/granite-4.0-h-small-GGUF
From sourceHosted (signed)unsloth/granite-4.0-h-small-GGUFLast check: 2026-11-15 04:54 UTC

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

Quantized of granite-4.0-h-small.

Works with

Convert with

Scan with

Overview

Size
537 GB
Weights
8.71 GB (smallest of 27 GGUF variants)
Parameters
not stated
Formats
gguf
Task
not tagged
License
Apache-2.0 (permissive)
Files
33, each with a sha256
Publisher
unsloth
Added
2026-11-15
Section
alt.freeweights.granite
Lineage

Original release from the publisher.

Base model: ibm-granite/granite-4.0-h-small

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 04:54 UTCpassed

Model card

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

See our collection for all versions of Granite-4.0 including GGUF, 4-bit & 16-bit formats.

Learn to run Granite 4.0 correctly - Read our Guide.

See Unsloth Dynamic 2.0 GGUFs for our quantization benchmarks.

https://github.com/unslothai/unsloth/ https://discord.gg/unsloth https://docs.unsloth.ai/new/ibm-granite-4.0

✨ Read our Granite-4.0 Guide here!#

Granite-4.0-H-Small#

Model Summary: Granite-4.0-H-Small is a 32B parameter long-context instruct model finetuned from Granite-4.0-H-Small-Base using a combination of open source instruction datasets with permissive license and internally collected synthetic datasets. This model is developed using a diverse set of techniques with a structured chat format, including supervised finetuning, model alignment using reinforcement learning, and model merging. Granite 4.0 instruct models feature improved instruction following (IF) and tool-calling capabilities, making them more effective in enterprise applications.

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: The model is designed to respond to general instructions and can be used to build AI assistants for multiple domains, including business applications.

Capabilities

  • Summarization
  • Text classification
  • Text extraction
  • Question-answering
  • Retrieval Augmented Generation (RAG)
  • Code related tasks
  • Function-calling tasks
  • Multilingual dialog use cases
  • Fill-In-the-Middle (FIM) code completions

Generation: This is a simple example of how to use Granite-4.0-H-Small model.

Install the following libraries:

pip install torch torchvision torchaudio
pip install accelerate
pip install transformers

Then, copy the snippet from the section that is relevant for your use case.

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

device = "cuda"
model_path = "ibm-granite/granite-4.0-h-small"
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
chat = [
    { "role": "user", "content": "Please list one IBM Research laboratory located in the United States. You should only output its name and location." },
]
chat = tokenizer.apply_chat_template(chat, tokenize=False, add_generation_prompt=True)
# tokenize the text
input_tokens = tokenizer(chat, return_tensors="pt").to(device)
# generate output tokens
output = model.generate(**input_tokens, 
                        max_new_tokens=100)
# decode output tokens into text
output = tokenizer.batch_decode(output)
# print output
print(output[0])

Expected output:

<|start_of_role|>user<|end_of_role|>Please list one IBM Research laboratory located in the United States. You should only output its name and location.<|end_of_text|>
<|start_of_role|>assistant<|end_of_role|>Almaden Research Center, San Jose, California<|end_of_text|>

Tool-calling: Granite-4.0-H-Small comes with enhanced tool calling capabilities, enabling seamless integration with external functions and APIs. To define a list of tools please follow OpenAI's function definition schema.

This is an example of how to use Granite-4.0-H-Small model tool-calling ability:

tools = [
    {
        "type": "function",
        "function": {
            "name": "get_current_weather",
            "description": "Get the current weather for a specified city.",
            "parameters": {
                "type": "object",
                "properties": {
                    "city": {
                        "type": "string",
                        "description": "Name of the city"
                    }
                },
                "required": ["city"]
            }
        }
    }
]

# change input text as desired
chat = [
    { "role": "user", "content": "What's the weather like in Boston right now?" },
]
chat = tokenizer.apply_chat_template(chat, \
                                     tokenize=False, \
                                     tools=tools, \
                                     add_generation_prompt=True)
# tokenize the text
input_tokens = tokenizer(chat, return_tensors="pt").to(device)
# generate output tokens
output = model.generate(**input_tokens, 
                        max_new_tokens=100)
# decode output tokens into text
output = tokenizer.batch_decode(output)
# print output
print(output[0])

Expected output:

<|start_of_role|>system<|end_of_role|>You are a helpful assistant with access to the following tools. You may call one or more tools to assist with the user query.

You are provided with function signatures within <tools></tools> XML tags:
- <tools>
- unsloth
{"type": "function", "function": {"name": "get_current_weather", "description": "Get the current weather for a specified city.", "parameters": {"type": "object", "properties": {"city": {"type": "string", "description": "Name of the city"}}, "required": ["city"]}}}
</tools>

For each tool call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:
- <tool_call>
- unsloth
{"name": <function-name>, "arguments": <args-json-object>}
</tool_call>. If a tool does not exist in the provided list of tools, notify the user that you do not have the ability to fulfill the request.<|end_of_text|>
<|start_of_role|>user<|end_of_role|>What's the weather like in Boston right now?<|end_of_text|>
<|start_of_role|>assistant<|end_of_role|><tool_call>
{"name": "get_current_weather", "arguments": {"city": "Boston"}}
</tool_call><|end_of_text|>

Evaluation Results:

| Benchmarks | Metric | Micro Dense | H Micro Dense | H Tiny MoE | H Small MoE

| General Tasks

| MMLU | 5-shot | 65.98 | 67.43 | 68.65 | 78.44

| MMLU-Pro | 5-shot, CoT | 44.5 | 43.48 | 44.94 | 55.47

| BBH | 3-shot, CoT | 72.48 | 69.36 | 66.34 | 81.62

| AGI EVAL | 0-shot, CoT | 64.29 | 59 | 62.15 | 70.63

| GPQA | 0-shot, CoT | 30.14 | 32.15 | 32.59 | 40.63

| Alignment Tasks

| AlpacaEval 2.0 | | 29.49 | 31.49 | 30.61 | 42.48

| IFEval | Instruct, Strict | 85.5 | 86.94 | 84.78 | 89.87

| IFEval | Prompt, Strict | 79.12 | 81.71 | 78.1 | 85.22

| IFEval | Average | 82.31 | 84.32 | 81.44 | 87.55

| ArenaHard | | 25.84 | 36.15 | 35.75 | 46.48

| Math Tasks

| GSM8K | 8-shot | 85.45 | 81.35 | 84.69 | 87.27

| GSM8K Symbolic | 8-shot | 79.82 | 77.5 | 81.1 | 87.38

| Minerva Math | 0-shot, CoT | 62.06 | 66.44 | 69.64 | 74

| DeepMind Math | 0-shot, CoT | 44.56 | 43.83 | 49.92 | 59.33

| Code Tasks

| HumanEval | pass@1 | 80 | 81 | 83 | 88

| HumanEval+ | pass@1 | 72 | 75 | 76 | 83

| MBPP | pass@1 | 72 | 73 | 80 | 84

| MBPP+ | pass@1 | 64 | 64 | 69 | 71

| CRUXEval-O | pass@1 | 41.5 | 41.25 | 39.63 | 50.25

| BigCodeBench | pass@1 | 39.21 | 37.9 | 41.06 | 46.23

| Tool Calling Tasks

| BFCL v3 | | 59.98 | 57.56 | 57.65 | 64.69

| Multilingual Tasks

| MULTIPLE | pass@1 | 49.21 | 49.46 | 55.83 | 57.37

| MMMLU | 5-shot | 55.14 | 55.19 | 61.87 | 69.69

| INCLUDE | 5-shot | 51.62 | 50.51 | 53.12 | 63.97

| MGSM | 8-shot | 28.56 | 44.48 | 45.36 | 38.72

| Safety

| SALAD-Bench | | 97.06 | 96.28 | 97.77 | 97.3

| AttaQ | | 86.05 | 84.44 | 86.61 | 86.64

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 baseline is built 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: Overall, our SFT data is largely comprised of three key sources: (1) publicly available datasets with permissive license, (2) internal synthetic data targeting specific capabilities, and (3) a select set of human-curated data.

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: Granite 4.0 Instruction Models are primarily finetuned using instruction-response pairs mostly in English, but also multilingual data covering multiple languages. Although this model can handle multilingual dialog use cases, its performance might not be similar to English tasks. In such case, introducing a small number of examples (few-shot) can help the model in generating more accurate outputs. While this model has been aligned by keeping safety in consideration, the model may in some cases produce inaccurate, biased, or unsafe responses to user prompts. So we urge the community to use this model with proper safety testing and tuning tailored for their specific tasks.

Resources

Files

33 files · 537 GBWeights 8.71 GB (smallest of 27 GGUF variants). Sizes and sha256 from the signed manifest.
Show all 33 files with their sha256
FileSizesha256
.gitattributes3.55 KBa6fe355f508c6700a0aca91fde3325402dd3740abb6ea5f5511d1eed940c4972
BF16/granite-4.0-h-small-BF16-00001-of-00002.gguf49.9 GBe4dea281f53ea4e7faf310398669fe28593b6d834bef55646e33781deb3ac2fb
BF16/granite-4.0-h-small-BF16-00002-of-00002.gguf14.5 GB399c6956cca84ec92e6777bbf98a0fe56833eb9eef05f7520b3436230271ed5d
README.md35.8 KB2fb5b661b0e4e9e4e62ff724a93c364dec6610feeaa53093390c09c62db2225b
granite-4.0-h-small-IQ4_NL.gguf18.4 GB2fe9a6d732511a384914bad07cc0020845f4502e94770ddb2be0788ddd48a358
granite-4.0-h-small-IQ4_XS.gguf17.4 GB011dff81b297bccce4cdde4c6896108fde0c988a66c631b1ee9bf472aa21af6a
granite-4.0-h-small-Q2_K.gguf12.0 GB47ea0038391acf5650002f8cd24e2e8a3d8ebb887728d1c1c1c6664beb6ace12
granite-4.0-h-small-Q2_K_L.gguf12.0 GB47ea0038391acf5650002f8cd24e2e8a3d8ebb887728d1c1c1c6664beb6ace12
granite-4.0-h-small-Q3_K_M.gguf15.5 GB63b12fd01bd0ed3fc4437f5f5ea6dfd1834501217fa710af5850898fc6a61cf3
granite-4.0-h-small-Q3_K_S.gguf14.2 GB2b303db417c4f933d16265704337b7c5c20359644d769c2eb33a59cee1e53530
granite-4.0-h-small-Q4_0.gguf18.5 GBcc2a0011d3b271141981f3119e979b2bcd7a3dea43857a28cf20109e22425d29
granite-4.0-h-small-Q4_1.gguf20.3 GB7823d2f33b7d7b5e12d0a0b419cba6f554c1809d2eea4e4880406529c3990961
granite-4.0-h-small-Q4_K_M.gguf19.6 GBb61f1ad43e8ce9af0fa68251a4c6df6ee633ec377c0b7601d9123f31d2b7fce5
granite-4.0-h-small-Q4_K_S.gguf18.5 GBe154454ed7dbcc1b80e5032964c71e26c9197e8821ac692921155964c09db337
granite-4.0-h-small-Q5_K_M.gguf22.9 GB6f81cbe9dac79383cea4417b166c523bac92ded39c8e34f327532589560e0191
granite-4.0-h-small-Q5_K_S.gguf22.3 GB2e9675dbca82440f21deb479a32a89c61fdd0fcb903f3d15a80fa4ea689b89a3
granite-4.0-h-small-Q6_K.gguf26.5 GBa277cc07c3bae0513f493fecceefca38776e733befeb30bf0e3cc3029caf4ff8
granite-4.0-h-small-Q8_0.gguf34.3 GB5da614248c4874750f8150a73e885e37c6f9ab423e8bbc1ad8242abf9997e8f1
granite-4.0-h-small-UD-IQ1_M.gguf10.1 GBd7d9aff0f81760da97885ccf4eebe6033d8c2bee6cd0b1a9e466bf3fe9c8d5c8
granite-4.0-h-small-UD-IQ1_S.gguf9.59 GB15a5175f8ecb1ad6aeb3ea4f3355d4aec0c933294e2fe56d98b99b69599b3a52
granite-4.0-h-small-UD-IQ2_M.gguf11.6 GBa72ce7eceea05c0168dbec644deadf2cfa21de6393109b91ab789371cb538a43
granite-4.0-h-small-UD-IQ2_XXS.gguf10.9 GB772d98507fb3d2b98ada6e967d82d2273e640a48dea79dc9dcd17f4bf567feee
granite-4.0-h-small-UD-IQ3_XXS.gguf13.7 GB60ead0e1e19bb2e099facfca42caf69ece1cc1bfb5ad4a1c3440f4a815cd2084
granite-4.0-h-small-UD-Q2_K_XL.gguf12.4 GB03b143667d0489259f2c2a524161a22b60c3362df7c556b1bcd91dfb9d18c755
granite-4.0-h-small-UD-Q3_K_XL.gguf14.6 GBaa73849e7ccff09b74e2915d6ca2162a53968e3a88e1d4bf384255b9e9fd8167
granite-4.0-h-small-UD-Q4_K_XL.gguf18.8 GBd71bcf46368ab6497fea092c3954d6f8ed66a561a64b61727fb19acfd0138d88
granite-4.0-h-small-UD-Q5_K_XL.gguf23.1 GBc657f0502e8ac50aba0a246e2932883d453e4f617475717f56294f9af9903b5a
granite-4.0-h-small-UD-Q6_K_XL.gguf27.9 GB8a7906cd91118f50e1e8a06acd6585143b0bf1c8a0eeb8628a6d6093536df63b
granite-4.0-h-small-UD-Q8_K_XL.gguf38.1 GBffeb149ef18eb150b006df77c6ec6b87c447d7f21e11fabcaf13579dc2e3684e
granite-4.0-h-small-UD-TQ1_0.gguf8.71 GB3f5971c9a856a768cd99e3cba94b6689573d2e6441d9a60a05286254252ae73f
imatrix_unsloth.gguf_file108 MBd72be4d2afccfbb6d2667743a14a234daeb4b3567cd582e546b9fffcc7f7dd59
params93 B8dec0717e5ab80a3da4c453ca55ea1f174ce9d124653bc69d9036ba67cd81b49
template7.08 KB0a951549a73143ce8e94ab052ec017fc0b738e75d9bb4fd925aef1054c70743f
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
4e408856bc pinned now2026-11-15 04:54 UTC33 files · 537 GB

Use it

$ fw get unsloth/granite-4.0-h-small-GGUF
# manifest sha256 62b1483eb11f… · 537 GB · 33 files
$ fw verify ./granite-4.0-h-small-GGUF unsloth/granite-4.0-h-small-GGUF
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/unsloth/granite-4.0-h-small-GGUF.json --dir ./granite-4.0-h-small-GGUF $ python3 fw.py verify ./granite-4.0-h-small-GGUF ./unsloth__granite-4.0-h-small-GGUF.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download unsloth/granite-4.0-h-small-GGUF --revision 4e408856bc7365edd7ea293f376b99bef81a45f4 --local-dir ./granite-4.0-h-small-GGUF
llama.cppDownload one GGUF variant (granite-4.0-h-small-UD-TQ1_0, 8.71 GB), then serve it.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download unsloth/granite-4.0-h-small-GGUF --include "granite-4.0-h-small-UD-TQ1_0*" --local-dir ./granite-4.0-h-small-GGUF $ llama-server -m ./granite-4.0-h-small-GGUF/granite-4.0-h-small-UD-TQ1_0.gguf
OllamaMake an Ollama model from the downloaded file.
$ printf 'FROM ./granite-4.0-h-small-GGUF/granite-4.0-h-small-UD-TQ1_0.gguf\n' > Modelfile $ ollama create granite-4.0-h-small-gguf -f Modelfile

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
2fb5b661b0e4e9e4e62ff724a93c364dec6610feeaa53093390c09c62db2225b
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: unsloth <huggingface.co/unsloth>Newsgroups: alt.freeweights.graniteSubject: granite-4.0-h-small-GGUFDate: 2026-11-15Commit: 4e40885Signed: 2DC28CC7B26A283B ✓
Upstream
unsloth/granite-4.0-h-small-GGUF
Pinned commit
4e408856bc7365edd7ea293f376b99bef81a45f4
Manifest
granite-4.0-h-small-GGUF.json · .minisig
Manifest sha256
62b1483eb11f7e50c85be069d1b9a015d17512f1f42b93901f65c28589e9b2fc
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 04:54 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

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

Parent

ibm-granite/granite-4.0-h-small · this model is a quantization of it

No model in the catalog names this one as its parent.

Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download unsloth/granite-4.0-h-small-GGUF
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-GGUF.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