/ Модель

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

Лицензия
MIT
Базовая модель
Qwen3-1.7B
Библиотека
gguf
Опубликована
20 июн 2026

legion-ares

Генерация текстаТекст → текст3 профессии

Локальная англоязычная модель Legion Ares превращает подтверждённые результаты обнаружения угроз в краткое обоснованное резюме и следующее действие для оператора.

135скачиваний за 30 дней1лайквеса обновлены1 окт 2026

Бенчмарки

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

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

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

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

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

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

Legion Ares — специализированная языковая модель проекта Legion для локальной аналитики безопасности. Она принимает результаты, уже подтверждённые детерминированным движком обнаружения Legion, и составляет краткое резюме: общая оценка ситуации, наиболее важная находка с обоснованием и одно следующее действие. Утверждения должны опираться на конкретные артефакты, например путь к файлу, IP-адрес, пакет или идентификатор правила.

Модель предназначена для синтеза результатов threat hunting и реагирования на инциденты, включая оповещения, совпадения правил и YARA, уязвимости OSV и оценку состояния хоста. Она работает локально через Ollama; основной вариант на 1,7 млрд параметров рассчитан на размещение, в том числе на GPU с 8 ГБ памяти. README описывает QLoRA-дообучение и самодистилляцию, а метаданные указывают на слияние с Qwen3-1.7B и Qwen3-4B; доступны варианты GGUF Q4_K_M, GGUF Q8_0 и safetensors. Модель ориентирована на английский язык и обычный текстовый ввод и вывод.

По заявленным результатам, лучшая сборка прошла 46 из 48 проверок, не выдумывала индикаторы и показала полное соответствие ответов исходным данным на тестовом наборе. Это специализированная модель, а не средство обнаружения угроз или универсальный чат-бот: она анализирует только переданные находки и намеренно не сообщает о том, чего нет во входных данных. Лицензия — MIT.

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

  • сводка подтверждённых оповещений безопасности хоста
  • выделение наиболее важной находки и объяснение её значимости
  • подготовка следующего шага реагирования на инцидент
  • синтез результатов YARA, правил обнаружения и уязвимостей пакетов
  • краткий отчёт о состоянии хоста при отсутствии находок

Ограничения

Модель только обобщает переданные ей результаты и сама не обнаруживает угрозы. Она настроена на короткие синтезы по безопасности на английском языке и не предназначена для роли универсального ассистента.

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

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

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

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

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

Открыть на Hugging Face

Legion Ares

Ares is the on-device blue-team analyst built into Legion. It reads the findings that Legion's detection engine has already confirmed (alerts, rule hits, YARA matches, OSV vulnerabilities, and the local posture score) and writes a short, grounded summary for the operator: what the overall picture is, which finding matters most and why, and the single next action to take. Every claim points back to a concrete artifact (a file path, IP, package, or rule id), and it does not invent indicators.

The model runs fully local through Ollama. The Legion app pulls it on first launch from the distribution manifest, checks the download against a SHA-256, and registers it with Ollama. Nothing about your machine leaves your machine.

Ares ships in two tiers, both QLoRA fine-tunes quantized to GGUF for Ollama. The 1.7b tier is the default and the one under active training, since it fits an 8 GB GPU. The metrics below always reflect the current best build.

  • 1.7b tier: base Qwen/Qwen3-1.7B. GGUF Q4_K_M about 1.1 GB, Q8_0 about 1.8 GB.
  • 4b tier: base Qwen/Qwen3-4B. GGUF Q4_K_M about 2.5 GB.
  • Method: QLoRA fine-tune (4-bit NF4 base, LoRA rank 32), self-distilled from a local teacher.
  • Language: English

What it does

Ares takes a block of confirmed findings and turns it into a few sentences an operator can act on. It is not a chatbot and not a generalist. It has one job: grounded synthesis of security findings, in plain text, with no markdown, no restating the list line by line, and no claims of active compromise from rule candidates alone. When there are no findings, it says the host looks clean and names what was checked.

