Apertus is a 70B and 8B parameter language model designed to push the boundaries of fully-open multilingual and transparent models.
The model supports over 1000 languages and long context, it uses only fully compliant and open training data, and achieves comparable performance to models trained behind closed doors.
The model is a decoder-only transformer, pretrained on 15T tokens with a staged curriculum of web, code and math data. The model uses a new xIELU activation function and is trained with the AdEMAMix optimizer. Post-training included supervised fine-tuning and alignment via QRPO.
Key features
Fully open model
: open weights + full training details including public data mixture and training configs
Massively Multilingual
: 1811 natively supported languages
Compliant
Apertus solely on openly available data sources, respecting opt-out consent of data owners (even retrospectivey), and avoiding memorization of training data
For more details refer to our technical report
How to use
The modeling code for Apertus is available in transformers
v4.56.0
, 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-70B-Instruct-2509"
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").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))
We recommend setting
temperature=0.6
and
top_p=0.95
in the sampling parameters.
Long context processing
Apertus by default supports a context length up to 65,536 tokens.
Agentic Usage
Apertus supports tool use
vLLM and SGLang
You can use vLLM and SGLang to deploy the model in an API compatible with OpenAI format.
Evaluation
In this section, we report the evaluation results of Apertus model.
The training intermediate checkpoints are available on the different branches of this same repository
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.
Legal Aspects
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
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.
@misc{swissai2025apertus,
title={{Apertus: Democratizing Open and Compliant LLMs for Global Language Environments}},
author={Apertus Team},
year={2025},
howpublished={\url{https://huggingface.co/swiss-ai/Apertus-70B-Instruct-2509}}
}
Runs of swiss-ai test-model on huggingface.co
0
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs
More Information About test-model huggingface.co Model
test-model huggingface.co is an AI model on huggingface.co that provides test-model's model effect (), which can be used instantly with this swiss-ai test-model model. huggingface.co supports a free trial of the test-model model, and also provides paid use of the test-model. Support call test-model model through api, including Node.js, Python, http.
test-model huggingface.co is an online trial and call api platform, which integrates test-model's modeling effects, including api services, and provides a free online trial of test-model, you can try test-model online for free by clicking the link below.
swiss-ai test-model online free url in huggingface.co:
test-model is an open source model from GitHub that offers a free installation service, and any user can find test-model on GitHub to install. At the same time, huggingface.co provides the effect of test-model install, users can directly use test-model installed effect in huggingface.co for debugging and trial. It also supports api for free installation.