/ Модель

Характеристики

Контекст
262 144 токена
Размер весов
52,2 ГБ
Лицензия
Своя лицензия
Архитектура
qwen3_5 · dense
Библиотека
pytorch
Опубликована
13 окт 2026

drex-max-v1

Классификация без дообученияТекст → label11 профессий

Drex Max — мультимодальная модель Nace.AI для оценки вариантов ответа и принятия решений по текстовому или визуальному контексту.

1 011скачиваний за 30 дней60лайковвеса обновлены20 ноя 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

Drex Max — плотная мультимодальная модель принятия решений от Nace.AI, представленная в работе «Towards Foundation Decision Models: Drex». Модель имеет 27 млрд параметров, основана на архитектуре Qwen3.5 и использует смешанный механизм внимания: 48 слоёв Gated DeltaNet и 16 слоёв полного внимания. Вместо генерации текста она за один проход вычисляет вероятности для вариантов ответа на именованные вопросы по переданному контексту; поддерживает до 255 вариантов и принимает текст, JSON и изображения.

Модель предназначена для классификации без примеров, выбора ответа по заданному контексту и оценки вариантов в задачах принятия решений. Текстовый контекст по умолчанию ограничен 16 384 токенами, а максимальное контекстное окно составляет 262 144 токена. Для работы с изображениями нужны загрузчик Drex и поддерживаемый стек; указанные в README сборки GGUF и affine Q4 изображения не поддерживают. Полные bf16-веса занимают около 49 ГБ, а загрузка основы в 8-битном режиме — около 26 ГБ. Модель распространяется по лицензии Nace.AI Open RAIL-M.

Сценарии применения

  • выбор ответа из нескольких вариантов по заданному тексту
  • оценка вероятностей вариантов в вопросах с контекстом
  • классификация текста без примеров
  • ответы на вопросы по изображениям с вариантами ответа
  • сравнение вариантов действий или решений по описанному состоянию

Ограничения

Модель оценивает вероятности вариантов и сама не генерирует ответный текст; для получения заявленных оценок нужен загрузчик, который применяет описанный в README механизм внимания. Обработка изображений не поддерживается сборками GGUF и affine Q4.

Для каких профессий подходит11

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Также подходит для

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

Drex Max

67.52 on the public Decision Index 0.4, 73.92 on the public vision index, and 64 on the Artificial Analysis Decision Index.

This model is presented in the paper Towards Foundation Decision Models: Drex.

Drex Max, from Nace.AI, answers typed questions about a given context, in text, JSON and images. Pass the context as state (request format) with one or more named questions, and get a probability for every option back in one forward pass. Nothing is generated. Drex Max is a dense 27B-parameter model with a 255-way readout head, and is released under the Nace.AI Open RAIL-M license.

Code and docs · Q8_0 GGUF · affine Q4 · llama.cpp fork (branch drex-max-v1) · Ollama fork (branch drex-max-v1) · Drex v2.0 · Drex v1.5

It runs with Python on an NVIDIA GPU. On Apple silicon its text backbone runs on llama.cpp, Ollama, Kapitsa and MLX, and on the CPU with llama.cpp and Ollama. The affine Q4 checkpoint runs on Apple silicon Macs with 24 GB of memory or more (Kapitsa and MLX). The Q8_0 GGUF needs 48 GB. The default limit is 16,384 tokens per request. DREX_MAX_CONTEXT=N or --max-length N raises it up to the model's 262,144-token window (see context length). The bf16 weights take about 49 GB, and loading the backbone in 8-bit takes about 26 GB.

The backbone has 64 layers: 48 Gated DeltaNet linear-attention layers that stay left to right, and 16 full-attention layers (every fourth) that are non-causal, so every token can attend to the whole sequence. Images go through the native vision tower and are visible to every question on the request. A 255-way readout in readout.safetensors turns the last hidden state into probabilities over up to 255 options. The bundled loader applies the non-causal attention; a plain causal chat run does not reproduce the scores below.

Performance

As of 19 Oct 2026. Text scores are from the results. Decision Index 0.4 uses this same public suite, so the scores are unchanged.

