alt.freeweights.granite / granite-4.1-8b
From: ibm-granite <huggingface.co/ibm-granite>Newsgroups: alt.freeweights.graniteSubject:

granite-4.1-8b

Date: 2026-11-14Commit: 1504002Signed: 2DC28CC7B26A283B ✓

Text generation model with 8.8B parameters. Safetensors weights, 17.6 GB in all. Published by ibm-granite under Apache-2.0.

8.8B params17.6GBgranite-4.1-8bsafetensorspermissive
FactsParams8.8BSize17.6 GBFormatssafetensorsTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get ibm-granite/granite-4.1-8b
# manifest sha256 95c6d07c69e3… · 17.6 GB · 16 files
$ fw verify ./granite-4.1-8b ibm-granite/granite-4.1-8b
From sourceHosted (signed)ibm-granite/granite-4.1-8bLast check: 2026-11-14 21:16 UTC

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

Works with

Overview

Size
17.6 GB
Weights
17.6 GB (safetensors)
Parameters
8.8B
Formats
safetensors
Task
text generation
License
Apache-2.0 (permissive)
Files
16, each with a sha256
Publisher
ibm-granite
Added
2026-11-14
Section
alt.freeweights.granite
Lineage

Original release from the publisher.

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-14 21:16 UTCpassed

Model card

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

mof-class3-qualified

Granite-4.1-8B#

Model Summary: Granite-4.1-8B is a 8B parameter long-context instruct model finetuned from Granite-4.1-8B-Base using a combination of open source instruction datasets with permissive license and internally collected synthetic datasets. Granite 4.1 models have gone through an improved post-training pipeline, including supervised finetuning and reinforcement learning alignment, resulting in enhanced tool calling, instruction following, and chat capabilities.

Supported Languages: English, German, Spanish, French, Japanese, Portuguese, Arabic, Czech, Italian, Korean, Dutch, and Chinese. Users may finetune Granite 4.1 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.1-8B 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.1-8b"
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|>IBM Almaden Research Laboratory, San Jose, California, United States.<|end_of_text|>

Tool-calling: Granite-4.1-8B 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.1-8B model tool-calling ability:

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

