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

granite-4.0-h-1b-GGUF

Date: 2026-11-15Commit: 74f5511Signed: 2DC28CC7B26A283B ✓

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

granite24.5GBgranite-4.0-h-1b-GGUFggufpermissive
FactsParamsnot statedSize24.5 GBFormatsggufTasknot taggedLicenseApache-2.0From sourcepermissive
$ fw get unsloth/granite-4.0-h-1b-GGUF
# manifest sha256 7320c89b3fc1… · 24.5 GB · 29 files
$ fw verify ./granite-4.0-h-1b-GGUF unsloth/granite-4.0-h-1b-GGUF
From sourceHosted (signed)unsloth/granite-4.0-h-1b-GGUFLast check: 2026-11-15 04:59 UTC

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

Quantized of granite-4.0-h-1b.

Works with

Convert with

Scan with

Overview

Size
24.5 GB
Weights
384 MB (smallest of 26 GGUF variants)
Parameters
not stated
Formats
gguf
Task
not tagged
License
Apache-2.0 (permissive)
Files
29, 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-1b

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

Model card

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

Unsloth Dynamic 2.0 achieves superior accuracy & outperforms other leading quants.

https://github.com/unslothai/unsloth/ https://discord.gg/unsloth https://docs.unsloth.ai/

Granite-4.0-H-1B#

Model Summary: Granite-4.0-H-1B is a lightweight instruct model finetuned from Granite-4.0-H-1B-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 including supervised finetuning, reinforcement learning, and model merging.

Supported Languages: English, German, Spanish, French, Japanese, Portuguese, Arabic, Czech, Italian, Korean, Dutch, and Chinese. Users may fine-tune Granite 4.0 Nano models to support languages beyond those included in this list.

Intended use: Granite 4.0 Nano instruct models feature strong instruction following capabilities bringing advanced AI capabilities within reach for on-device deployments and research use cases. Additionally, their compact size makes them well-suited for fine-tuning on specialized domains without requiring massive compute resources.

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-1B 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-1b"
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-1B 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-1B model tool-calling ability:

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

device = "cuda"
model_path = "ibm-granite/granite-4.0-h-1b"
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 | 350M Dense | H 350M Dense | 1B Dense | H 1B Dense

| General Tasks

| MMLU | 5-shot | 35.01 | 36.21 | 59.39 | 59.74

| MMLU-Pro | 5-shot, CoT | 12.13 | 14.38 | 34.02 | 32.86

| BBH | 3-shot, CoT | 33.07 | 33.28 | 60.37 | 59.68

| AGI EVAL | 0-shot, CoT | 26.22 | 29.61 | 49.22 | 52.44

| GPQA | 0-shot, CoT | 24.11 | 26.12 | 29.91 | 29.69

| Alignment Tasks

| IFEval | Instruct, Strict | 61.63 | 67.63 | 80.82 | 82.37

| IFEval | Prompt, Strict | 49.17 | 55.64 | 73.94 | 74.68

| IFEval | Average | 55.4 | 61.63 | 77.38 | 78.53

| Math Tasks

| GSM8K | 8-shot | 30.71 | 39.27 | 76.35 | 69.83

| GSM Symbolic | 8-shot | 26.76 | 33.7 | 72.3 | 65.72

| Minerva Math | 0-shot, CoT | 13.04 | 5.76 | 45.28 | 49.4

| DeepMind Math | 0-shot, CoT | 8.45 | 6.2 | 34 | 34.98

| Code Tasks

| HumanEval | pass@1 | 39 | 38 | 74 | 73

| HumanEval+ | pass@1 | 37 | 35 | 69 | 68

| MBPP | pass@1 | 48 | 49 | 65 | 69

| MBPP+ | pass@1 | 38 | 44 | 57 | 60

| CRUXEval-O | pass@1 | 23.75 | 25.5 | 33.13 | 36

| BigCodeBench | pass@1 | 11.14 | 11.23 | 30.18 | 29.12

| Tool Calling Tasks

| BFCL v3 | | 39.32 | 43.32 | 54.82 | 50.21

| Multilingual Tasks

| MULTIPLE | pass@1 | 15.99 | 14.31 | 32.24 | 36.11

| MMMLU | 5-shot | 28.23 | 27.95 | 45 | 49.43

