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

granite-4.0-h-micro-GGUF

Date: 2026-11-15Commit: 0577b1bSigned: 2DC28CC7B26A283B ✓

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

granite52.4GBgranite-4.0-h-micro-GGUFggufpermissive
FactsParamsnot statedSize52.4 GBFormatsggufTasknot taggedLicenseApache-2.0From sourcepermissive
$ fw get unsloth/granite-4.0-h-micro-GGUF
# manifest sha256 0f424652b5af… · 52.4 GB · 31 files
$ fw verify ./granite-4.0-h-micro-GGUF unsloth/granite-4.0-h-micro-GGUF
From sourceHosted (signed)unsloth/granite-4.0-h-micro-GGUFLast check: 2026-11-15 04:51 UTC

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

Quantized of granite-4.0-h-micro.

Works with

Convert with

Scan with

Overview

Size
52.4 GB
Weights
771 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-h-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:51 UTCpassed

Model card

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

Model Summary: Granite-4.0-H-Micro is a 3B parameter long-context instruct model finetuned from Granite-4.0-H-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 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-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-h-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-H-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-H-Micro 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-Micro baseline is built on a decoder-only dense transformer architecture. Core components of this architecture are: GQA, Mamba2, 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 · 52.4 GBWeights 771 MB (smallest of 26 GGUF variants). Sizes and sha256 from the signed manifest.
Show all 31 files with their sha256
FileSizesha256
.gitattributes3.38 KB11a23115cb082b1eabe1866bb4ee62a939489b1d083fa8ad8c4e39387d307534
README.md35.8 KB166ce1435f3be777424632ac585dc256e6c3d6c102eced6d28b119166643b32c
granite-4.0-h-micro-BF16.gguf6.39 GB3c62ddd6b0b4a29d76866c0895de3483af8075a87172f81fafc3c0005d4669e4
granite-4.0-h-micro-IQ4_NL.gguf1.86 GBdb7a9173a21805881461794c47c00381432584fb85c87c93e22018d934ee85ff
granite-4.0-h-micro-IQ4_XS.gguf1.76 GBf5d0ffd721952196d4c08f990843e6430b9a9e7c09685e04604851597c393c1b
granite-4.0-h-micro-Q2_K.gguf1.23 GB3f4aa52a854b34626b711e2574a8777f16b93bbdf722fd70ddd6784c1c145350
granite-4.0-h-micro-Q2_K_L.gguf1.23 GB3f4aa52a854b34626b711e2574a8777f16b93bbdf722fd70ddd6784c1c145350
granite-4.0-h-micro-Q3_K_M.gguf1.56 GB55daaca5942a36ced157c4caea807e556778c5a0b089caa942a15ff5510d0253
granite-4.0-h-micro-Q3_K_S.gguf1.46 GB09125dccbd3d9b40b3d5073b815c07578bd25e5bd22e7cb36073886f4b2eb82e
granite-4.0-h-micro-Q4_0.gguf1.86 GB06ebd6a960d089bbe7057217d433a416e9348b3d2613c5ad9399c0c8f487205d
granite-4.0-h-micro-Q4_1.gguf2.04 GB4a2f90f04c22998dcaf95fdde890e248a3c1955cfaaa3aff43a5c31c708f2e2a
granite-4.0-h-micro-Q4_K_M.gguf1.94 GB1f21ba20ca249f6de1b7fcc436d95bba80a11d40060532bf6eb0c6a9e54e5d28
granite-4.0-h-micro-Q4_K_S.gguf1.87 GBc3c4df5b543c23ff0af45cbf4c3b239beb1ab7b539420d604824927fe6676038
granite-4.0-h-micro-Q5_K_M.gguf2.27 GB25563524b0fed9a555d942166057ebc14ecd89027a6977113cc8955f49aff1b4
granite-4.0-h-micro-Q5_K_S.gguf2.23 GB6a6c9ae631e4d7fa7b1b21f917cb828f281a9938e9e7e450f5506476aaa09ab9
granite-4.0-h-micro-Q6_K.gguf2.63 GB2116f866f187bf11ec30e7c715a7335e3e853e971d4bdf1ae94f0b2f000cb3b3
granite-4.0-h-micro-Q8_0.gguf3.40 GB0a5fb8ee9b679eaeb30ce466cfdbcbabeefda79f2537a67501c1a432fb89fc3a
granite-4.0-h-micro-UD-IQ1_M.gguf838 MB7409877b5c41b8b111d60b410a648c7ec881498aee0aeb92f14cbf1934200f94
granite-4.0-h-micro-UD-IQ1_S.gguf771 MB736d4a43d59de3c70c06cebb9312665e5251164a12eed977f63e90e74b54ddac
granite-4.0-h-micro-UD-IQ2_M.gguf1.13 GBf6f4bce034eaead5855f3172832f7151defd3c664abbb1bb711ea9a81c9040a1
granite-4.0-h-micro-UD-IQ2_XXS.gguf943 MB6dacdbbb745dcc114f3b4023e2e9b877df88d927ab143ae314daf5974ae43787
granite-4.0-h-micro-UD-IQ3_XXS.gguf1.30 GBe1238efefa636b0c2703a6765804b04f5a6efe69f1e376f86d444e742376d6bf
granite-4.0-h-micro-UD-Q2_K_XL.gguf1.25 GB9d21e51b0dd8add525932d37dc88d5f84bf9a44dd59d5e74409ee9f338f23604
granite-4.0-h-micro-UD-Q3_K_XL.gguf1.58 GB41f1b1ac67c18b1d0b65758184715512323fc29079c5ad5a5b4727c5298cb2f4
granite-4.0-h-micro-UD-Q4_K_XL.gguf1.96 GB8ef1ddffbdbd64cb2ea689793bf32f1d75d15298e805a2351afde2f8a63ebe9d
granite-4.0-h-micro-UD-Q5_K_XL.gguf2.27 GB7a138f45657961666f84fb0f8d136a53ff91eb621874fb91d5ed437058a97e5f
granite-4.0-h-micro-UD-Q6_K_XL.gguf2.76 GBa2453c081d56843d5c1ae55b97ebb642eea0ef2772f950692d33a789226ea032
granite-4.0-h-micro-UD-Q8_K_XL.gguf3.83 GBd8c3d5c8235afbb9a20b3106ed4a6c090b5e06b3cff2af792f50bd5c83065afb
imatrix_unsloth.gguf_file3.01 MB42c49b69b3b6cc3d4474f24f15bb5519c1899a75e31522c14921c42f0b26977c
params93 B8dec0717e5ab80a3da4c453ca55ea1f174ce9d124653bc69d9036ba67cd81b49
template7.08 KB0a951549a73143ce8e94ab052ec017fc0b738e75d9bb4fd925aef1054c70743f
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
0577b1ba05 pinned now2026-11-15 04:51 UTC31 files · 52.4 GB

