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

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

Date: 2026-11-15Commit: 1265970Signed: 2DC28CC7B26A283B ✓

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

text21.8GBApertus-v1.1-4B-Instruct-ONNXonnxpermissive
FactsParamsnot statedSize21.8 GBFormatsonnxTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get onnx-community/Apertus-v1.1-4B-Instruct-ONNX
# manifest sha256 930beebce965… · 21.8 GB · 31 files
$ fw verify ./Apertus-v1.1-4B-Instruct-ONNX onnx-community/Apertus-v1.1-4B-Instruct-ONNX
From sourceHosted (signed)onnx-community/Apertus-v1.1-4B-Instruct-ONNXLast check: 2026-11-15 05:28 UTC

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

Quantized of Apertus-v1.1-4B.

Overview

Size
21.8 GB
Weights
1.06 GB (smallest of 3 ONNX variants)
Parameters
not stated
Formats
onnx
Task
text generation
License
Apache-2.0 (permissive)
Files
31, 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

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

Model card

From the publisher at commit 1265970. 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. The original model card content follows below.

Apertus-v1.1-4B-Instruct#

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 Apertus is available in transformers v4.56.0 and later, so make sure to upgrade your transformers version. You can also load the model with the latest vLLM which uses transformers as a backend.

pip install -U transformers
from transformers import AutoModelForCausalLM, AutoTokenizer

model_name = "swiss-ai/Apertus-v1.1-4B-Instruct"
device = "cuda"  # for GPU usage or "cpu" for CPU usage

# load the tokenizer and the model
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(
    model_name,
).to(device)

# 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,
)
model_inputs = tokenizer([text], return_tensors="pt", add_special_tokens=False).to(model.device)

# Generate the output
generated_ids = model.generate(**model_inputs, max_new_tokens=32768)

# Get and decode the output
output_ids = generated_ids[0][len(model_inputs.input_ids[0]) :]
print(tokenizer.decode(output_ids, skip_special_tokens=True))

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

