alt.freeweights.text / Apertus-v1.1-4B-Instruct-QAD-INT4-ONNX
From: onnx-community <huggingface.co/onnx-community>Newsgroups: alt.freeweights.textSubject:

Apertus-v1.1-4B-Instruct-QAD-INT4-ONNX

Date: 2026-11-15Commit: 87924acSigned: 2DC28CC7B26A283B ✓

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

text6.51GBApertus-v1.1-4B-Instruct-QAD-INT4-ONNXonnxpermissive
FactsParamsnot statedSize6.51 GBFormatsonnxTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get onnx-community/Apertus-v1.1-4B-Instruct-QAD-INT4-ONNX
# manifest sha256 8ea7a55168a3… · 6.51 GB · 15 files
$ fw verify ./Apertus-v1.1-4B-Instruct-QAD-INT4-ONNX onnx-community/Apertus-v1.1-4B-Instruct-QAD-INT4-ONNX
From sourceHosted (signed)onnx-community/Apertus-v1.1-4B-Instruct-QAD-INT4-ONNXLast check: 2026-11-15 05:14 UTC

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

Quantized of Apertus-v1.1-4B-Instruct.

Overview

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

Original release from the publisher.

Base model: swiss-ai/Apertus-v1.1-4B-Instruct

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:14 UTCpassed

Model card

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

This is a Transformers.js-ready ONNX conversion of the original Hugging Face model swiss-ai/Apertus-v1.1-4B-Instruct-MLX-INT4. The original model card content follows below.

Apertus-v1.1-4B-Instruct-MLX-INT4#

Image: image/jpeg

Table of Contents#

  1. Model Summary
  2. How to use
  3. Evaluation
  4. Training
  5. Limitations
  6. Legal Aspects

Model Summary#

Apertus-v1.1 is a series of highly efficient, 0.5-4B billion parameter language models designed to extend the fully-open and compliant Apertus ecosystem to highly constrained hardware environments.

The models rely on a dense transformer architecture featuring grouped-query attention and xIELU activations.

Instead of standard pre-training, Apertus-v1.1 models were created using pre-training distillation (PD) from the Apertus-8B-2509 teacher model. They were trained on 1.7T tokens from Phase 5 of the original Apertus data pipeline—the highest quality tier of filtered documents, code, and instruction samples without introducing any new data sources or licenses. Post-training included supervised fine-tuning (SFT) and alignment similar to that of the original Apertus.

Key features#
  • Fully open model: open weights + open data + full training details including all data and training recipes
  • Massively Multilingual: 1811 natively supported languages
  • Compliant Apertus is trained while respecting opt-out consent of data owners (even retrospectively), and avoiding memorization of training data
  • Cost-Effective Distillation: Trained using a 90%/10% mix of KL-Divergence and label cross-entropy derived from the 8B teacher model, drastically reducing the required compute.
  • Hardware Optimized: Specifically optimized for memory-limited scenarios like mobile and edge deployments, with quantized checkpoints available for Apple devices (MLX) in INT2, INT3, INT4, and INT6 formats.
Quantized Checkpoints#

This model family includes base pre-trained models and instruction-tuned models.

For instruction-tuned models, we additionally provide high-quality quantization-aware distillation (QAD) checkpoints, obtained via the official qat-suite. We provide FP8 and NVFP4A16 checkpoints with vLLM inference in mind and INT3-6 checkpoints optimized for mobile usage on Apple devices.

The full list of released checkpoints is shown below:

BF16BF16FP8NVFP4A16INT3INT4INT6
BaseInstructInstructInstructInstructInstructInstruct
0.5B✅✅✅✅✅✅✅
1.5B✅✅✅✅✅✅✅
4B✅✅✅✅✅✅✅
8B✅✅✅✅❌✅❌

For more details refer to the original Apertus technical report and the new Apertus distillation technical report.


How to use#

The modeling code for this Apertus MLX quantization is available via mlx-lm.

pip install mlx-lm
from mlx_lm import load, generate

model_name = "swiss-ai/Apertus-v1.1-4B-Instruct-MLX-INT4"

# load the model and tokenizer
model, tokenizer = load(model_name)

# prepare the model input
prompt = "Give me a brief explanation of gravity in simple terms."
messages_think = [
    {"role": "user", "content": prompt}
]

text = tokenizer.apply_chat_template(
    messages_think,
    tokenize=False,
    add_generation_prompt=True,
)

# Generate the output
response = generate(model, tokenizer, prompt=text, verbose=True, max_tokens=32768)

Tip. We recommend setting temperature=0.8 and top_p=0.9 in the sampling parameters.