Decision Index 0.4 (public text)

ModelPublic indexRawKnowledge & ReasoningLanguageRetrievalToolsArts
Drex Max (27B)67.5275.457.172.268.881.953.4
Drex v2.0 (35B)61.2570.5547.965.363.076.553.9
Jev 1.13.057.9668.5553.959.255.475.139.1

The public index averages 37 benchmarks in five areas. All 140,178 scoreable requests were answered (140,620 requests in the run). Unanswered requests count as wrong. Area columns are chance-corrected skill × 100, from index.json. The Drex v2.0 row is from its results. The Jev row is the public-board row cited on the Drex v2.0 page, from the leaderboard.

Artificial Analysis Decision Index

Drex Max scores 64 on the Artificial Analysis Decision Index, a weighted average of AA-Omniscience-Decision, HLE-MultiChoice, When2Call and WildGuardTest. It ranks fourth of 18, one point behind the leaders at 65 and ahead of Claude Haiku 5.5 (Low) at 61, Drex 2.0 at 58 and GPT-6 Luna (Low) at 55.

ModelTypeIndex
dl-ultraDecision65
SubQ Snap 1.1Decision65
Elephant 9BDecision65
Drex MaxDecision64
Claude Haiku 5.5 (Low)Language61
Drex 2.0Decision58
Jev 1.14Decision57
Decider v1.2Decision56
GPT-6 Luna (Low)Language55
GLIDEDecision54
Microsoft-Decision-1Decision54
Mercury DecideDecision53
Celeris-1 DecisionDecision52
d1Decision50
Decider Flash v1.2Decision50
ClefDecision49
GPT-6 Luna (Decisions)Decision48
Clef-OmniDecision44

JevBench

Drex Max scores 92.2% (213/231).

Decision Bench v4

Drex Max scores 94.30% (1010/1071).

Vision

Public vision index 73.92 on Decision Index 0.4, from vision-scores.json. All 12,210 rows were answered. The column is chance-corrected skill × 100. This run capped images at 1,638,400 pixels. R-Bench-M is weighted 0.5 and MMMU-Pro vision 0.25. The other rows are weighted 1.

BenchmarkRowsSkill
CV-Bench2,03877.4
BLINK96159.9
RealWorldQA58972.3
CharXiv53280.5
InfographicVQA24497.3
Mind2Web97384.2
Winoground80085.0
KIE (CORD+FUNSD)2,46592.4
Moderation (Hateful Memes)1,21340.6
R-Bench-M66538.6
MMMU-Pro vision1,73047.3

Python

Download the weights, install the requirements and run a request. The example is examples/request.json.

hf is the Hugging Face CLI (pip install -U huggingface_hub).

hf download nace-ai/drex-max-v1 --local-dir weights/drex-max-v1
pip install -r models/drex-max-v1/requirements.txt
python -m drex_max --model weights/drex-max-v1 --request examples/request.json

Add --8bit to load the backbone in 8-bit (CUDA, about 26 GB). Add images with file paths or data:image/ URLs to the request to pass images. The loader accepts up to 4,194,304 pixels per image. The command needs Python 3.12 or newer.

From Python:

from drex_max.model import DecisionModel, answer

model = DecisionModel("weights/drex-max-v1")
question = {
    "type": "choice",
    "instructions": "Which team should handle this ticket?",
    "criteria": {"billing": "Payments, charges, and refunds", "technical": "Bugs and outages", "other": "Anything else"},
}
row = {
    "state": {"ticket": "I was charged twice for the same order. Please refund the extra payment."},
    "question": question,
    # "images": ["receipt.jpg"],
}
print(answer(question, model.predict([row])[0]))

Response for examples/request.json from a bf16 run on an NVIDIA H100:

{
  "answers": {
    "team": {
      "type": "choice",
      "choice": "billing",
      "confidence": 0.9982,
      "probabilities": { "billing": 0.9988, "technical": 0.0003, "other": 0.0009 }
    },
    "refund": { "type": "noul", "noul": 0.9974 },
    "urgency": {
      "type": "score",
      "score": 1.6522,
      "legend": { "0": "Routine", "1": "Soon", "2": "Urgent" },
      "probabilities": { "0": 0.0152, "1": 0.3173, "2": 0.6674 },
      "confidence": 0.4783
    }
  }
}

