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

granite-3.1-8b-instruct

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

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

8.2B params16.3GBgranite-3.1-8b-instructsafetensorspermissive
FactsParams8.2BSize16.3 GBFormatssafetensorsTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get ibm-granite/granite-3.1-8b-instruct
# manifest sha256 fee5a512f045… · 16.3 GB · 15 files
$ fw verify ./granite-3.1-8b-instruct ibm-granite/granite-3.1-8b-instruct
From sourceHosted (signed)ibm-granite/granite-3.1-8b-instructLast check: 2026-11-14 21:16 UTC

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

Fine-tune of granite-3.1-8b-base.

Works with

Overview

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

Original release from the publisher.

Base model: ibm-granite/granite-3.1-8b-base

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 4009206. Shown as plain text with links; images open at the publisher.

Granite-3.1-8B-Instruct#

Model Summary: Granite-3.1-8B-Instruct is a 8B parameter long-context instruct model finetuned from Granite-3.1-8B-Base using a combination of open source instruction datasets with permissive license and internally collected synthetic datasets tailored for solving long context problems. 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.

Supported Languages: English, German, Spanish, French, Japanese, Portuguese, Arabic, Czech, Italian, Korean, Dutch, and Chinese. Users may finetune Granite 3.1 models for languages beyond these 12 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
  • Long-context tasks including long document/meeting summarization, long document QA, etc.

Generation: This is a simple example of how to use Granite-3.1-8B-Instruct 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 = "auto"
model_path = "ibm-granite/granite-3.1-8b-instruct"
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)

Evaluation Results:

HuggingFace Open LLM Leaderboard V1

| Models | ARC-Challenge | Hellaswag | MMLU | TruthfulQA | Winogrande | GSM8K | Avg

| Granite-3.1-8B-Instruct | 62.62 | 84.48 | 65.34 | 66.23 | 75.37 | 73.84 | 71.31

| Granite-3.1-2B-Instruct | 54.61 | 75.14 | 55.31 | 59.42 | 67.48 | 52.76 | 60.79

| Granite-3.1-3B-A800M-Instruct | 50.42 | 73.01 | 52.19 | 49.71 | 64.87 | 48.97 | 56.53

| Granite-3.1-1B-A400M-Instruct | 42.66 | 65.97 | 26.13 | 46.77 | 62.35 | 33.88 | 46.29

HuggingFace Open LLM Leaderboard V2

| Models | IFEval | BBH | MATH Lvl 5 | GPQA | MUSR | MMLU-Pro | Avg

| Granite-3.1-8B-Instruct | 72.08 | 34.09 | 21.68 | 8.28 | 19.01 | 28.19 | 30.55

| Granite-3.1-2B-Instruct | 62.86 | 21.82 | 11.33 | 5.26 | 4.87 | 20.21 | 21.06

| Granite-3.1-3B-A800M-Instruct | 55.16 | 16.69 | 10.35 | 5.15 | 2.51 | 12.75 | 17.1

| Granite-3.1-1B-A400M-Instruct | 46.86 | 6.18 | 4.08 | 0 | 0.78 | 2.41 | 10.05

Model Architecture: Granite-3.1-8B-Instruct is based on a decoder-only dense transformer architecture. Core components of this architecture are: GQA and RoPE, MLP with SwiGLU, RMSNorm, and shared input/output embeddings.

| Model | 2B Dense | 8B Dense | 1B MoE | 3B MoE

| Embedding size | 2048 | 4096 | 1024 | 1536

| Number of layers | 40 | 40 | 24 | 32

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

| Number of attention heads | 32 | 32 | 16 | 24

| Number of KV heads | 8 | 8 | 8 | 8

| MLP hidden size | 8192 | 12800 | 512 | 512

| MLP activation | SwiGLU | SwiGLU | SwiGLU | SwiGLU

| Number of experts | — | — | 32 | 40

| MoE TopK | — | — | 8 | 8

| Initialization std | 0.1 | 0.1 | 0.1 | 0.1

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

| Position embedding | RoPE | RoPE | RoPE | RoPE

| # Parameters | 2.5B | 8.1B | 1.3B | 3.3B

| # Active parameters | 2.5B | 8.1B | 400M | 800M

| # Training tokens | 12T | 12T | 10T | 10T

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 including long-context tasks, and (3) very small amounts of human-curated data. A detailed attribution of datasets can be found in the Granite 3.0 Technical Report, Granite 3.1 Technical Report (coming soon), and Accompanying Author List.

Infrastructure: We train Granite 3.1 Language Models using IBM's super computing cluster, Blue Vela, which is outfitted with NVIDIA H100 GPUs. This cluster provides a scalable and efficient infrastructure for training our models over thousands of GPUs.