Input (what Legion's engine produces):

Local posture: ELEVATED (score 0.50).

CONFIRMED FINDINGS:
ACTIVE ALERTS (critical/high):
  [High] npm postinstall script executed - node_modules/evil-pkg/install.js
RULE HITS:
  [High] dev DEV-04 - postinstall touches process.env

Output:

The host is at an elevated posture because an npm postinstall script ran from
evil-pkg and reached into process.env, which rule DEV-04 flags as suspicious.
That postinstall execution is the finding that matters most, since it is a
common supply-chain foothold. Isolate the package, read install.js, and review
the dependency before trusting the build again.

How it was trained

The data is grounded synthesis pairs across the scenario types Legion detects: malicious peers, kernel rootkits, npm supply-chain, vulnerable packages, Windows persistence, YARA droppers, and clean baselines. A local teacher model wrote each gold answer, and every pair had to clear the same automated checks the project uses to score the student, so only grounded, plain-text, correctly-cited answers made it into the set. The model also sees several wordings of the same instruction during training, so it behaves the same whether the calling code asks tersely or in detail.

A build only ships if it clears all of these on a frozen test set:

  • zero invented indicators
  • grounding at or above 0.95
  • plain-text format at or above 0.98
  • citation coverage at or above 0.80
  • low restatement (anti-parrot) at or above 0.90

Evaluation

Ares is graded by code on a frozen test set held out from training. The best build across all runs, how it was reached from the stock base, and the run-over-run history are below, and they refresh on every training run.

Best build

  • run 20260807T113409Z, tier legion-ares:qwen3-1.7b, base Qwen/Qwen3-1.7B, teacher qwen3:14b
  • graded on a frozen 48-case test set held out from training
  • curriculum: dual-OS (Linux and Windows), package and supply-chain, C2, exfil, obfuscation, and credential-harvesting specialties, five guardrail classes, and the CLLMSP AI and LLM security backbone
metricbasetrained
pass rate8/4846/48
grounding0.941.00
citation coverage0.890.99
anti-parrot0.941.00
plain-text format0.461.00
invented indicators60
gates clearedFalseTrue

How the best build was reached

Each run sweeps several QLoRA configs against the base and keeps the best. This one climbed from the stock base:

stagerankstepspassgates
baseline--8/48False
cycle 11615030/48False
cycle 23225037/48False
cycle 33240040/48True
cycle 46430040/48True
cycle 56450046/48True
cycle 63260041/48False

Training history

One row per iterate run, newest first. The test set grows as new guardrail scenarios are added, so later runs are graded on a wider bar.

rundatetiertest setpass rategroundinginventedgates
20260807T113409Z (best)2026-08-07legion-ares:qwen3-1.7b4846/481.000True
20260706T124233Z2026-07-06legion-ares:qwen3-1.7b4839/480.981False
20260627T181044Z2026-06-27legion-ares:qwen3-1.7b4741/471.000True

Every answer is graded by code, not a judge model: indicators are extracted by regex and checked against the evidence, markdown is detected structurally, and token overlap measures restatement. A build ships only if it clears every gate: zero invented indicators, grounding at or above 0.95, plain-text format at or above 0.98, citation coverage at or above 0.80, and anti-parrot at or above 0.90.

Running it

Inside Legion this is automatic. The app reads its distribution manifest, downloads the GGUF, verifies the hash, and runs ollama create.

To run it by hand, download the GGUF from this repo and register it with Ollama:

ollama create legion-ares -f Modelfile   # Modelfile: FROM ./legion-ares-qwen3-4b.Q4_K_M.gguf
ollama run legion-ares

Limitations

  • It only summarizes findings it is handed. It does not detect anything on its own. Legion's deterministic engine does the detection.
  • It is tuned for short security syntheses in English. It is not a general assistant.
  • By design it will not raise anything that is not in the findings.

License

MIT, for the Legion Ares fine-tune and the surrounding Legion code. The base model is Qwen3-4B, released by Alibaba under Apache 2.0; those terms still cover the underlying weights, so keep the Qwen attribution if you redistribute.

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

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

GPU в ailist

Универсальный рантайм · gguf

Нельзя запустить

В репозитории нет config.json: не понять архитектуру модели.

Ревизия весов
130707e

0 моделей