Evaluation#

Post-Training Multilingual Evaluation: Performance of the Apertus-v1.1 models across multilingual benchmarks compared to models in similar size classes.

ModelAverageMMLUTruthfulQAArcIFLogiQA
Apertus-v1.1-0.5B-Instruct0.3180.2580.4610.2250.3280.279
Apertus-v1.1-1.5B-Instruct0.3820.3770.4510.2660.4340.276
Apertus-v1.1-4B-Instruct0.4730.5040.5060.3320.5500.296
Apertus-8B-Instruct-25090.5340.5530.5240.3680.6890.290
EuroLLM-1.7B-Instruct0.2910.2600.4330.2500.2220.269
EuroLLM-9B-Instruct0.4800.5200.4650.3220.6130.345
gemma-3-270m-it0.2890.2420.4650.2150.2360.205
gemma-3-1b-it0.4060.4090.4570.2500.5090.379
gemma-3-4b-it0.4970.5470.4920.3160.6350.411
SmolLM2-1.7B-Instruct0.3480.3650.4520.2130.3640.246
SmolLM3-3B0.4790.5070.5000.2700.6370.365
Qwen3-0.6B0.4010.3770.4640.2220.5410.353
Qwen3-1.7B0.4570.4770.4900.2510.6110.414
Qwen3-4B0.5210.5810.4970.2740.7330.500

While Apertus-v1.1 demonstrates competitive baseline multilingual chatting performance, it may lack in specific capabilities such as advanced math and complex instruction following.


Training#

Model Architecture#

Apertus-v1.1-4B

  • Architecture Type: Dense transformer decoder with grouped-query attention.
  • Layers: 24.
  • Model Dimension: 3072.
  • MLP Dimension: 16384.
  • Heads (Q/KV): 24/8.
  • Tied Embeddings: No.
  • Activation Function: xIELU.
  • Compute / Storage Size: 3.8B/4.6B parameters.
Pre-Training Details#
  • Training Tokens: 1.7T.
  • Optimizer: AdEMAMix with WSD schedule and weight decay.
  • Sequence Handling: Documents packed into chunks of 4096 tokens with cross-document attention masked.
  • Total Compute: 2.0E22 FLOPs.
Software & hardware#
Open resources#

All elements used in the training process are made openly available


Limitations#

Apertus can produce text on a variety of topics, but the generated content may not always be factually accurate, logically consistent, or free from biases present in the training data. These models should be used as assistive tools rather than definitive sources of information. Users should always verify important information and critically evaluate any generated content.


The Apertus-v1.1 fully reuses the data of the original Apertus release, meaning the original data summary is representative of this release as well.

EU AI Act Transparency Documentation and Code of Practice#

For removal requests of personally identifiable information (PII) or of copyrighted content, please contact the respective dataset owners or us directly

  • llm-privacy-requests@swiss-ai.org
  • llm-copyright-requests@swiss-ai.org
Output Filter for PII#
  • Currently no output filter is provided.
  • Please check this site regularly for an output filter that can be used on top of the Apertus LLM. The filter reflects data protection deletion requests which have been addressed to us as the developer of the Apertus LLM. It allows you to remove Personal Data contained in the model output. We strongly advise downloading and applying this output filter from this site every six months.

Contact#

To contact us, please send an email to llm-requests@swiss-ai.org

Citation#