device = "cuda"
model_path = "ibm-granite/granite-4.1-8b"
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>
{"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>
{"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 | 3B Dense | 8B Dense | 30B Dense

| General Tasks

| MMLU | 5-shot | 67.02 | 73.84 | 80.16

| MMLU-Pro | 5-shot, CoT | 49.83 | 55.99 | 64.09

| BBH | 3-shot, CoT | 75.83 | 80.51 | 83.74

| AGI EVAL | 0-shot, CoT | 65.16 | 72.43 | 77.80

| GPQA | 0-shot, CoT | 31.70 | 41.96 | 45.76

| SimpleQA | | 3.68 | 4.82 | 6.81

| Alignment Tasks

| AlpacaEval 2.0 | | 38.57 | 50.08 | 56.16

| IFEval Avg | | 82.30 | 87.06 | 89.65

| ArenaHard | | 37.80 | 68.98 | 71.02

| MTBench Avg | | 7.57 | 8.61 | 8.61

| Math Tasks

| GSM8K | 8-shot | 86.88 | 92.49 | 94.16

| GSM Symbolic | 8-shot | 81.32 | 83.70 | 75.70

| Minerva Math | 0-shot, CoT | 67.94 | 80.10 | 81.32

| DeepMind Math | 0-shot, CoT | 64.64 | 80.07 | 81.93

| Code Tasks

| HumanEval | pass@1 | 81.71 | 85.37 | 88.41

| HumanEval+ | pass@1 | 76.83 | 79.88 | 85.37

| MBPP | pass@1 | 71.16 | 87.30 | 85.45

| MBPP+ | pass@1 | 62.17 | 73.81 | 73.54

| CRUXEval-O | pass@1 | 40.75 | 47.63 | 55.75

| BigCodeBench | pass@1 | 32.19 | 35.00 | 38.77

| MULTIPLE | pass@1 | 52.54 | 60.26 | 62.31

| Eval+ Avg | pass@1 | 67.05 | 80.21 | 82.66

| Tool Calling Tasks

| BFCL v3 | | 60.80 | 68.27 | 73.68

| Multilingual Tasks

| MMMLU | 5-shot | 57.61 | 64.84 | 73.71

| INCLUDE | 5-shot | 52.05 | 58.89 | 67.26

| MGSM | 8-shot | 70.00 | 82.32 | 71.12

| Safety

| SALAD-Bench | | 93.95 | 95.80 | 96.41

| AttaQ | | 81.88 | 81.19 | 85.76

| Tulu3 Safety Eval Avg | | 66.84 | 75.57 | 78.19

Multilingual Benchmarks and the 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.1-8B 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 | 3B Dense | 8B Dense | 30B Dense

| Embedding size | 2560 | 4096 | 4096

| Number of layers | 40 | 40 | 64

| Attention head size | 64 | 128 | 128

| Number of attention heads | 40 | 32 | 32

| Number of KV heads | 8 | 8 | 8

| MLP / Shared expert hidden size | 8192 | 12800 | 32768

| MLP activation | SwiGLU | SwiGLU | SwiGLU

| Sequence length | 131072 | 131072 | 131072

| Position embedding | RoPE | RoPE | RoPE

| # Parameters | 3B | 8B | 30B

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.

Supervised Fine-Tuning and Reinforcement Learning: Instruct model has been fine tuned with significantly improved SFT-pipeline and Reinforcement learning pipelines with high quality mix of various datasets as mentioned above. With rigorous SFT-RL cycles we have improved Granite-4.1 model's tool calling, instruction following and chat capabilities. For further details please check our Granite-4.1 Blog.

Infrastructure: We trained the Granite 4.1 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.1 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 cases, 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. We urge the community to use this model with proper safety testing and tuning tailored for their specific tasks. To enhance safety in enterprise deployments, we recommend using Granite 4.1 Language models alongside Granite Guardian, a model designed to detect and flag risks in inputs and outputs across key dimensions outlined in the IBM AI Risk Atlas.

Resources

Files

16 files · 17.6 GBWeights 17.6 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 16 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md32.3 KB218ca03fa60c23052fd4eba9fce500649360caa1eef30757e4aa2ce4b3390691
chat_template.jinja6.10 KBfed2756d2d24e127b951dcf139d0b03ab7db8ef23a456128ebc9c2db4901d476
config.json803 Bdea9d856cb57018117fe2fe3366f37cb4aa39424890061db2c0045a6a4efbda0
generation_config.json147 B9117fb03fed79dbb459373edeef9a3eec966bce52a1842e03a6716e83117f0d1
merges.txt917 KBb6fe424e334903f7fb84d3a106d9730455f4744b9fe3c21ee136d97a00e72502
model-00001-of-00004.safetensors4.83 GBc42533bcfa8b5bdfc96e722f4c70704b4ecd31227162529453d280d07c0091ac
model-00002-of-00004.safetensors4.99 GBba194eb766809c2fac3049c0fcadb96bdc8f0febf4b8e6f55c852cc5005ab611
model-00003-of-00004.safetensors4.97 GB168153b305f14bdeeab426fbdb8b0abb8c75203b2239e1a0cbf90c15f2b74f5a
model-00004-of-00004.safetensors2.79 GB147d13d976e8e745a528ecf5502db576560df84b7509e429a99e4d9057fede70
model.safetensors.index.json29.9 KBcedf63db80bf5bbd8f9f1656573458b881b2604712abf97162b0cb2b70d8fdcb
model.sig11.1 KB509b178a0eac202a7444cbdaa88dff96557f029151d2affd96fe91e3b8717f10
special_tokens_map.json579 Bc08676c49fd7969a3130f72be6d4bf34da66aa484a6e21dffe359893a1bd5f2e
tokenizer.json7.15 MB5b40c387950fcf524e3922355772b1d27e0ef652b6140c1f331a0efc3066aad2
tokenizer_config.json17.7 KBa5ec5daab12ba090a90f3dd169c8f9c275557013a87b9c1258dc7cb497a35c86
vocab.json1.61 MB8af71076de8b0b626eed0f4c984faf0a7c062479164b2a31308a948524d4f69c
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
1504002f65 pinned now manifest updated, same commit2026-11-14 21:16 UTC16 files · 17.6 GB
1504002f652026-11-14 21:16 UTC16 files · 17.6 GB

Use it

$ fw get ibm-granite/granite-4.1-8b
# manifest sha256 95c6d07c69e3… · 17.6 GB · 16 files
$ fw verify ./granite-4.1-8b ibm-granite/granite-4.1-8b
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/ibm-granite/granite-4.1-8b.json --dir ./granite-4.1-8b $ python3 fw.py verify ./granite-4.1-8b ./ibm-granite__granite-4.1-8b.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download ibm-granite/granite-4.1-8b --revision 1504002f650e656a0a3789d99574df12e3e94ed0 --local-dir ./granite-4.1-8b
transformersLoad the weights in Python.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from transformers import AutoModelForCausalLM, AutoTokenizer tok = AutoTokenizer.from_pretrained("ibm-granite/granite-4.1-8b", revision="1504002f650e656a0a3789d99574df12e3e94ed0") model = AutoModelForCausalLM.from_pretrained("ibm-granite/granite-4.1-8b", revision="1504002f650e656a0a3789d99574df12e3e94ed0", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve ibm-granite/granite-4.1-8b --revision 1504002f650e656a0a3789d99574df12e3e94ed0

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-14
Text in
README.md
Text sha256
218ca03fa60c23052fd4eba9fce500649360caa1eef30757e4aa2ce4b3390691
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: ibm-granite <huggingface.co/ibm-granite>Newsgroups: alt.freeweights.graniteSubject: granite-4.1-8bDate: 2026-11-14Commit: 1504002Signed: 2DC28CC7B26A283B ✓
Upstream
ibm-granite/granite-4.1-8b
Pinned commit
1504002f650e656a0a3789d99574df12e3e94ed0
Manifest
granite-4.1-8b.json · .minisig
Manifest sha256
95c6d07c69e3e2abfe87c942475c116bd9ef469ccfc46ed4e170e3a8fa9851b1
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-14 21:16 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/ibm-granite/granite-4.1-8b.json $ curl -O https://freeweights.allternit.com/manifests/ibm-granite/granite-4.1-8b.json.minisig $ minisign -Vm granite-4.1-8b.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

8 models in the catalog name this one as their parent.

Fine-tunes
1
Quantizations
7
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download ibm-granite/granite-4.1-8b
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.1-8b.json. Provenance. Takedown history: none.

Variants

7 quantized or adapter builds of granite-4.1-8b. Each has its own license check and page.

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