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

granite-4.0-1b-GGUF

Date: 2026-11-15Commit: cfdca55Signed: 2DC28CC7B26A283B ✓

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

granite28.0GBgranite-4.0-1b-GGUFggufpermissive
FactsParamsnot statedSize28.0 GBFormatsggufTasknot taggedLicenseApache-2.0From sourcepermissive
$ fw get unsloth/granite-4.0-1b-GGUF
# manifest sha256 e5349f9c6d2d… · 28.0 GB · 29 files
$ fw verify ./granite-4.0-1b-GGUF unsloth/granite-4.0-1b-GGUF
From sourceHosted (signed)unsloth/granite-4.0-1b-GGUFLast check: 2026-11-15 05:04 UTC

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

Quantized of granite-4.0-1b.

Works with

Convert with

Scan with

Overview

Size
28.0 GB
Weights
471 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-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 05:04 UTCpassed

Model card

From the publisher at commit cfdca55. 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-1B#

Model Summary: Granite-4.0-1B is a lightweight instruct model finetuned from Granite-4.0-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-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-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-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-1B model tool-calling ability:

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

device = "cuda"
model_path = "ibm-granite/granite-4.0-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-1B baseline is based on a decoder-only dense transformer architecture. Core components of this architecture are: GQA, 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 · 28.0 GBWeights 471 MB (smallest of 26 GGUF variants). Sizes and sha256 from the signed manifest.
Show all 29 files with their sha256
FileSizesha256
.gitattributes3.06 KBc75b7994d56aeae32b137e30827ba28a1e3ff6e0b55915e8c04d868209aac4f0
README.md34.1 KB4d16f1131eacf709bb5d045615a651d9db34716a93fdde0df6476180dda36b31
granite-4.0-1b-BF16.gguf3.27 GBffe7afe7caa09417889b0a9f5b61238fdacc74534c509ac3e2cf73e2a6a4e0e8
granite-4.0-1b-IQ4_NL.gguf980 MB71432ed30c7500e064c75653e8269a3e45110108daa6067b7a6459f2af054987
granite-4.0-1b-IQ4_XS.gguf937 MB28d7656cfcce531d113d19b00c374e47f3f8dd20855e1bb2c0e98587f4f05b0e
granite-4.0-1b-Q2_K.gguf702 MBb30f9d649dc4fcb5edd9a065750ff4d9da6e512293054301a38ef5829900e3d3
granite-4.0-1b-Q2_K_L.gguf702 MBb30f9d649dc4fcb5edd9a065750ff4d9da6e512293054301a38ef5829900e3d3
granite-4.0-1b-Q3_K_M.gguf860 MBc3d446c2bf3f689a8bfc107cef5580e47560c70a478e1e6b9a781b97539b9dd0
granite-4.0-1b-Q3_K_S.gguf786 MB325e33ad43564d1593101cb345f01ca1cf5b5594293f31dac0456c0e6134594c
granite-4.0-1b-Q4_0.gguf978 MB5278cd2085dc967c7e7c64cc4e2ea193ef8975b6b79896e3c5478b834e743fb1
granite-4.0-1b-Q4_1.gguf1.06 GB69b1a33bb20fc3e5318e7a70bb2f5428c93a124175eebeff6c636572bdb5244c
granite-4.0-1b-Q4_K_M.gguf1.02 GBebec82f541df1fe74f9a8d1235122e6facb6098b6da2b8f7457ec292f1238d4e
granite-4.0-1b-Q4_K_S.gguf981 MB1b69736ac3eaa9dcda0ead8e6082e45f4af3496d4c0626cebc17d8283f520311
granite-4.0-1b-Q5_K_M.gguf1.18 GB9fce456543f41d236e0f39af84f72394d7bd6d1c7ad4fdd590b7ad0f564e7503
granite-4.0-1b-Q5_K_S.gguf1.15 GBac4a9948c345811a65d161cc518759e0b52bd945c51b6af04917ab14c5925c64
granite-4.0-1b-Q6_K.gguf1.34 GBce98e5ccca4af861839874d03a69236223763fd8db262b118e43194f9f499448
granite-4.0-1b-Q8_0.gguf1.74 GB7316401d39aa6bf6a96f5643418598aa3d27a8aab2868e35b9420fa921c4f89e
granite-4.0-1b-UD-IQ1_M.gguf494 MB40d362ecdf346d9d0bb3d33c172039b1b5b484b66289691629ce7b671d363fa4
granite-4.0-1b-UD-IQ1_S.gguf471 MB43a8daeb6a29da9fa35abedb354b18712a9cfb09f8b7857f4f9603a3b5b2f77c
granite-4.0-1b-UD-IQ2_M.gguf645 MB60ba047fa2ac12779394f3723d9531e8161c2959718daa52e90bfdf334776b20
granite-4.0-1b-UD-IQ2_XXS.gguf536 MB07fd7b59c5bfde25f14ba627888fdbea0054a7307930a8a54b7d150dd6eda2bf
granite-4.0-1b-UD-IQ3_XXS.gguf701 MBe057cdf46135009344942ad68ea65c1b6a30079ff8177fdfee857bfff2c96b8f
granite-4.0-1b-UD-Q2_K_XL.gguf714 MBa329c32f3b5f8135fb15d98f1bab2c00508c65906daa39c2a80bd362c9ab1606
granite-4.0-1b-UD-Q3_K_XL.gguf881 MB88a7ef9b19f117096b0c79009e4406eb12446cc2274c907d859f871da4e21e4d
granite-4.0-1b-UD-Q4_K_XL.gguf1.04 GB07650fb479be74adc4d3d02fba3c55100a1ab72374658427680f43f40e1e6161
granite-4.0-1b-UD-Q5_K_XL.gguf1.18 GBefd3ffedf9b07570d0589689a86437b5ee5371576302e55431314354be20ad30
granite-4.0-1b-UD-Q6_K_XL.gguf1.49 GB58a3ea2e7499bdd558c207e81dd817c60f3918f7eed5010e549a67c6e94dc26f
granite-4.0-1b-UD-Q8_K_XL.gguf2.11 GBdf02f09c5cccc5e66bafa4304e0fd96132d88eb3a95fd0aa270875bbc9a199ef
imatrix_unsloth.gguf_file2.66 MB383af59d80da39dee669e4ca387650345037787f99abdb15e64f87b41264159d
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
cfdca559b6 pinned now2026-11-15 05:04 UTC29 files · 28.0 GB

Use it

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

How to verify

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