alt.freeweights.granite / granite-4.0-1b-ONNX-web
From: onnx-community <huggingface.co/onnx-community>Newsgroups: alt.freeweights.graniteSubject:

granite-4.0-1b-ONNX-web

Date: 2026-11-15Commit: d65b1a4Signed: 2DC28CC7B26A283B ✓

Text generation model. Onnx weights, 12.9 GB in all. Published by onnx-community under Apache-2.0.

granite12.9GBgranite-4.0-1b-ONNX-webonnxpermissive
FactsParamsnot statedSize12.9 GBFormatsonnxTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get onnx-community/granite-4.0-1b-ONNX-web
# manifest sha256 4d3f6b0a963f… · 12.9 GB · 22 files
$ fw verify ./granite-4.0-1b-ONNX-web onnx-community/granite-4.0-1b-ONNX-web
From sourceHosted (signed)onnx-community/granite-4.0-1b-ONNX-webLast check: 2026-11-15 05:17 UTC

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

Quantized of granite-4.0-1b.

Works with

Runs with

Ranked by fit to this model (onnx), then by GitHub stars.

Convert with

Overview

Size
12.9 GB
Weights
1.25 GB (smallest of 4 ONNX variants)
Parameters
not stated
Formats
onnx
Task
text generation
License
Apache-2.0 (permissive)
Files
22, each with a sha256
Publisher
onnx-community
Added
2026-11-15
Section
alt.freeweights.granite
Lineage

Original release from the publisher.

Base model: ibm-granite/granite-4.0-1b

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 05:17 UTCpassed

Model card

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

Granite-4.0-1B#

Model Summary: Granite-4.0-1B is a lightweight instruct model finetuned from Granite-4.0-1B-Base using a combination of open source instruction datasets with permissive license and internally collected synthetic datasets. This model is developed using a diverse set of techniques including supervised finetuning, reinforcement learning, and model merging.

Supported Languages: English, German, Spanish, French, Japanese, Portuguese, Arabic, Czech, Italian, Korean, Dutch, and Chinese. Users may fine-tune Granite 4.0 Nano models to support languages beyond those included in this list.

Intended use: Granite 4.0 Nano instruct models feature strong instruction following capabilities bringing advanced AI capabilities within reach for on-device deployments and research use cases. Additionally, their compact size makes them well-suited for fine-tuning on specialized domains without requiring massive compute resources.

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:

If you haven't already, you can install the Transformers.js JavaScript library from NPM using:

npm i @huggingface/transformers

Example: Basic example

import { pipeline, TextStreamer } from "@huggingface/transformers";

// Create a text generation pipeline
const generator = await pipeline(
  "text-generation",
  "onnx-community/granite-4.0-1b-ONNX",
  { device: "webgpu", dtype: "q4" },
);

// Define the list of messages
const messages = [
  { role: "system", content: "You are a helpful assistant." },
  { role: "user", content: "What is the capital of France?" },
];

// Generate a response
const output = await generator(messages, {
    max_new_tokens: 512,
    do_sample: false,
    streamer: new TextStreamer(generator.tokenizer, { skip_prompt: true, skip_special_tokens: true }),
});
console.log(output[0].generated_text.at(-1).content);
// The capital of France is Paris.

Evaluation Results:

| Benchmarks | Metric | 350M Dense | H 350M Dense | 1B Dense | H 1B Dense

| General Tasks

| MMLU | 5-shot | 35.01 | 36.21 | 59.39 | 59.74

| MMLU-Pro | 5-shot, CoT | 12.13 | 14.38 | 34.02 | 32.86

| BBH | 3-shot, CoT | 33.07 | 33.28 | 60.37 | 59.68

| AGI EVAL | 0-shot, CoT | 26.22 | 29.61 | 49.22 | 52.44

| GPQA | 0-shot, CoT | 24.11 | 26.12 | 29.91 | 29.69

| Alignment Tasks

| IFEval | Instruct, Strict | 61.63 | 67.63 | 80.82 | 82.37

| IFEval | Prompt, Strict | 49.17 | 55.64 | 73.94 | 74.68

| IFEval | Average | 55.4 | 61.63 | 77.38 | 78.53

