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

granite-4.0-micro-GGUF

Date: 2026-11-15Commit: 3fd2564Signed: 2DC28CC7B26A283B ✓

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

granite56.8GBgranite-4.0-micro-GGUFggufpermissive
FactsParamsnot statedSize56.8 GBFormatsggufTasknot taggedLicenseApache-2.0From sourcepermissive
$ fw get unsloth/granite-4.0-micro-GGUF
# manifest sha256 5fbd35af9508… · 56.8 GB · 31 files
$ fw verify ./granite-4.0-micro-GGUF unsloth/granite-4.0-micro-GGUF
From sourceHosted (signed)unsloth/granite-4.0-micro-GGUFLast check: 2026-11-15 04:58 UTC

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

Quantized of granite-4.0-micro.

Works with

Convert with

Scan with

Overview

Size
56.8 GB
Weights
882 MB (smallest of 26 GGUF variants)
Parameters
not stated
Formats
gguf
Task
not tagged
License
Apache-2.0 (permissive)
Files
31, 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-micro

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:58 UTCpassed

Model card

From the publisher at commit 3fd2564. 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-Micro#

Model Summary: Granite-4.0-Micro is a 3B parameter long-context instruct model finetuned from Granite-4.0-Micro-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 follow general instructions and can serve as the foundation for AI assistants across diverse domains, including business applications, as well as for LLM agents equipped with tool-use capabilities.

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-Micro 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-micro"
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-Micro 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-Micro model tool-calling ability:

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

device = "cuda"
model_path = "ibm-granite/granite-4.0-micro"
tokenizer = AutoTokenizer.from_pretrained(model_path)
# drop device_map if running on CPU
model = AutoModelForCausalLM.from_pretrained(model_path, device_map=device)
model.eval()

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-Micro baseline is built 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 | 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

31 files · 56.8 GBWeights 882 MB (smallest of 26 GGUF variants). Sizes and sha256 from the signed manifest.
Show all 31 files with their sha256
FileSizesha256
.gitattributes3.32 KB854260b96113753e5ccd525414031269197ba8a7aed991039ab140369d34a764
README.md36.2 KB4fde899aa628c20a6fc8e4ad6d823e5858faa8d57ef3cfb48595f7b85fe92e91
granite-4.0-micro-BF16.gguf6.81 GBb6b27fbc5243e4294afcc527a6bfbe6809df1b665af0179952e4377e2ec278e5
granite-4.0-micro-IQ4_NL.gguf1.99 GB8faf8f8813bf9ea1c62b4284bb70e8ac0a4d687249c6932b660fc75956aa06a1
granite-4.0-micro-IQ4_XS.gguf1.89 GBcb48b3f1cfd4b3500b7007ec4fb9729e28224ea3f94aaec7892f3a101d040a32
granite-4.0-micro-Q2_K.gguf1.37 GBc1fdfcae12679ac41cf55875de3647804643552457bdffacee0d4311f226e609
granite-4.0-micro-Q2_K_L.gguf1.37 GBc1fdfcae12679ac41cf55875de3647804643552457bdffacee0d4311f226e609
granite-4.0-micro-Q3_K_M.gguf1.73 GBb167c94cefd31b763f00c16d0c5ff74c76d4b612caac27e65607a1d4f36b010a
granite-4.0-micro-Q3_K_S.gguf1.57 GB1168270175756e39de329c311bc70e90a508390eb64271e83dc9dd874bd666a7
granite-4.0-micro-Q4_0.gguf1.99 GBc4763a66780871dc656a5b579cd23fe8a77efbe2d253b03a693efa713de2c371
granite-4.0-micro-Q4_1.gguf2.18 GB93bec266d1e2dd8eaec18f8e2115d39276b7210bdf6e0c49ab1b2ee85bdacc9f
granite-4.0-micro-Q4_K_M.gguf2.10 GB3ed0a9f397bab63eb93231449086ce5dc3f309598d007825fc01cfd32c4b93e1
granite-4.0-micro-Q4_K_S.gguf2.00 GBbc154bb604fc12af4f1682ab94e33afb2aeaa68b8df6afbd32a537cf02cc89e3
granite-4.0-micro-Q5_K_M.gguf2.44 GB7f77222fa5fb8445b2fbcac13577f1f4d76896a304a88d27d6d5baa382a8970c
granite-4.0-micro-Q5_K_S.gguf2.38 GB373157397937a931d139a484aa0326ebba0392127636aa669666058e8406e813
granite-4.0-micro-Q6_K.gguf2.80 GBf55d3414e2c8650c1a1d718d5e6cbf0b06b78f17668d047d28b69ab82445ba0d
granite-4.0-micro-Q8_0.gguf3.62 GB9ece7079edab674f2192e5339e9198e5844ae348fb289982dc0da1ec9469b830
granite-4.0-micro-UD-IQ1_M.gguf939 MBc66f9f1bc3e31e319ebf42eb870440b606374c7d7ff163ff07868d9b943e9ea1
granite-4.0-micro-UD-IQ1_S.gguf882 MBbc0e541d4a5b16ecee62a75c1c9882912c84f74435e5bc85d96c236320f0808e
granite-4.0-micro-UD-IQ2_M.gguf1.27 GB40932e3a07b51848a355f4631c6057cbed24a198c377236ab3871eb1baa3011b
granite-4.0-micro-UD-IQ2_XXS.gguf1.04 GBf225d235e05c000e4b767664a481158e7161bac3158626451d83c8406525980e
granite-4.0-micro-UD-IQ3_XXS.gguf1.40 GB0a84765d194736dc489da43e4e77ed8c01dbb06e898a32f1b55b5945109d022f
granite-4.0-micro-UD-Q2_K_XL.gguf1.40 GB7af1ced1d091f14b029d57fe6b9709ba8686911e4cd6f980c884a1ef83e8d979
granite-4.0-micro-UD-Q3_K_XL.gguf1.77 GBd924a560af878eacba0e8340b25159e18e066500d026518fe3e50e7ff8918828
granite-4.0-micro-UD-Q4_K_XL.gguf2.14 GB90849f9762f9a19f0d49b7822a01588dfef7218fc111bcbe291fee81a8431e8d
granite-4.0-micro-UD-Q5_K_XL.gguf2.45 GB2f6ade9828221e21a3d3149eaee1bd3a90c6a19dae415b990d74d7d3d72673ba
granite-4.0-micro-UD-Q6_K_XL.gguf3.05 GBfbcb699f488d2b557aee6cb9003c76b7693a26905349f34d3b7139224c11f733
granite-4.0-micro-UD-Q8_K_XL.gguf4.24 GBb2ef94881daf3f3e27801394964eab9b0e7e2c92765101b3d85de7164103e8f8
imatrix_unsloth.gguf_file3.81 MB2d90b81af88d25953d25417df32c44f7579f1fee5a3195260f8361c33ad4a17e
params93 B8dec0717e5ab80a3da4c453ca55ea1f174ce9d124653bc69d9036ba67cd81b49
template7.08 KB0a951549a73143ce8e94ab052ec017fc0b738e75d9bb4fd925aef1054c70743f
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
3fd2564a26 pinned now2026-11-15 04:58 UTC31 files · 56.8 GB

