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

granite-3.1-1b-a400m-base

Date: 2026-11-15Commit: 408b6e9Signed: 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-basesafetensorspermissive
FactsParams1.3BSize2.67 GBFormatssafetensorsTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get ibm-granite/granite-3.1-1b-a400m-base
# manifest sha256 7428c5380214… · 2.67 GB · 10 files
$ fw verify ./granite-3.1-1b-a400m-base ibm-granite/granite-3.1-1b-a400m-base
From sourceHosted (signed)ibm-granite/granite-3.1-1b-a400m-baseLast check: 2026-11-15 02:51 UTC

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

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
10, each with a sha256
Publisher
ibm-granite
Added
2026-11-15
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-15 02:51 UTCpassed

Model card

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

Granite-3.1-1B-A400M-Base#

Model Summary: Granite-3.1-1B-A400M-Base extends the context length of Granite-3.0-1B-A400M-Base from 4K to 128K using a progressive training strategy by increasing the supported context length in increments while adjusting RoPE theta until the model has successfully adapted to desired length of 128K. This long-context pre-training stage was performed using approximately 500B tokens.

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: Prominent use cases of LLMs in text-to-text generation include summarization, text classification, extraction, question-answering, and more. All Granite Base models are able to handle these tasks as they were trained on a large amount of data from various domains. Moreover, they can serve as baseline to create specialized models for specific application scenarios.

Generation: This is a simple example of how to use Granite-3.1-1B-A400M-Base model.

Install the following libraries:

pip install torch torchvision torchaudio
pip install accelerate
pip install transformers

Then, copy the code snippet below to run the example.

from transformers import AutoModelForCausalLM, AutoTokenizer
device = "auto"
model_path = "ibm-granite/granite-3.1-1b-a400m-base"
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
input_text = "Where is the Thomas J. Watson Research Center located?"
# tokenize the text
input_tokens = tokenizer(input_text, return_tensors="pt").to(device)
# generate output tokens
output = model.generate(**input_tokens,
                        max_length=4000)
# 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-Base | 63.99 | 83.27 | 63.45 | 51.29 | 78.92 | 60.19 | 66.85

| Granite-3.1-2B-Base | 53.58 | 77.67 | 52.86 | 39.02 | 72.84 | 47.99 | 57.32

| Granite-3.1-3B-A800M-Base | 50.76 | 74.45 | 48.31 | 39.91 | 69.29 | 40.56 | 53.88

| Granite-3.1-1B-A400M-Base | 39.42 | 66.13 | 26.53 | 37.67 | 2.03 | 18.87 | 31.78

HuggingFace Open LLM Leaderboard V2

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

| Granite-3.1-8B-Base | 42.21 | 26.02 | 9.52 | 9.51 | 8.36 | 24.8 | 20.07

| Granite-3.1-2B-Base | 35.22 | 16.84 | 5.59 | 3.69 | 3.9 | 13.9 | 13.19

| Granite-3.1-3B-A800M-Base | 29.96 | 11.91 | 4 | 3.69 | 1.11 | 8.81 | 9.91

| Granite-3.1-1B-A400M-Base | 25.19 | 6.43 | 2.19 | 0.22 | 1.76 | 1.55 | 6.22

Model Architecture: Granite-3.1-1B-A400M-Base is based on a decoder-only sparse Mixture of Experts (MoE) transformer architecture. Core components of this architecture are: Fine-grained Experts, Dropless Token Routing, and Load Balancing Loss.

| 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: This model is trained on a mix of open source and proprietary data following a two-stage training strategy.

  • Stage 1 data: The data for stage 1 is sourced from diverse domains, such as: web, code, academic sources, books, and math data.
  • Stage 2 data: The data for stage 2 comprises a curated mix of high-quality data from the same domains, plus multilingual and instruction data. The goal of this second training phase is to enhance the model’s performance on specific tasks.
  • Stage 3 data: The data for stage 3 consists of original stage-2 pretraining data with additional synthetic long-context data in form of QA/summary pairs where the answer contains a recitation of the related paragraph before the answer.

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: The use of Large Language Models involves risks and ethical considerations people must be aware of, including but not limited to: bias and fairness, misinformation, and autonomous decision-making. Granite-3.1-1B-A400M-Base model is not the exception in this regard. Even though this model is suited for multiple generative AI tasks, it has not undergone any safety alignment, there it may produce problematic outputs. Additionally, it remains uncertain whether smaller models might exhibit increased susceptibility to hallucination in generation scenarios by copying text verbatim from the training dataset due to their reduced sizes and memorization capacities. This aspect is currently an active area of research, and we anticipate more rigorous exploration, comprehension, and mitigations in this domain. Regarding ethics, a latent risk associated with all Large Language Models is their malicious utilization. We urge the community to use Granite-3.1-1B-A400M-Base model with ethical intentions and in a responsible way.

Resources

Files

10 files · 2.67 GBWeights 2.67 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 10 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md20.8 KB5fc183083923a69933380064df8e66608486de1888543b99c62bff9e847cbde7
config.json891 B25af0a4e4e85b781fa22c7cab240cda31714254a9d3d0f2f67e079693e1dd614
generation_config.json132 B9908b9afa37288491e32f2d9e818222d70ad66fee0f5be2bf9317a8dc73b7ae2
model-00001-of-00002.safetensors1.99 GB6933b6375074dc6cc4c0b98c9e126cd5fc899ef0cd80db0a932a232c6393c9cd
model-00002-of-00002.safetensors676 MB271870f88e36f28ca87e86e11fa971b0b3e268fb9ac4495d42c66fdd1bc9d060
model.safetensors.index.json19.2 KBe6fcaa59c4b5c12de1a6c0a2382a6aeea42ce98d0b1de681e649f85b739e07c8
special_tokens_map.json1.02 KB2f2bba45146f073a7b8a097cb6133a6b4b66d5751e73f2a2aca81083288813e9
tokenizer.json2.06 MBd3b4df07a0ce3940b15c77e2ea17ab5627ca0c4bf982d2eb37966aea0a81c918
tokenizer_config.json4.13 KB0764d3ae3830187f63cfe568c754d99900fed85fc9d071e6cfe2add9f555b6bb
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
408b6e90ba pinned now2026-11-15 02:51 UTC10 files · 2.67 GB

Use it

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

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
5fc183083923a69933380064df8e66608486de1888543b99c62bff9e847cbde7
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-baseDate: 2026-11-15Commit: 408b6e9Signed: 2DC28CC7B26A283B ✓
Upstream
ibm-granite/granite-3.1-1b-a400m-base
Pinned commit
408b6e90baab8cf24f4aa9f8e19703ffa0a53b29
Manifest
granite-3.1-1b-a400m-base.json · .minisig
Manifest sha256
7428c538021434c770fdba2700cd1f858209999e58839bce0813d5220e22e04f
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 02:51 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-base.json $ curl -O https://freeweights.allternit.com/manifests/ibm-granite/granite-3.1-1b-a400m-base.json.minisig $ minisign -Vm granite-3.1-1b-a400m-base.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

1 model in the catalog name this one as their parent.

Fine-tunes
1
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download ibm-granite/granite-3.1-1b-a400m-base
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-base.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