alt.freeweights.granite / granite-swash-3b-a600m
From: ibm-granite <huggingface.co/ibm-granite>Newsgroups: alt.freeweights.graniteSubject:

granite-swash-3b-a600m

Date: 2026-11-15Commit: 568a94fSigned: 2DC28CC7B26A283B ✓

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

3B params6.05GBgranite-swash-3b-a600msafetensorspermissive
FactsParams3BSize6.05 GBFormatssafetensorsTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get ibm-granite/granite-swash-3b-a600m
# manifest sha256 b126f379ecbf… · 6.05 GB · 9 files
$ fw verify ./granite-swash-3b-a600m ibm-granite/granite-swash-3b-a600m
From sourceHosted (signed)ibm-granite/granite-swash-3b-a600mLast check: 2026-11-15 03:23 UTC

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

Works with

Overview

Size
6.05 GB
Weights
6.04 GB (safetensors)
Parameters
3B
Formats
safetensors
Task
text generation
License
Apache-2.0 (permissive)
Files
9, 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 03:23 UTCpassed

Model card

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

Granite-SWASH-3B-a600M (Sliding Window Attention + Sinks Hybrid)#

Model Summary Granite-SWASH-3B-a600M is a 3B parameter decoder-only sparse language model with per-layer Sliding Window Attention (SWA) and learnable attention sinks (LSE-based). Trained on a mix of open source and proprietary data, it is a broad, general-purpose, English-language base model that serves as an early exploration and small-scale preview for upcoming Granite series model releases.

Architecture#

Granite-SWASH-3B-a600M is based on a decoder-only mixture-of-experts transformer architecture. Core components of this architecture are: GQA, RoPE, MLP with SwiGLU, RMSNorm, MoE with shared experts, shared input/output embeddings, Sliding Window Attention, and Attention Sinks.

ParameterValue
Hidden size1280
Layers28
Attention heads20 (4 KV heads, GQA)
Experts48
Experts top K4
Intermediate size512 (SwiGLU)
Shared expert size1280
Max position embeddings8192
Sliding window size128
Vocabulary100,352
Parameters3,020,382,000
Active parameters598,171,440

Attention Pattern: 8 full-attention layers (indices 0, 3, 7, 11, 15, 19, 23, 27) and 20 sliding-window layers (window=128). All layers have learnable per-head attention sinks.

MuP Scaling: embedding_multiplier=12, residual_multiplier=0.26, logits_scaling=5, attention_multiplier=0.015625

Sink Mechanism: this model uses post-attention LSE scaling in the eager implementation:

sink_scale = sigmoid(lse - sinks)
attn_output = attn_output * sink_scale

Where lse is the log-sum-exp of attention scores, and sinks is a learnable per-head parameter. Flash Attention 3 and 4 implementations natively incorporate and compute the sink token under the hood. Note that SDPA does not express sink tokens or sink_scale, and so is not a supported backend.

Usage#

from transformers import AutoModelForCausalLM, AutoTokenizer
import torch

model = AutoModelForCausalLM.from_pretrained(
    "ibm-granite/granite-swash-3b-a600m",
    dtype=torch.bfloat16,
    device_map="auto",
    attn_implementation="flash_attention_3",  # or "flash_attention_4" or "eager", NOT "sdpa"
)
tokenizer = AutoTokenizer.from_pretrained("ibm-granite/granite-swash-3b-a600m")

inputs = tokenizer("The capital of France is", return_tensors="pt").to(model.device)
out = model.generate(**inputs, max_new_tokens=50, do_sample=False)
print(tokenizer.decode(out[0], skip_special_tokens=True))

Requires transformers version > 5.8.0

Evaluation Results#

BenchmarkMetricScore
WikiText-2word_perplexity16.13
MMLU (5-shot)accuracy0.5409
GSM8K CoT (5-shot)exact_match0.3958

Supported Features#

  • Flash Attention 3 and 4 with native LSE (recommended for speed)
  • Eager attention fallback (for debugging/CPU)
  • Sparse activation via mixture of experts
  • Sliding window KV cache (memory-efficient generation)
  • Per-layer causal mask dispatch (full vs sliding window)
  • Generation via model.generate()

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-SWASH-3B-a600M is not an exception in this regard. Even though this model is suited for multiple generative AI tasks, it has not undergone any safety alignment and 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-SWASH-3B-a600M model with ethical intentions and in a responsible way. To enhance safety in enterprise deployments, we recommend using Granite 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

9 files · 6.05 GBWeights 6.04 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 9 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md5.54 KB1eeb6881468cefcc8a7fdc0d5fa1de68ba6eb39dab9935272105827da6c1b460
config.json1.71 KB4fe1db27b5f72553fa0ee8e257e47ce27da78cae2b2c775e15bb1c3a9ffdbd99
generation_config.json235 B3a8dda640f9606cb82d3d2cfa8f6f97d271659b2e0031539109504a23472c406
model.safetensors6.04 GBb2a7c83d4ce0f22a218dd472c948e6e972f4c061d7751c8124df6facd4f3c719
model.sig9.69 KB874921362d190dbaf211d9203cc02338c3203b29f1a134cbd68c4dea16ba76d5
special_tokens_map.json579 Bc08676c49fd7969a3130f72be6d4bf34da66aa484a6e21dffe359893a1bd5f2e
tokenizer.json7.15 MBd44f7e5085ab278d3fc497b2d4fda2da84074c62d2980817229919b007e45b1a
tokenizer_config.json17.7 KBf7d756d106b80285c3f77c433e53a44bca3666111f14074a78ff0d80631b192e
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
568a94fcfe pinned now2026-11-15 03:23 UTC9 files · 6.05 GB

Use it

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

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
1eeb6881468cefcc8a7fdc0d5fa1de68ba6eb39dab9935272105827da6c1b460
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-swash-3b-a600mDate: 2026-11-15Commit: 568a94fSigned: 2DC28CC7B26A283B ✓
Upstream
ibm-granite/granite-swash-3b-a600m
Pinned commit
568a94fcfeff42a8cab9ee2ffea89fde12071282
Manifest
granite-swash-3b-a600m.json · .minisig
Manifest sha256
b126f379ecbf95cd6f9281fae776352e0725d5c0caab0b5c799c7a259b3ca1ed
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 03:23 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

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

No related models in this catalog.Nothing here lists this model as its parent, and it names no parent.
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download ibm-granite/granite-swash-3b-a600m
Open in Freeweights Studio

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

Signed manifest
minisign, key 2DC28CC7B26A283B. granite-swash-3b-a600m.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