Use it

$ fw get unsloth/granite-4.0-h-micro-GGUF
# manifest sha256 0f424652b5af… · 52.4 GB · 31 files
$ fw verify ./granite-4.0-h-micro-GGUF unsloth/granite-4.0-h-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-h-micro-GGUF.json --dir ./granite-4.0-h-micro-GGUF $ python3 fw.py verify ./granite-4.0-h-micro-GGUF ./unsloth__granite-4.0-h-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-h-micro-GGUF --revision 0577b1ba05f77dc2b7f554cf427a69dd0c8f18af --local-dir ./granite-4.0-h-micro-GGUF
llama.cppDownload one GGUF variant (granite-4.0-h-micro-UD-IQ1_S, 771 MB), then serve it.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download unsloth/granite-4.0-h-micro-GGUF --include "granite-4.0-h-micro-UD-IQ1_S*" --local-dir ./granite-4.0-h-micro-GGUF $ llama-server -m ./granite-4.0-h-micro-GGUF/granite-4.0-h-micro-UD-IQ1_S.gguf
OllamaMake an Ollama model from the downloaded file.
$ printf 'FROM ./granite-4.0-h-micro-GGUF/granite-4.0-h-micro-UD-IQ1_S.gguf\n' > Modelfile $ ollama create granite-4.0-h-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
166ce1435f3be777424632ac585dc256e6c3d6c102eced6d28b119166643b32c
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-micro-GGUFDate: 2026-11-15Commit: 0577b1bSigned: 2DC28CC7B26A283B ✓
Upstream
unsloth/granite-4.0-h-micro-GGUF
Pinned commit
0577b1ba05f77dc2b7f554cf427a69dd0c8f18af
Manifest
granite-4.0-h-micro-GGUF.json · .minisig
Manifest sha256
0f424652b5af5dffaf4a2eea05998c650f5f61db71765965a60fb82dffefbf7f
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 04:51 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

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