@misc{panferov2026apertusllmfamilyexpansion,
      title={Apertus LLM Family Expansion via Distillation and Quantization}, 
      author={Andrei Panferov and Davit Melikidze and Martin Jaggi and Dan Alistarh},
      year={2026},
      eprint={2605.29128},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={[https://arxiv.org/abs/2605.29128](https://arxiv.org/abs/2605.29128)}, 
}

Files

15 files · 6.51 GBWeights 1.06 GB (smallest of 2 ONNX variants). Sizes and sha256 from the signed manifest.
Hide all 15 files with their sha256
FileSizesha256
.gitattributes1.95 KBb8fe304d6eb1a60aa2af1e3463ddc8d6b3415630bce4d0cadf54716ebc8119ab
README.md10.8 KB6d89ffffbe8807803471caee117a367ecd0d1eafd656ac397ed793d74679e3be
chat_template.jinja5.25 KB4afab8361a4bd0c2994404e0b0851dbaad461a06e56bdfdb635aae3977473c19
config.json1.45 KB432f3f29e28a85ec7ef0d51372b526f8e3c4c905a45395bf24f74f2972d539b3
generation_config.json143 Bc37b388bb889d8d7caeacfad108e11aac8b6cc02c0c4d854ab43b4c68d97320e
onnx/model_q4.onnx610 KB40a6cf0b4aeada2abf9a837a96dc3c5b4f94bd08b4951f1ebb2d81953d585fd1
onnx/model_q4.onnx_data1.61 GBd714a098d207a37829da6d2b7e892a346dc3d8d42cd1b7afff34fbaedde92b05
onnx/model_q4.onnx_data_11.07 GBca5e0a87dce74c7ac43816b63f563914a529fef12c701e11ed594c682ed75f1f
onnx/model_q4.onnx_data_21.07 GBeabd8115f4f31fadc6697277761ef7dc34028b21f4a443a38c8b1f5eab33f101
onnx/model_q4f16.onnx1.29 MB53c49a8777779cf19a0ef717af08f5f21fbdc9ceb9f2d6327a49ed7c33bcdc6b
onnx/model_q4f16.onnx_data1.06 GBcc658afc41406219be11da978710138338a038f05f7492a1fd24212f0942c4d1
onnx/model_q4f16.onnx_data_11.07 GB91ce2c6b004da1827301854e9ce102e48cc64c51d3b54c4b53d06391d38f460f
onnx/model_q4f16.onnx_data_2612 MB8b4dc3975f81d6ac21ed4a4004534a517f0d35a43fa8dbd36d1fbf2bcae37a6a
tokenizer.json17.1 MBbe12f4375d655cc740864e3a9041bcddd8477942f209d9e7f27f6c8767162638
tokenizer_config.json5.74 KB03671df6e13fe176166f43661f4316e0cc97defe31c1267111a8fde69b975b8f
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
87924ac829 pinned now2026-11-15 05:14 UTC15 files · 6.51 GB

Use it

$ fw get onnx-community/Apertus-v1.1-4B-Instruct-QAD-INT4-ONNX
# manifest sha256 8ea7a55168a3… · 6.51 GB · 15 files
$ fw verify ./Apertus-v1.1-4B-Instruct-QAD-INT4-ONNX onnx-community/Apertus-v1.1-4B-Instruct-QAD-INT4-ONNX
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/onnx-community/Apertus-v1.1-4B-Instruct-QAD-INT4-ONNX.json --dir ./Apertus-v1.1-4B-Instruct-QAD-INT4-ONNX $ python3 fw.py verify ./Apertus-v1.1-4B-Instruct-QAD-INT4-ONNX ./onnx-community__Apertus-v1.1-4B-Instruct-QAD-INT4-ONNX.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download onnx-community/Apertus-v1.1-4B-Instruct-QAD-INT4-ONNX --revision 87924ac829e8a9f1fe9a8e29de6277868e7fe2dc --local-dir ./Apertus-v1.1-4B-Instruct-QAD-INT4-ONNX

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
6d89ffffbe8807803471caee117a367ecd0d1eafd656ac397ed793d74679e3be
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.textSubject: Apertus-v1.1-4B-Instruct-QAD-INT4-ONNXDate: 2026-11-15Commit: 87924acSigned: 2DC28CC7B26A283B ✓
Upstream
onnx-community/Apertus-v1.1-4B-Instruct-QAD-INT4-ONNX
Pinned commit
87924ac829e8a9f1fe9a8e29de6277868e7fe2dc
Manifest
Apertus-v1.1-4B-Instruct-QAD-INT4-ONNX.json · .minisig
Manifest sha256
8ea7a55168a3b8b7c855130ac0d7c7ede45c7f26fb0355a311609ea2082e007e
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 05:14 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/onnx-community/Apertus-v1.1-4B-Instruct-QAD-INT4-ONNX.json $ curl -O https://freeweights.allternit.com/manifests/onnx-community/Apertus-v1.1-4B-Instruct-QAD-INT4-ONNX.json.minisig $ minisign -Vm Apertus-v1.1-4B-Instruct-QAD-INT4-ONNX.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

swiss-ai/Apertus-v1.1-4B-Instruct · 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/Apertus-v1.1-4B-Instruct-QAD-INT4-ONNX
Open in Freeweights Studio

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

Signed manifest
minisign, key 2DC28CC7B26A283B. Apertus-v1.1-4B-Instruct-QAD-INT4-ONNX.json. Provenance. Takedown history: none.
From: laion <huggingface.co/laion>Subject: a2-rl-e2egit_large-50-32B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_e2egit-large-15-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_e2egit-v2-10-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_pymethods2test-large-80-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_unitsyn-python-large-10-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_mix_h2_language_proportional-65-8B