| Math Tasks

| GSM8K | 8-shot | 30.71 | 39.27 | 76.35 | 69.83

| GSM Symbolic | 8-shot | 26.76 | 33.7 | 72.3 | 65.72

| Minerva Math | 0-shot, CoT | 13.04 | 5.76 | 45.28 | 49.4

| DeepMind Math | 0-shot, CoT | 8.45 | 6.2 | 34 | 34.98

| Code Tasks

| HumanEval | pass@1 | 39 | 38 | 74 | 73

| HumanEval+ | pass@1 | 37 | 35 | 69 | 68

| MBPP | pass@1 | 48 | 49 | 65 | 69

| MBPP+ | pass@1 | 38 | 44 | 57 | 60

| CRUXEval-O | pass@1 | 23.75 | 25.5 | 33.13 | 36

| BigCodeBench | pass@1 | 11.14 | 11.23 | 30.18 | 29.12

| Tool Calling Tasks

| BFCL v3 | | 39.32 | 43.32 | 54.82 | 50.21

| Multilingual Tasks

| MULTIPLE | pass@1 | 15.99 | 14.31 | 32.24 | 36.11

| MMMLU | 5-shot | 28.23 | 27.95 | 45 | 49.43

| INCLUDE | 5-shot | 27.74 | 27.09 | 42.12 | 43.35

| MGSM | 8-shot | 14.72 | 16.16 | 37.84 | 27.52

| Safety

| SALAD-Bench | | 97.12 | 96.55 | 93.44 | 96.4

| AttaQ | | 82.53 | 81.76 | 85.26 | 82.85

Multilingual Benchmarks and thr 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.0-1B baseline is based on a decoder-only dense transformer architecture. Core components of this architecture are: GQA, MLP with SwiGLU, RMSNorm, and shared input/output embeddings.

| Model | 350M Dense | H 350M Dense | 1B Dense | H 1B Dense

| Embedding size | 1024 | 768 | 2048 | 1536

| Number of layers | 28 attention | 4 attention / 28 Mamba2 | 40 attention | 4 attention / 36 Mamba2

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

| Number of attention heads | 16 | 12 | 16 | 12

| Number of KV heads | 4 | 4 | 4 | 4

| Mamba2 state size | - | 128 | - | 128

| Number of Mamba2 heads | - | 48 | - | 48

| MLP / Shared expert hidden size | 2048 | 2048 | 4096 | 4096

| Num. Experts | - | - | - | -

| Num. active Experts | - | - | - | -

| Expert hidden size | - | - | - | -

| MLP activation | SwiGLU | SwiGLU | SwiGLU | SwiGLU

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

| Position embedding | RoPE | NoPE | RoPE | NoPE

| # Parameters | 350M | 340M | 1.6B | 1.5B

| # Active parameters | 350M | 340M | 1.6B | 1.5B

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.

Infrastructure: We trained the Granite 4.0 Nano 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.0 Nano Instruct 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 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