| INCLUDE | 5-shot | 27.74 | 27.09 | 42.12 | 43.35

| MGSM | 8-shot | 14.72 | 16.16 | 37.84 | 27.52

| Safety

| SALAD-Bench | | 97.12 | 96.55 | 93.44 | 96.4

| AttaQ | | 82.53 | 81.76 | 85.26 | 82.85

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-1B baseline is based 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 | 350M Dense | H 350M Dense | 1B Dense | H 1B Dense

| Embedding size | 1024 | 768 | 2048 | 1536

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

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

| Number of attention heads | 16 | 12 | 16 | 12

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

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

| Number of Mamba2 heads | - | 48 | - | 48

| MLP / Shared expert hidden size | 2048 | 2048 | 4096 | 4096

| Num. Experts | - | - | - | -

| Num. active Experts | - | - | - | -

| Expert hidden size | - | - | - | -

| MLP activation | SwiGLU | SwiGLU | SwiGLU | SwiGLU

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

| Position embedding | RoPE | NoPE | RoPE | NoPE

| # Parameters | 350M | 340M | 1.6B | 1.5B

| # Active parameters | 350M | 340M | 1.6B | 1.5B

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 Nano 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 Nano Instruct 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

29 files · 24.5 GBWeights 384 MB (smallest of 26 GGUF variants). Sizes and sha256 from the signed manifest.
Show all 29 files with their sha256
FileSizesha256
.gitattributes3.17 KB6242072c4dd9e0436dee4ec3b21707c2accd8d9a83b9a926bd239336d8ea4405
README.md33.9 KB03b044e941f0e242e56ab7f545f9d4652c46fc39ab9e85d7cc383ae9596c5754
granite-4.0-h-1b-BF16.gguf2.93 GB3a213822758f5caad0e400b1b5d788bb03d296974ab18fb900dfcd39bfb19e87
granite-4.0-h-1b-IQ4_NL.gguf868 MB6e659938a6beeb4dd09958335bd208f350ca4deb0f6936eaa2b2691f88ce497c
granite-4.0-h-1b-IQ4_XS.gguf827 MB07f96c187f4e149603309672658dbcf5fa193e4f3cea2e44cd979f20456dc0ce
granite-4.0-h-1b-Q2_K.gguf589 MB6e7c25ec0c75d4f0d4dab56876c6a8e229529e80432f333b1c65b8ef4cb5fdad
granite-4.0-h-1b-Q2_K_L.gguf589 MB6e7c25ec0c75d4f0d4dab56876c6a8e229529e80432f333b1c65b8ef4cb5fdad
granite-4.0-h-1b-Q3_K_M.gguf732 MB0b9817b5965f7678d33ed6489adc6f8c9e51e3337dcacd5fb3ae54f5c7692118
granite-4.0-h-1b-Q3_K_S.gguf695 MBd3a7c3ce608d3c995e4cd0f24d991fe871a6c2508a84ecfabf48c4b037170138
granite-4.0-h-1b-Q4_0.gguf870 MB82c2e01e6030126d8920b5bcd59a938b82e8fe72d958c78b0311f520feefe266
granite-4.0-h-1b-Q4_1.gguf950 MBd25bf65b7da6247ed7e67d7ece46db451f6c191c8eeff20aea0fad569d1f4bb3
granite-4.0-h-1b-Q4_K_M.gguf901 MBfd3b85f09520df9d898e2bbcf5da22fc518dbf9d662bb52e214d946c72aafacc
granite-4.0-h-1b-Q4_K_S.gguf873 MB8388e61b366aa540248589242d4dc85308b53df60a12fb698fa6f13cc7e37785
granite-4.0-h-1b-Q5_K_M.gguf1.05 GB5c5d66ff9a3910fc66c19f860cb0f65ac4673053262c030a3061b9cfd385a4e5
granite-4.0-h-1b-Q5_K_S.gguf1.03 GB121cd158f42e0c9ce1672fa7d39421877faff69bb22ff62f50355e72796d26e8
granite-4.0-h-1b-Q6_K.gguf1.21 GBcb9cb21d380b5e3128ff402503950a389ea8f53e76c3c34e198a4b1d839047db
granite-4.0-h-1b-Q8_0.gguf1.56 GB5fbb22e0f066d94ffbd79b90b4b0d882c7eba09d80a8d3ba01abf8dd098e002c
granite-4.0-h-1b-UD-IQ1_M.gguf413 MBf877dc6255e26da32c6d9798a6bece6f9c07cdc5acee291816180c75b0e6cdb7
granite-4.0-h-1b-UD-IQ1_S.gguf384 MB446507fb3f6bb5af9bf6a7070cf0d0730fb40f8b1b596086971c61a3c4233d13
granite-4.0-h-1b-UD-IQ2_M.gguf543 MBf2a4b07d6e83471d75372bd074b471f3775860c29a974e02dee374d6b30d7dc5
granite-4.0-h-1b-UD-IQ2_XXS.gguf459 MBe112b16845182a0f338a589590821909c144498fb090b585adf734bcdfd3d25c
granite-4.0-h-1b-UD-IQ3_XXS.gguf618 MB9fd4e1d8b5d3d2cb1bf95e52f294d29e23bdc4371502508dcfd65ee215ee15a1
granite-4.0-h-1b-UD-Q2_K_XL.gguf598 MBe585867a64fe772c3861132fd1933bfa624028f4b850ae1b0e08ebdc34dc050d
granite-4.0-h-1b-UD-Q3_K_XL.gguf742 MB4cb64b86c6d255dfc2cfdf9517ee64553ce5836f37faa7fd3b05abcaa8427a9a
granite-4.0-h-1b-UD-Q4_K_XL.gguf912 MBb66caabd187723071cbbd623c56e221cd08e219c3e026f3d4058150486ce1d46
granite-4.0-h-1b-UD-Q5_K_XL.gguf1.05 GB1608ad43819c655de919567fc27d5380f4ac13e208c1e7873646d22cadb226b6
granite-4.0-h-1b-UD-Q6_K_XL.gguf1.28 GB71052b0110669da9f4ff72496068dd8b9449e441686ba25c5409d0bfae25cb97
granite-4.0-h-1b-UD-Q8_K_XL.gguf1.79 GB9ed6e46ca351f89264b8ff59551d6a5d58467bee59ee15eed4fefba5c55218c0
imatrix_unsloth.gguf_file1.94 MBc351de620047124726ffa684e9fd9be6fbf910926e68195087394071ef54587e
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
74f5511840 pinned now2026-11-15 04:59 UTC29 files · 24.5 GB