Ethical Considerations and Limitations: Granite 3.1 Instruct Models are primarily finetuned using instruction-response pairs mostly in English, but also multilingual data covering eleven 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

15 files · 16.3 GBWeights 16.3 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 15 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md20.5 KB0d5ebfafcdfa5344c23b6ea35b63c17f96fec4909d72dafe5b132a2480302a19
added_tokens.json87 B081bdeaf76fc5463cc2e20fbadf17ad9eb569bb5343b120cc64b98840754f96c
config.json790 B03c19685d37a17a541641fb17fa40ba371d1d892e87334d3068d90e8f296a365
generation_config.json132 Bdf006c64ad35b18712527cb5130a7a13a4d8a7c5c23653feea59be88e2e2a4ca
merges.txt442 KB303127a244b0078878156c17229f36d11b7a3a3f8e47b7cfdbb304ff46be5030
model-00001-of-00004.safetensors4.97 GB191c4e9c6263d9cf591104f2d16ab2c39dcc43c1ad0680cc5a34d5c86d61ee41
model-00002-of-00004.safetensors4.99 GBc7c38b0d5a436775b09d764465ed6e6eb7a8c4e302d05e301e151c96e3076f22
model-00003-of-00004.safetensors4.97 GBf02784b72391fa04e9b986313c1a1720ce88f0eb40f7ae81fa0daadc93049457
model-00004-of-00004.safetensors1.41 GB9d86d201ff8e73d8a46e92b543c9dd44f133e60b35ccada4a76439af62f22212
model.safetensors.index.json29.8 KB32fab6382f4cba5428af1b28ed350b6b33d6a413863e952fc10cc286328324e6
special_tokens_map.json701 B596d752bf46f5cace1f6826b52ed7d913347a4eea0ecce8ab2f869471ca40369
tokenizer.json3.48 MBed944c0b3d71e2d651a5ba0f8e7b350faff30031c8e3353de70b12b9c1bf5654
tokenizer_config.json8.07 KBab17e0d532ecf47e9d8451939dd81f25dd98c5fba4b6742584549bbf9c1f06b9
vocab.json777 KB80ab859339a2525fdfbda14bc39df02dffb824aefdaf86426217bbb146d17e01
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
4009206d5f pinned now manifest updated, same commit2026-11-14 21:16 UTC15 files · 16.3 GB
4009206d5f2026-11-14 21:16 UTC15 files · 16.3 GB

Use it

$ fw get ibm-granite/granite-3.1-8b-instruct
# manifest sha256 fee5a512f045… · 16.3 GB · 15 files
$ fw verify ./granite-3.1-8b-instruct ibm-granite/granite-3.1-8b-instruct
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-3.1-8b-instruct.json --dir ./granite-3.1-8b-instruct $ python3 fw.py verify ./granite-3.1-8b-instruct ./ibm-granite__granite-3.1-8b-instruct.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download ibm-granite/granite-3.1-8b-instruct --revision 4009206d5fc95d2e65a7b7633e159d6e97e25d35 --local-dir ./granite-3.1-8b-instruct
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-3.1-8b-instruct", revision="4009206d5fc95d2e65a7b7633e159d6e97e25d35") model = AutoModelForCausalLM.from_pretrained("ibm-granite/granite-3.1-8b-instruct", revision="4009206d5fc95d2e65a7b7633e159d6e97e25d35", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve ibm-granite/granite-3.1-8b-instruct --revision 4009206d5fc95d2e65a7b7633e159d6e97e25d35

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
0d5ebfafcdfa5344c23b6ea35b63c17f96fec4909d72dafe5b132a2480302a19
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-3.1-8b-instructDate: 2026-11-14Commit: 4009206Signed: 2DC28CC7B26A283B ✓
Upstream
ibm-granite/granite-3.1-8b-instruct
Pinned commit
4009206d5fc95d2e65a7b7633e159d6e97e25d35
Manifest
granite-3.1-8b-instruct.json · .minisig
Manifest sha256
fee5a512f045b03d3ed0fa3813d3271e5e488f7353a86376b513777d721f0e3a
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-3.1-8b-instruct.json $ curl -O https://freeweights.allternit.com/manifests/ibm-granite/granite-3.1-8b-instruct.json.minisig $ minisign -Vm granite-3.1-8b-instruct.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-3.1-8b-base · this model is a finetune of it

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

Fine-tunes
2
Quantizations
2
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download ibm-granite/granite-3.1-8b-instruct
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. granite-3.1-8b-instruct.json. Provenance. Takedown history: none.

Variants

2 quantized or adapter builds of granite-3.1-8b-instruct. 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