31 files · 21.8 GBWeights 1.06 GB (smallest of 3 ONNX variants). Sizes and sha256 from the signed manifest.
Show all 31 files with their sha256
FileSizesha256
.gitattributes2.83 KB9d93fcb222b0bd57bbfe97488a1ecc1b4de3386db6db45ba37834d77b8b35b87
README.md11.4 KB191e22b9457d746adca6221db9dd0bfb81e792cf4d7a4e3f6ab743757041bfc7
chat_template.jinja5.25 KB4afab8361a4bd0c2994404e0b0851dbaad461a06e56bdfdb635aae3977473c19
config.json1.07 KB37d308cc9738a167704b9cfc6e651f07abbd72d54a99964ccb3f7c6c9564e38c
generation_config.json144 Bb56703621a75f2c8ca9586b612f76b65dbf7a4eb832c869a1964d880af3a5dc5
onnx/model.onnx1.28 MB3efad521156886b5fed823aded96e03070209774692402ebfea4bda48b837f73
onnx/model.onnx_data1.61 GB7de7ffcc1d9548d4d28f62756f8445813df57d1e18f48c868cd0d7caacac8d03
onnx/model.onnx_data_11.07 GB7fe15b465e67b80c459f22e3f77486e61ba703d441256707cbc9c66dd0f27b02
onnx/model.onnx_data_101.01 GB4dfab6d0ae478b3645aa4a3fdfa20214b57cac6db56e5bb7d960eafc7f113f1d
onnx/model.onnx_data_111.01 GB51f45124e5d0f628dfe2e976f67a7c5d0bc8e83def8d7c3a7aa877e6e87504a9
onnx/model.onnx_data_12906 MBf556ab0ad264b5b8930c7b06864f667f9260ae85ed9c20347df8d44ccd53f8c7
onnx/model.onnx_data_131.61 GBaefec0996b27a4f584e956b947a69ad686da48d76ab81a178484e1ec9be6dcdc
onnx/model.onnx_data_21.04 GB45817f0d89ab617d70937859adb9cf8bd316949cbaf30d3ecd53f76564c49f05
onnx/model.onnx_data_31.01 GB882893cb90804465035e8395b05acaf90e4218669dc57567f4101460d4053de8
onnx/model.onnx_data_41.01 GB7cd2235aa00cf20bc45f9f9cc6bd17df4ac2c0534b4a352cf41ad01e40214e37
onnx/model.onnx_data_51.01 GBfd4fa1a8b20079aea4c0a2a9b49f6ee2d90361a19a667cb040deafdae3518c32
onnx/model.onnx_data_61.01 GB2dde58a2a20a4b0866cda380954f00a20322c2c78ca0916625768b9c31338aa1
onnx/model.onnx_data_71.01 GBf8593c5d25f48845a1fa7594264790fc6c516a26a1386560925c20b11c6af9cc
onnx/model.onnx_data_81.01 GBfea07b6ce2a878192a340ac61c94fa647775829f8a48f182805223058266e5e5
onnx/model.onnx_data_91.01 GB019eadf694bb5d0d94b340da0b92d0fc51b5714936b13afd8214950ac8830fe9
onnx/model_q4.onnx610 KBfdc88adeb1227dccbbaffc428c14d014de7c92c3c7b748df10bcd91d19245c35
onnx/model_q4.onnx_data1.61 GB7de7ffcc1d9548d4d28f62756f8445813df57d1e18f48c868cd0d7caacac8d03
onnx/model_q4.onnx_data_11.07 GB8e077317a9ab5ae1538e608e79352ff672b5149d4eb170dbc20ac869c98d770a
onnx/model_q4.onnx_data_21.07 GB081e7655687f5f599b0dc4262dbe51f2b137948b5ef6d78a12b2c89be9bab815
onnx/model_q4f16.onnx1.29 MB85ebfe48e69d309b876ad23f6beb4b098dd48cdbabcf7d27f4a6bcbeab7c3453
onnx/model_q4f16.onnx_data1.06 GB0a25c70ded32155c9b5d5b8e6629f395ce1eb5755471329104cfe82b84f7de87
onnx/model_q4f16.onnx_data_11.07 GB79930a1be5118cfe95974a571ec4266398ab951dd69b3d11ab800408f527de08
onnx/model_q4f16.onnx_data_2612 MBf1602b0fe1edd03dd017e518f3d0b67a1ff221e52de3bb3498b7270a44ff29d5
special_tokens_map.json560 B9f69883bd70fc5d8b55822799837a216d3ac4fb565e05256a0d4f9850404bbc5
tokenizer.json17.1 MBbe12f4375d655cc740864e3a9041bcddd8477942f209d9e7f27f6c8767162638
tokenizer_config.json183 KB3e9eb3cf9f39c9ca45e4fedd363179b89bb8960d826eb12e1072b686b8bac061
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
1265970db8 pinned now2026-11-15 05:28 UTC31 files · 21.8 GB

Use it

$ fw get onnx-community/Apertus-v1.1-4B-Instruct-ONNX
# manifest sha256 930beebce965… · 21.8 GB · 31 files
$ fw verify ./Apertus-v1.1-4B-Instruct-ONNX onnx-community/Apertus-v1.1-4B-Instruct-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-ONNX.json --dir ./Apertus-v1.1-4B-Instruct-ONNX $ python3 fw.py verify ./Apertus-v1.1-4B-Instruct-ONNX ./onnx-community__Apertus-v1.1-4B-Instruct-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-ONNX --revision 1265970db8c0409c1245d970a263a461fede8ff0 --local-dir ./Apertus-v1.1-4B-Instruct-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
191e22b9457d746adca6221db9dd0bfb81e792cf4d7a4e3f6ab743757041bfc7
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-ONNXDate: 2026-11-15Commit: 1265970Signed: 2DC28CC7B26A283B ✓
Upstream
onnx-community/Apertus-v1.1-4B-Instruct-ONNX
Pinned commit
1265970db8c0409c1245d970a263a461fede8ff0
Manifest
Apertus-v1.1-4B-Instruct-ONNX.json · .minisig
Manifest sha256
930beebce96554ff1233d7eb4d1b77fac07c75f01f6c89ec36ddf3f3dfb0be35
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 05:28 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-ONNX.json $ curl -O https://freeweights.allternit.com/manifests/onnx-community/Apertus-v1.1-4B-Instruct-ONNX.json.minisig $ minisign -Vm Apertus-v1.1-4B-Instruct-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 · 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-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-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