Use it

$ fw get unsloth/granite-4.0-micro-GGUF
# manifest sha256 5fbd35af9508… · 56.8 GB · 31 files
$ fw verify ./granite-4.0-micro-GGUF unsloth/granite-4.0-micro-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-micro-GGUF.json --dir ./granite-4.0-micro-GGUF $ python3 fw.py verify ./granite-4.0-micro-GGUF ./unsloth__granite-4.0-micro-GGUF.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download unsloth/granite-4.0-micro-GGUF --revision 3fd2564a260668ade578e8f035000066e61a634e --local-dir ./granite-4.0-micro-GGUF
llama.cppDownload one GGUF variant (granite-4.0-micro-UD-IQ1_S, 882 MB), then serve it.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download unsloth/granite-4.0-micro-GGUF --include "granite-4.0-micro-UD-IQ1_S*" --local-dir ./granite-4.0-micro-GGUF $ llama-server -m ./granite-4.0-micro-GGUF/granite-4.0-micro-UD-IQ1_S.gguf
OllamaMake an Ollama model from the downloaded file.
$ printf 'FROM ./granite-4.0-micro-GGUF/granite-4.0-micro-UD-IQ1_S.gguf\n' > Modelfile $ ollama create granite-4.0-micro-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
4fde899aa628c20a6fc8e4ad6d823e5858faa8d57ef3cfb48595f7b85fe92e91
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-micro-GGUFDate: 2026-11-15Commit: 3fd2564Signed: 2DC28CC7B26A283B ✓
Upstream
unsloth/granite-4.0-micro-GGUF
Pinned commit
3fd2564a260668ade578e8f035000066e61a634e
Manifest
granite-4.0-micro-GGUF.json · .minisig
Manifest sha256
5fbd35af95085484e435d7e64eebd4bf526a4407e9c7fca3b52f860eeb10a9e2
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 04:58 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

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