From: BAAI <huggingface.co/BAAI>Newsgroups: alt.freeweights.textSubject:

AREX-2

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

Image text to text model with 27.4B parameters. Safetensors weights, 54.7 GB in all. Published by BAAI under Apache-2.0.

27.4B params54.7GBAREX-2safetensorspermissive
FactsParams27.4BSize54.7 GBFormatssafetensorsTaskimage text to textLicenseApache-2.0From sourcepermissive
$ fw get BAAI/AREX-2
# manifest sha256 d38a2e4c86ea… · 54.7 GB · 22 files
$ fw verify ./AREX-2 BAAI/AREX-2
From sourceHosted (signed)BAAI/AREX-2Last check: 2026-11-15 03:22 UTC

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

Fine-tune of Qwen3.8-27B.

Works with

Overview

Size
54.7 GB
Weights
54.7 GB (safetensors)
Parameters
27.4B
Formats
safetensors
Task
image text to text
License
Apache-2.0 (permissive)
Files
22, each with a sha256
Publisher
BAAI
Added
2026-11-15
Section
alt.freeweights.text
Lineage

Original release from the publisher.

Base model: Qwen/Qwen3.8-27B

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 03:22 UTCpassed

Model card

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

Image: AREX AREX-2: Advancing Self-Improving Agents through Long-Horizon Reflective Tasks

Paper Homepage

Introduction#

AREX-2 is a 27B-parameter long-horizon agent model from the Beijing Academy of Artificial Intelligence (BAAI). It learns to improve a solution over multiple test-time rounds: propose, measure, reflect, and revise.

AREX-2 is trained on machine-learning and algorithmic-programming tasks with verifiable feedback, together with the existing AREX deep-research data. The learned self-improvement behavior transfers to deep research without adding new search trajectories.

  • Architecture: Dense Qwen3.8-compatible multimodal model
  • Parameters: 27B
  • Context length: 262,144 tokens

Key features#

  • Long-horizon self-improvement: turns extra test-time rounds into useful solution refinement.
  • Feedback-driven reflection: reads scores, logs, errors, and timings to decide what to change next.
  • Cross-domain performance: training on coding and machine-learning tasks also improves the model's deep-research performance.
  • Long-horizon reasoning: sustains productive iteration as the task budget grows.

Evaluation#

AREX-2 is evaluated on algorithmic programming, machine-learning engineering, deep research, and general agentic reasoning. Results follow the protocols reported in the AREX-2 paper.

Coding and machine-learning engineering#

| Model | Params | Frontier-CS | MLE-Lite

| Closed-weight models

| GPT-5.6 Sol | - | 76.4 | 72.7

| Claude Opus 4.8 | - | 74.5 | 63.6

| GPT-5.5 | - | 72.1 | 68.2

| Gemini-3.1-Pro | - | 68.9 | -

| Qwen3.7-Max | - | 61.9 | -

| Open-weight models

| Kimi-K3 | 2.8T | - | 72.7

| Naive-N0.5-Flash | 309B | - | 73.7

| DeepSeek-V4-Pro | 1.6T | 44.7 | 54.5

| DeepSeek-V4-Flash | 284B | 39.1 | 51.5

| Kimi-K2.7-Code | 1T | 54.7 | -

| GLM-5.3-Flash | 320B | 50.4 | -

| Kimi-K2.6 | 1T | 46.9 | 66.7

| Frontis-MA1-35B | 35B | - | 71.2

| BigBang-V1 | 35B | - | 59.1

| Qwen3.6-35B-A3B | 35B | 23.4 | 39.4

| AREX-2 | 27B | 70.7 | 81.8

Frontier-CS is the 188-task Agent Track. MLE-Lite reports Any Medal averaged over three seeds.

General agentic reasoning and deep research#

| Model | Params | BrowseComp | HLE | GAIA | DeepSearchQA

| Frontier models

| GPT-5.6 Sol | - | 90.4 | 58.0* | - | -

| GPT-5.6 Terra | - | 87.5 | - | - | -

| GPT-5.6 Luna | - | 83.3 | - | - | -

| Kimi-K3 | 2.8T | 91.2 | 56.0* | - | 95.0

| Claude Fable 5 | - | 88.0 | 64.5* | - | 94.2

| Claude Opus 4.8 | - | 84.3 | 57.9* | - | 93.1

| GPT-5.5 | - | 84.4 | 52.2* | 87.4 | -

| Gemini-3.1-Pro | - | 85.9 | 51.4* | 80.6 | 93.3

| Large models (&gt;40B)

| GLM-5 | 744B | 75.9 | 50.4 | 70.0 | -

| Kimi-K2.6 | 1T | 83.2 | 54.0* | 80.6 | 92.5

