Instructions to use Axion1-0/Axion-1.0-35B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Axion1-0/Axion-1.0-35B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Axion1-0/Axion-1.0-35B") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("Axion1-0/Axion-1.0-35B") model = AutoModelForMultimodalLM.from_pretrained("Axion1-0/Axion-1.0-35B", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Axion1-0/Axion-1.0-35B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Axion1-0/Axion-1.0-35B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Axion1-0/Axion-1.0-35B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Axion1-0/Axion-1.0-35B
- SGLang
How to use Axion1-0/Axion-1.0-35B with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "Axion1-0/Axion-1.0-35B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Axion1-0/Axion-1.0-35B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "Axion1-0/Axion-1.0-35B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Axion1-0/Axion-1.0-35B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Axion1-0/Axion-1.0-35B with Docker Model Runner:
docker model run hf.co/Axion1-0/Axion-1.0-35B
Axion 1.0-35B — Reproduction
Paper · Project · Code · Training Data
This repository provides a reproduction checkpoint of Axion 1.0-35B, following the recipe described in Axion 1.0: Open Agent Foundation Models, Simplified. The model is designed for scientific reasoning, information seeking, and tool-augmented problem solving.
Model Overview
| Property | Details |
|---|---|
| Model | Axion 1.0-35B |
| Release | Reproduction checkpoint |
| Architecture | Mixture of Experts (MoE) |
| Parameters | Approximately 35B total, 3B active |
| Weight precision | BF16 |
The training recipe combines approximately 18K SFT examples with three stages:
- Learn to reason: supervised fine-tuning on challenging, self-contained scientific problems constructed with model-aware feedback.
- Learn to investigate: supervised fine-tuning on verifiable tasks requiring external information and tool use.
- Learn through interaction: reinforcement learning over agent trajectories to refine reasoning and interaction with tools.
Performance
The table compares paper-reported results with the results of the reproduction checkpoint released in this repository. All scores are percentages; higher is better.
| Model | HLE | BMB | SEAL‑0 | HiPhO | FS Olympiad | FS Research |
|---|---|---|---|---|---|---|
| Agents-A1 | 47.6 | — | 56.4 | 46.4 | 79.0 | 40.0 |
| Kimi-K2.6 | 54.0 | — | 50.5 | 41.1 | 73.0 | 17.9 |
| DeepSeek-V4-Pro (Preview) | 48.2 | — | 55.0 | 38.7 | 76.0 | 13.3 |
| Apodex 1.1 (ReAct) | 53.2 | 23.5 | — | — | — | 55.0 |
| Apodex 1.1 (Agent Team) | 56.1 | 35.3 | — | — | — | 63.3 |
| GPT-5.5 | 52.2 | — | 42.3 | 43.3 | 78.0 | 26.7 |
| GPT-5.6 Sol | — | 47.1 | 53.2 | 42.9 | 79.0 | 63.3 |
| GPT-6 Astra | 57.2 | — | — | — | — | — |
| Muse-Spark-1.0 | 58.0 | — | — | — | — | 38.0 |
| Gemini 3.1 Pro | 51.4 | 35.3 | 53.2 | 38.5 | 85.0 | 26.7 |
| Claude Opus 5 | 63.6 | 49.4 | — | — | — | — |
| Claude Fable 5 | 63.8 | 46.1 | — | — | — | — |
| Axion 1.0-35B (Paper) | 52.2 | 35.3 | 62.2 | 45.7 | 86.0 | 56.7 |
| Axion 1.0-35B (Reproduction) | 52.8 | 35.3 | 60.4 | 45.9 | 85.0 | 55.0 |
HLE denotes the full Humanity's Last Exam benchmark; BMB uses the human-difficult BioMysteryBench subset. FS denotes FrontierScience. A dash indicates an unreported result. Bold highlights the reproduction checkpoint released in this repository.
Usage
Following the repository's inference guide, serve the released checkpoint with vLLM:
vllm serve Axion1-0/Axion-1.0-35B \
--served-model-name axion-35b \
--host 127.0.0.1 --port 8000 \
--tensor-parallel-size 8 --dtype bfloat16 \
--max-model-len 131072 \
--reasoning-parser qwen3 \
--enable-auto-tool-choice --tool-call-parser qwen3_coder
This example uses eight GPUs. Adjust tensor parallelism and context capacity to fit your GPU memory.
Call the OpenAI-compatible endpoint:
curl --fail-with-body http://127.0.0.1:8000/v1/chat/completions \
-H 'Content-Type: application/json' \
-d '{
"model": "axion-35b",
"messages": [
{"role": "user", "content": "What is 2 + 3?"}
],
"max_tokens": 1024
}'
Tool-using agent evaluation additionally requires a harness that executes tool calls. See the inference guide for details.
License
This model is released under the Apache License 2.0. See LICENSE for details.
Citation
@misc{jia2026axion,
title = {Axion 1.0: Open Agent Foundation Models, Simplified},
author = {Yuqi Jia and Yunjie Tian and Jiayu Zheng and Yijun Liang and Jingchen Sun and Mengyu Zhao and Di Fu},
year = {2026},
eprint = {2611.03233},
archivePrefix = {arXiv},
primaryClass = {cs.AI},
url = {https://arxiv.org/abs/2611.03233}
}
- Downloads last month
- -