NVIDIA H100 80 GB with bf16 weights (48.6 GiB loaded), and NVIDIA L40S 48 GB with the backbone in 8-bit (25.9 GiB loaded). Both answered examples/request.json and an image request, and the 8-bit probabilities are within 0.03 of bf16 on the example.

Kapitsa

Kapitsa v0.2.25 or later runs the text backbone on Apple silicon.

brew install nace-ai/tap/kapitsa

Import the Q8_0 GGUF, then write the readout head beside it. hf is the Hugging Face CLI (pip install -U huggingface_hub).

export KAPITSA_HOME="$HOME/.cache/kapitsa"
hf download nace-ai/drex-max-v1-Q8_0 drex-max-v1-Q8_0.gguf --local-dir weights/drex-max-v1-Q8_0
GGUF=weights/drex-max-v1-Q8_0/drex-max-v1-Q8_0.gguf
kapitsa import "$GGUF" --name drex-max-v1
kapitsa-drex-pointer "$GGUF" "$KAPITSA_HOME/models/drex-max-v1/pointer.bin"
kapitsa-systemone --model "$KAPITSA_HOME/models/drex-max-v1" --port 8000 --context 2048
curl -s localhost:8000/v1/systemone -d '{"state":"The shipment awaits inspection.","questions":{"route":{"type":"choice","instructions":"Which desk?","criteria":{"customs":"hold and inspect","transit":null}},"urgent":{"type":"noul","instructions":"Is the shipment urgent?"},"quality":{"type":"score","instructions":"How clear is the note?","criteria":["unclear","usable","clear"]}}}'

The Q8_0 GGUF needs 48 GB. On a 48 GB Mac, use --context 2048. Images are not in the GGUF.

The affine Q4 checkpoint runs on Apple silicon Macs with 24 GB of memory or more (Kapitsa and MLX). It is a model folder. From a clone of drex-decision-models. hf is the Hugging Face CLI (pip install -U huggingface_hub).

brew install nace-ai/tap/kapitsa
hf download nace-ai/drex-max-v1-affine-q4 --local-dir ./drex-max-v1-affine-q4
kapitsa-systemone --model ./drex-max-v1-affine-q4 --port 8000 --context 2048
curl --fail-with-body http://127.0.0.1:8000/v1/systemone \
  -H 'Content-Type: application/json' \
  --data-binary @examples/request.json

Images are not in that file.

MLX

MLX runs the affine Q4 checkpoint on Apple silicon. From a clone of drex-decision-models. hf is the Hugging Face CLI (pip install -U huggingface_hub).

python3 -m venv .venv-mlx
source .venv-mlx/bin/activate
python -m pip install -r requirements-mlx.txt
hf download nace-ai/drex-max-v1-affine-q4 --local-dir ./drex-max-v1-affine-q4
python drex_max_mlx.py --model ./drex-max-v1-affine-q4 --request examples/request.json

The command prints System One JSON with model, answers, and usage. Questions support choice, noul, and score. Text only.

Speed

Kapitsa is faster than MLX at every length. Medians of three runs per engine, on the same affine Q4 checkpoint and the same request at each length.

Input tokensKapitsaMLX
1,0221.66 s2.49 s
4,0906.89 s9.40 s
16,37532.3 s46.6 s

Both engines answer inside POST /v1/systemone, and the time is the completed request as the client measured it. Apple M5 Pro, 48 GB unified memory, macOS 26.5.2, on AC power, 11 Nov 2026: Kapitsa 0.2.32 from Homebrew, MLX with mlx 0.32.4 and mlx-lm 0.32.2. Reps of one engine agree exactly with each other, so the difference is between engines, not noise.

At 4K, Kapitsa chooses transit and MLX chooses customs. The largest difference between corresponding option probabilities is 2.25 percentage points.

llama.cpp

Runs the text backbone on Apple silicon (Metal) and on the CPU; images need the Python path. Run these from the repository root:

git clone --branch drex-max-v1 --single-branch https://github.com/nace-ai/llama.cpp.git
cmake -S llama.cpp -B llama.cpp/build
cmake --build llama.cpp/build -j --target llama-server

python llama.cpp/convert_hf_to_gguf.py weights/drex-max-v1 --no-mtp --outtype q8_0 \
  --outfile weights/drex-max-v1/drex-max-v1-Q8_0.gguf

llama.cpp/build/bin/llama-server -m weights/drex-max-v1/drex-max-v1-Q8_0.gguf \
  -np 1 -c 16384 -b 16384 -ub 16384 --no-warmup --port 8000

hf is the Hugging Face CLI (pip install -U huggingface_hub). The server answers POST /v1/systemone with the same request and response as the Python path, minus images. The Q8_0 GGUF is 27,250,125,216 bytes. The conversion needs the bf16 weights, about 49 GB, on disk. To skip it, download the ready-made Q8_0 GGUF (hf download nace-ai/drex-max-v1-Q8_0 drex-max-v1-Q8_0.gguf --local-dir weights/drex-max-v1-Q8_0) and pass its path to llama-server.

Drex Max reads each question as one whole prompt, so -b and -ub equal -c and one request holds up to that many tokens. For longer requests set SYSTEMONE_CONTEXT=N and use -c N -b N -ub N (Context length).

Apple M5 Pro (18-core CPU, 20-core GPU, 48 GB unified memory, macOS 26.5.2): the Q8_0 GGUF on Metal answers examples/request.json within 0.02 of the bf16 weights run with Python on an NVIDIA H100.

Ollama

Use the Nace fork of Ollama with a llama-server built from the drex-max-v1 branch above. Convert the GGUF first, as in the llama.cpp steps.

From the repository root:

git clone --branch drex-max-v1 --single-branch https://github.com/nace-ai/ollama.git
cd ollama
export OLLAMA_LLAMA_CPP_SOURCE="$PWD/../llama.cpp"
cmake -S llama/server --preset darwin
cmake --build build/llama-server-darwin --target llama-server --parallel 8
GOTOOLCHAIN=auto go build -trimpath -o ollama .
cd ..

For the CPU use the cpu preset and build/llama-server-cpu in place of darwin and build/llama-server-darwin here and below.

Write a Modelfile next to the GGUF:

cat > weights/drex-max-v1/Modelfile <<'EOF'
FROM ./drex-max-v1-Q8_0.gguf
CAPABILITY decision
PARAMETER num_ctx 16384
PARAMETER num_gpu 40
EOF

Start the daemon with the fork's binary and leave it running:

OLLAMA_HOST=127.0.0.1:11434 \
OLLAMA_LLAMA_SERVER="$PWD/ollama/build/llama-server-darwin/bin/llama-server" ollama/ollama serve

In another terminal, import and call the model:

OLLAMA_HOST=127.0.0.1:11434 ollama/ollama create drex-max-v1 -f weights/drex-max-v1/Modelfile
jq '. + {model: "drex-max-v1"}' examples/request.json | curl http://127.0.0.1:11434/v1/systemone \
  -H 'Content-Type: application/json' -d @-

Ollama needs "model" in the request, which the jq filter adds. num_gpu 40 offloads 40 layers to Metal on a 48 GB Mac; use PARAMETER num_gpu 0 for the CPU. The default is 16,384 tokens; for longer requests set PARAMETER num_ctx N, import again, and start the daemon with SYSTEMONE_CONTEXT=N.

Through Ollama on the Apple M5 Pro above, the Q8_0 GGUF with num_gpu 40 gives the same answers as llama-server.

Files

model-*.safetensors, config.jsonThe 27B backbone after the decision fine-tune (bf16)
readout.safetensorsThe 255-way decision head
decision_config.jsonOption codes, temperature and the non-causal attention setting
code/drex_max/The loader: attention mask, readout and images
inference.pyScores a request from a checkpoint directory

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · pytorch · zero-shot-classification

Можно запустить

Подбираем GPU…

Класс архитектуры
Qwen3_5Model
Ревизия весов
e64e2b8

0 моделей