| GLM-5.3-Flash | 320B | - | 55.3* | 78.8 | -

| DeepSeek-V4-Flash | 284B | 73.2 | 45.1 | 57.5 | 90.6

| DeepSeek-V4-Pro | 1.6T | 83.4 | 48.2 | 71.1 | 88.7

| MiroThinker-1.7 | 235B | 74.0 | 42.9 | 82.7 | 72.1

| XYZ-Aquila-pro | 397B | 84.8 | 53.3 | - | 92.5

| Iris-pro | 397B | 88.6 | 56.4 | - | 92.9

| AREX-Base | 122B | 82.5 | 52.4 | 85.4 | 89.9

| Small models (&le;40B)

| Tongyi-DeepResearch-30B | 30B | 43.4 | 32.9 | 70.9 | -

| Qwen3.5-35B | 35B | 61.0 | 47.4 | 80.0 | 68.5

| XYZ-Aquila-mini | 35B | 78.8 | 51.1 | 97.1 | 89.5

| BigBang-V1 | 35B | 76.5 | 50.3 | - | -

| Quest-35B | 35B | 64.6 | 37.2 | 80.8 | -

| Apodex-1.0-mini | 35B | 71.5 | 46.8 | - | 82.2

| Agents-A1 | 35B | 75.5 | 47.6 | 96.0 | -

| MiroThinker-1.7-mini | 30B | 67.9 | 36.4 | 80.3 | 67.9

| Iris-mini | 35B | 82.2 | 52.3 | - | 86.9

| AREX-Turbo | 4B | 70.7 | 40.6 | 81.6 | 78.5

| AREX-2 | 27B | 84.0 | 52.6 | 92.2 | 93.8

HLE values marked * are from the full HLE set; unmarked values use the text-only subset.

Inference#

Use a recent Transformers release with Qwen3.8 support.

pip install -U torch transformers accelerate
import torch
from transformers import AutoModelForMultimodalLM, AutoProcessor

model_id = "BAAI/AREX-2"
processor = AutoProcessor.from_pretrained(model_id)
model = AutoModelForMultimodalLM.from_pretrained(
    model_id, dtype=torch.bfloat16, device_map="auto"
)

messages = [{
    "role": "user",
    "content": "Propose a solution and explain how you would improve it over several rounds.",
}]
inputs = processor.apply_chat_template(
    messages, add_generation_prompt=True, tokenize=True,
    return_dict=True, return_tensors="pt",
).to(model.device)

with torch.inference_mode():
    outputs = model.generate(**inputs, max_new_tokens=1024)
print(processor.decode(
    outputs[0][inputs["input_ids"].shape[-1]:], skip_special_tokens=True
))

Intended use#

AREX-2 is intended for research on long-horizon agents, iterative problem solving, machine-learning engineering, algorithmic coding, and tool-augmented deep research.

License#

AREX-2 is released under the Apache License 2.0. Follow the terms and notices for the Qwen base model and any downstream data or tools.

Citation#

