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

granite-3.1-1b-a400m-instruct

Date: 2026-11-15Commit: 0da7a48Signed: 2DC28CC7B26A283B ✓

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

1.3B params2.67GBgranite-3.1-1b-a400m-instructsafetensorspermissive
FactsParams1.3BSize2.67 GBFormatssafetensorsTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get ibm-granite/granite-3.1-1b-a400m-instruct
# manifest sha256 88d07712c92a… · 2.67 GB · 11 files
$ fw verify ./granite-3.1-1b-a400m-instruct ibm-granite/granite-3.1-1b-a400m-instruct
From sourceHosted (signed)ibm-granite/granite-3.1-1b-a400m-instructLast check: 2026-11-15 02:43 UTC

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

Fine-tune of granite-3.1-1b-a400m-base.

Works with

Overview

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

Original release from the publisher.

Base model: ibm-granite/granite-3.1-1b-a400m-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-15 02:43 UTCpassed

Model card

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

Granite-3.1-1B-A400M-Instruct#

Model Summary: Granite-3.1-1B-A400M-Instruct is a 1B parameter long-context instruct model finetuned from Granite-3.1-1B-A400M-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-1B-A400M-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-1b-a400m-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-1B-A400M-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

11 files · 2.67 GBWeights 2.67 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 11 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md20.5 KB94866d3eae184357d34878f77aa830ffc09f4da9504ca72cadca64f4b8f94931
added_tokens.json87 B081bdeaf76fc5463cc2e20fbadf17ad9eb569bb5343b120cc64b98840754f96c
config.json889 Bf1b64813debfabeb9cc20f1a13ed8248da6774fe54e532d19912d4b3f2ab335d
generation_config.json132 Bdf006c64ad35b18712527cb5130a7a13a4d8a7c5c23653feea59be88e2e2a4ca
merges.txt442 KB303127a244b0078878156c17229f36d11b7a3a3f8e47b7cfdbb304ff46be5030
model.safetensors2.67 GBac02591061f1344027a7e7b11dbb4143f75f166c47dc09b742f5de3ab1dde1d1
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
0da7a48b02 pinned now2026-11-15 02:43 UTC11 files · 2.67 GB

Use it

$ fw get ibm-granite/granite-3.1-1b-a400m-instruct
# manifest sha256 88d07712c92a… · 2.67 GB · 11 files
$ fw verify ./granite-3.1-1b-a400m-instruct ibm-granite/granite-3.1-1b-a400m-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-1b-a400m-instruct.json --dir ./granite-3.1-1b-a400m-instruct $ python3 fw.py verify ./granite-3.1-1b-a400m-instruct ./ibm-granite__granite-3.1-1b-a400m-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-1b-a400m-instruct --revision 0da7a48b0276d500ce5922fd2b33944091fc6c09 --local-dir ./granite-3.1-1b-a400m-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-1b-a400m-instruct", revision="0da7a48b0276d500ce5922fd2b33944091fc6c09") model = AutoModelForCausalLM.from_pretrained("ibm-granite/granite-3.1-1b-a400m-instruct", revision="0da7a48b0276d500ce5922fd2b33944091fc6c09", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve ibm-granite/granite-3.1-1b-a400m-instruct --revision 0da7a48b0276d500ce5922fd2b33944091fc6c09

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
94866d3eae184357d34878f77aa830ffc09f4da9504ca72cadca64f4b8f94931
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-1b-a400m-instructDate: 2026-11-15Commit: 0da7a48Signed: 2DC28CC7B26A283B ✓
Upstream
ibm-granite/granite-3.1-1b-a400m-instruct
Pinned commit
0da7a48b0276d500ce5922fd2b33944091fc6c09
Manifest
granite-3.1-1b-a400m-instruct.json · .minisig
Manifest sha256
88d07712c92a818d7c5cb14f086fb4d4613445473bc34a718a7d5e940d5f1c72
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 02:43 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/ibm-granite/granite-3.1-1b-a400m-instruct.json $ curl -O https://freeweights.allternit.com/manifests/ibm-granite/granite-3.1-1b-a400m-instruct.json.minisig $ minisign -Vm granite-3.1-1b-a400m-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-1b-a400m-base · this model is a finetune of it

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

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

Variants

2 quantized or adapter builds of granite-3.1-1b-a400m-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