22 files · 12.9 GBWeights 1.25 GB (smallest of 4 ONNX variants). Sizes and sha256 from the signed manifest.
Show all 22 files with their sha256
FileSizesha256
.gitattributes2.00 KBc8f8fd266b9d23e891eb5afad16ad16ec70fe501828498b4b725ac65712ef816
README.md29.4 KBb4c8be1cce051681fa759874418b13aaf4d8ea34350da33198ea7209267172e1
chat_template.jinja6.42 KB9524df67b77a7b25a2dfee898f75b316a157eb9d855b51e32aeac79d7c8a83ce
config.json2.22 KB2ae0a65763d6c57d5d8d2b24c21517056863d891a231f437657ddfa68c1d8dae
generation_config.json147 B4a5e80bbcf4116a96b385e0af3ff94b03a7393d424a1201cb1f974e9ffc2e1da
merges.txt917 KBb6fe424e334903f7fb84d3a106d9730455f4744b9fe3c21ee136d97a00e72502
onnx/model.onnx287 KBf25bd658bbd9d99854ec09db4efe347e5d07a51470797bf50b47fe5f906840b7
onnx/model.onnx_data2.07 GB82f6aec86e6a6fdb59c5f7a6d0c63ab0daff29ef39f7995197287305830441ac
onnx/model.onnx_data_12.06 GB17ab0a84bfa813348de1bebfe281f72169a4fe1ec59c0ef612df656ed1633d68
onnx/model.onnx_data_22.07 GB123b4a480b2b013188471784ec831cb26402e54b1defd56c2dac48714ff5d47d
onnx/model.onnx_data_3386 MB32c49c1ec9dbdb0ec9183c7b7ee10fb875e6ca6a0611cbc9808561ed33107ef2
onnx/model_fp16.onnx289 KBc1729feb1c7f060c719ffb611890451fbe73a3c78b833e92942dabfbe7e43806
onnx/model_fp16.onnx_data2.10 GBc389f10ce29766dda4abfa33d007e81fad7b403d9c6703c343d2eb750e8945b6
onnx/model_fp16.onnx_data_11.20 GB52cd468a1427676e8e692e2ef2a9f131fa695485d79789878d7b8aa2ea6624ca
onnx/model_q4.onnx390 KB4e125c4855f430c70581f457d6d5d21803dca366b628cf8931b9708c480e0523
onnx/model_q4.onnx_data1.78 GB3d32a0c75d82304bacf353b2c531e2dbb958e51286cfb426123e6d4918a9a92c
onnx/model_q4f16.onnx391 KB97ad57bbe8353a17bb4d0051d7be193aa89d6b52d96d3ac80b1a553c426e668f
onnx/model_q4f16.onnx_data1.25 GB53a0dad2b4a98ec763e165aa2721d74e55714ab23803c98f25fd16ac2e0cdaa0
special_tokens_map.json579 Bc08676c49fd7969a3130f72be6d4bf34da66aa484a6e21dffe359893a1bd5f2e
tokenizer.json4.13 MBea076a8bccab905484daa97acc7021a915fe30c1ad48fa85bd4b82a5d1ceb797
tokenizer_config.json24.7 KB36d15e9ab9ed50ac434fcfd2620b829615c80d745f36a98f2454620a3fc395c5
vocab.json1.61 MB8af71076de8b0b626eed0f4c984faf0a7c062479164b2a31308a948524d4f69c
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
d65b1a480b pinned now2026-11-15 05:17 UTC22 files · 12.9 GB

Use it

$ fw get onnx-community/granite-4.0-1b-ONNX-web
# manifest sha256 4d3f6b0a963f… · 12.9 GB · 22 files
$ fw verify ./granite-4.0-1b-ONNX-web onnx-community/granite-4.0-1b-ONNX-web
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/onnx-community/granite-4.0-1b-ONNX-web.json --dir ./granite-4.0-1b-ONNX-web $ python3 fw.py verify ./granite-4.0-1b-ONNX-web ./onnx-community__granite-4.0-1b-ONNX-web.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download onnx-community/granite-4.0-1b-ONNX-web --revision d65b1a480bfab70bc828208d7903cf9de4bdfaa1 --local-dir ./granite-4.0-1b-ONNX-web

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
b4c8be1cce051681fa759874418b13aaf4d8ea34350da33198ea7209267172e1
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: onnx-community <huggingface.co/onnx-community>Newsgroups: alt.freeweights.graniteSubject: granite-4.0-1b-ONNX-webDate: 2026-11-15Commit: d65b1a4Signed: 2DC28CC7B26A283B ✓
Upstream
onnx-community/granite-4.0-1b-ONNX-web
Pinned commit
d65b1a480bfab70bc828208d7903cf9de4bdfaa1
Manifest
granite-4.0-1b-ONNX-web.json · .minisig
Manifest sha256
4d3f6b0a963f0dfccb25d7f3a504757c39dbb40436f6cc6303ba6ff8c4208064
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 05:17 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/onnx-community/granite-4.0-1b-ONNX-web.json $ curl -O https://freeweights.allternit.com/manifests/onnx-community/granite-4.0-1b-ONNX-web.json.minisig $ minisign -Vm granite-4.0-1b-ONNX-web.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-4.0-1b · this model is a quantization of it

No model in the catalog names this one as its parent.

Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download onnx-community/granite-4.0-1b-ONNX-web
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.0-1b-ONNX-web.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