Use it

$ fw get unsloth/granite-4.0-h-1b-GGUF
# manifest sha256 7320c89b3fc1… · 24.5 GB · 29 files
$ fw verify ./granite-4.0-h-1b-GGUF unsloth/granite-4.0-h-1b-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-1b-GGUF.json --dir ./granite-4.0-h-1b-GGUF $ python3 fw.py verify ./granite-4.0-h-1b-GGUF ./unsloth__granite-4.0-h-1b-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-1b-GGUF --revision 74f5511840300fdee7c70ccfc5bd57ecde0c8bbc --local-dir ./granite-4.0-h-1b-GGUF
llama.cppDownload one GGUF variant (granite-4.0-h-1b-UD-IQ1_S, 384 MB), then serve it.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download unsloth/granite-4.0-h-1b-GGUF --include "granite-4.0-h-1b-UD-IQ1_S*" --local-dir ./granite-4.0-h-1b-GGUF $ llama-server -m ./granite-4.0-h-1b-GGUF/granite-4.0-h-1b-UD-IQ1_S.gguf
OllamaMake an Ollama model from the downloaded file.
$ printf 'FROM ./granite-4.0-h-1b-GGUF/granite-4.0-h-1b-UD-IQ1_S.gguf\n' > Modelfile $ ollama create granite-4.0-h-1b-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
03b044e941f0e242e56ab7f545f9d4652c46fc39ab9e85d7cc383ae9596c5754
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-1b-GGUFDate: 2026-11-15Commit: 74f5511Signed: 2DC28CC7B26A283B ✓
Upstream
unsloth/granite-4.0-h-1b-GGUF
Pinned commit
74f5511840300fdee7c70ccfc5bd57ecde0c8bbc
Manifest
granite-4.0-h-1b-GGUF.json · .minisig
Manifest sha256
7320c89b3fc171713543ddf20550c0438983372f165e4643bd876c5691f32386
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 04:59 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

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