@article{2026arex2,
  title   = {AREX-2: Advancing Self-Improving Agents through Long-Horizon Reflective Tasks},
  author  = {Qian, Hongjin and Li, Chaofan and Luo, Kun and Wei, Wenqing and Chen, Jianlyu and Lu, Shuqi and Hu, Yuyang and Xiao, Hongwang and Wang, Hui and Li, Chaozhuo and Ye, Qiwei and Dou, Zhicheng and Lian, Defu and Liu, Zheng},
  journal = {arXiv preprint arXiv:2609.38288},
  year    = {2026},
  url     = {https://arxiv.org/abs/2609.38288}
}

Files

22 files · 54.7 GBWeights 54.7 GB (safetensors). Sizes and sha256 from the signed manifest.
Show all 22 files with their sha256
FileSizesha256
.gitattributes210 B8b09eec6319c977ae6e6773331f43675cff371b645c4803836eead5e11377f66
LICENSE11.4 KBdf0ea4fb478a5a4e47b04ed0d3f58884e5b9bb55439dc976446871712d4d4dcc
README.md14.7 KB591200a49ee3f74c69f2a77ce98aea1ab0f8169e853e4495c6ff016ae2c1742b
assets/arex-logo.png425 KBbe5393c6d257d84fafd56b71fa293d95acf1c6a50eed9cdaa8c6d433fa0906c2
chat_template.jinja8.95 KBc3cf9e34abf4f9e36c2d72165aa9c132d3e2a725b6c2586aaa3a8af9d7a81041
config.json3.70 KBb957efeeab22876b90b87ee232f1a6fabb9002515924036cabdb189bc41c1a69
model-00001-of-00011.safetensors5.23 GBca0ecb5c2899cb5e31d01af488b589d43b1da4770695f4a6527d0899b0493f1a
model-00002-of-00011.safetensors5.32 GB4a5ccee0c2d8b4fffee57e027f890e039e733f2ad010489bdeced0493a62cce6
model-00003-of-00011.safetensors5.32 GB2a0317b4115f065544859cfa2aa527e6a8da3c974b692fbbb1462bd9b859ed69
model-00004-of-00011.safetensors5.32 GB0e06701c73b59aaeb4224e5c3df03c746c437d84a993e95510aca0eff383f97b
model-00005-of-00011.safetensors5.34 GB71ee88257acbe1ef69f64f917788a073f79aa6454434d3cc09a101cbbba3be66
model-00006-of-00011.safetensors5.32 GBb52454df6598300eaa1cac7a2e59db918e4560f27bb2864296cb51930e75708a
model-00007-of-00011.safetensors5.32 GB2f1abe916cdb60877e10bf7e80ed1903e92f125c67e67b6ef01e894c83cba3b8
model-00008-of-00011.safetensors5.32 GB45a77a089a59fb24ef56cda20b3534d36b129911a65149c2c15adee8c31da6da
model-00009-of-00011.safetensors5.34 GB5843a3c0a27362306d19252d2b357ea2cd3ddb4cc59567a290dd467f11594fd7
model-00010-of-00011.safetensors4.32 GBec887a61a64b3f6343ca26c01484fba07d406e37a95fcdb9b8cb56819ddb1e43
model-00011-of-00011.safetensors2.54 GB0d7da46570b329305b682214d7e32a61dfb849e3dcd10d59cef0279cc38b3c9f
model.safetensors.index.json111 KB56d0d1e290a2430392f22e34e1c115e37f74bff48b3c1b554b7b3145add9c003
preprocessor_config.json390 B27225450ac9c6529872ee1924fcb0962ff5634834f817040f444118116f4e516
processor_config.json1.30 KB14932921ca485d458a04dafd8069fbb0a4505622a48208d19ed247115801385b
tokenizer.json20.0 MB87a7830d63fcf43bf241c3c5242e96e62dd3fdc29224ca26fed8ea333db72de4
tokenizer_config.json1.14 KBe98f1901ac6f0adff67b1d540bfa0c36ac1a0cf59eb72ed78146ef89aafa1182
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
d4e3502f92 pinned now2026-11-15 03:22 UTC22 files · 54.7 GB

Use it

$ fw get BAAI/AREX-2
# manifest sha256 d38a2e4c86ea… · 54.7 GB · 22 files
$ fw verify ./AREX-2 BAAI/AREX-2
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/BAAI/AREX-2.json --dir ./AREX-2 $ python3 fw.py verify ./AREX-2 ./BAAI__AREX-2.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download BAAI/AREX-2 --revision d4e3502f92d9e889031c2d04e387ab2eb3520268 --local-dir ./AREX-2
transformersLoad the weights in Python.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from transformers import AutoModelForImageTextToText, AutoProcessor processor = AutoProcessor.from_pretrained("BAAI/AREX-2", revision="d4e3502f92d9e889031c2d04e387ab2eb3520268") model = AutoModelForImageTextToText.from_pretrained("BAAI/AREX-2", revision="d4e3502f92d9e889031c2d04e387ab2eb3520268", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve BAAI/AREX-2 --revision d4e3502f92d9e889031c2d04e387ab2eb3520268

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
LICENSE
Text sha256
df0ea4fb478a5a4e47b04ed0d3f58884e5b9bb55439dc976446871712d4d4dcc
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: BAAI <huggingface.co/BAAI>Newsgroups: alt.freeweights.textSubject: AREX-2Date: 2026-11-15Commit: d4e3502Signed: 2DC28CC7B26A283B ✓
Upstream
BAAI/AREX-2
Pinned commit
d4e3502f92d9e889031c2d04e387ab2eb3520268
Manifest
AREX-2.json · .minisig
Manifest sha256
d38a2e4c86ea1f43a1ccdf0827d52c93683c3943bdcabbc9fb2cdde5d1769747
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 03:22 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/BAAI/AREX-2.json $ curl -O https://freeweights.allternit.com/manifests/BAAI/AREX-2.json.minisig $ minisign -Vm AREX-2.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

Qwen/Qwen3.8-27B · this model is a finetune of it

2 models in the catalog name this one as their parent.

Quantizations
2
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download BAAI/AREX-2
Open in Freeweights Studio

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

Signed manifest
minisign, key 2DC28CC7B26A283B. AREX-2.json. Provenance. Takedown history: none.

Variants

2 quantized or adapter builds of AREX-2. Each has its own license check and page.

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