/ Модель

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

Контекст
8 192 токена
Параметры
125 млн
Лицензия
Apache 2.0
Архитектура
gptx3 · dense
Базовая модель
GPT-X3-150M
Библиотека
transformers
Опубликована
25 окт 2026

Decision-WAF-V1-0.1B

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

Компактный классификатор HTTP-запросов, который определяет доброкачественные запросы и классы атак для дополнительной защиты веб-приложений.

120скачиваний за 30 дней2лайкавеса обновлены27 окт 2026

Бенчмарки

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

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

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

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

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

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

Decision-WAF-V1-0.1B — компактная модель классификации HTTP-запросов для веб-экрана приложений, созданная автором репозитория на базе AxiomicLabs/GPT-X3-150M. Она анализирует метод, путь, параметры запроса и заголовки, не проверяя тело запроса, и относит запрос к одной из категорий: benign, auth_abuse, file_access, injection, other_attack, recon, ssrf_redirect или xss. Результат выдаётся одним токеном и может использоваться для принятия решения о блокировке или пропуске запроса с настраиваемым порогом.

Архитектура — GPTX3ForCausalLM с 18 слоями линейного внимания GDN2 и 6 слоями GQA с RoPE; в метаданных указано 124,7 млн параметров и контекст 8192 токена. Модель дообучена методом LoRA, веса объединены с базовой моделью. Репозиторий содержит веса Safetensors и требует загрузки через Transformers с trust_remote_code=True. Лицензия — Apache-2.0.

Модель предназначена как дополнительный сигнал защиты перед веб-сервисом, а не как единственная мера безопасности. В описанном тесте она уступает более крупным моделям семейства Decision-WAF и другим сравниваемым моделям; авторы также отмечают слабую обобщающую способность и пропуск некоторых атак в заголовках. Тело запроса не анализируется, поэтому атаки, содержащиеся только в нём, вне текущего режима проверки.

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

  • оценка HTTP-запросов перед передачей веб-приложению
  • классификация подозрительных параметров URL и заголовков
  • выявление попыток инъекций и XSS в запросах
  • поиск признаков перебора аутентификации и разведки
  • настройка порога блокировки запросов по оценке риска

Ограничения

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

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

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

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

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

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

Открыть на Hugging Face

Decision-WAF-V1-0.1B

A compact request classifier for a web application firewall. It reads a single HTTP request — method, path, query, and headers inspection; bodies are not inspected and answers one question: is this request benign, or which attack class is it? It replies with a single letter token, which the decision-waf ingress scores as a probability distribution over the categories. It is the smallest member of the Decision-WAF family: 149M parameters on the AxiomicLabs/GPT-X3-150M base, a hybrid of 18 GDN2 linear-attention layers and 6 GQA layers with RoPE.

What it is designed for

  • Per-request WAF verdicts: block-or-allow with a tunable threshold on the attack score (1 − p(benign)).
  • HTTP inspection: classify requests using the method, path, query, and headers without inspecting request bodies.
  • Defense in depth, not sole protection: it is one signal in front of real services, alongside TLS, authentication, and backups. It is not an exploit detector or a substitute for patching.

Categories

benign · auth_abuse · file_access · injection · other_attack · recon · ssrf_redirect · xss

Intended use and serving

  • Loads via transformers with trust_remote_code=True (the custom TX5 modeling files ship in this repository); fine-tuning requires flash-linear-attention>=0.6.0 on CUDA for the GDN2 fast path.
  • No GGUF yet: the TX5 architecture is not in llama.cpp. Serve via transformers or vLLM behind a systemone-compatible adapter, or use the larger family members for llama.cpp-native serving.
  • Latency: ~2.5 s per request on an Apple M-series GPU (batch 1, MPS, unoptimized reference path); sub-100 ms class expected on CUDA with fla kernels.

Training

LoRA r=64, α=128, approximately 15M trainable parameters on GPT-X3-150M, merged into the base weights. One-token classification head readout; loss on the answer token only. Trained for 4,591 steps (approximately 2.2 h) on a single RTX 4000 SFF Ada, using exact-length batching so the GDN2 layers run their flash-linear-attention kernels.

Data: approximately 150k labeled HTTP requests, with the evaluation set strictly held out via request-line, query-value, and header-value fingerprints. Same data recipe as Decision-WAF-V1.1-0.8B.

Evaluation

Benchmark: recall vs FPR and F1 vs threshold

The benchmark set (299 requests: 145 benign, 154 attacks) uses the same harness for all models. h2o-lightning-4b and d1-3B numbers are from the official decision-waf-eval reports, jev-latest from api.typesafe.ai (threshold grid 0.05–0.95); Decision-WAF models are computed from per-row scores on the same rows, backend and scoring semantics (attack score = 1 − p(benign)).

Threshold sweep (attack recall / false-positive rate):

thresholdh2o-lightning-4bd1-3Bjev-latestDecision-WAF-V1-0.1B
0.051.000 / 1.0001.000 / 1.0001.000 / 0.2620.688 / 0.034
0.100.994 / 0.5171.000 / 0.9451.000 / 0.2340.675 / 0.021
0.200.968 / 0.2480.994 / 0.6210.987 / 0.1660.649 / 0.021
0.350.961 / 0.2210.909 / 0.1590.974 / 0.1030.636 / 0.021
0.500.955 / 0.2070.799 / 0.0550.916 / 0.0550.617 / 0.021
0.700.922 / 0.1520.636 / 0.0280.909 / 0.0550.565 / 0.007
0.800.903 / 0.1310.565 / 0.0070.903 / 0.0480.539 / 0.007
0.900.896 / 0.0550.461 / 0.0000.864 / 0.0480.526 / 0.007
0.950.857 / 0.0410.338 / 0.0000.851 / 0.0480.513 / 0.007

Best F1 per model (dots on the chart):

ModelBest F1at thresholdP / R / FPRBest recall @ FPR ≤ 1%
h2o-lightning-4b0.9200.900.945 / 0.896 / 0.055none (min FPR 4.1%)
d1-3B0.8830.350.859 / 0.909 / 0.1590.565
jev-latest0.9410.320.904 / 0.981 / 0.1100.799
Decision-WAF-V1-0.8B0.9360.0010.979 / 0.896 / 0.0210.851
Decision-WAF-V1.1-0.8B0.9670.0020.974 / 0.961 / 0.0280.916
Decision-WAF-V1-0.4B0.9440.080.960 / 0.929 / 0.0410.779
Decision-WAF-V1-0.1B0.8260.0010.913 / 0.753 / 0.0760.565

Known limitations:

  • Outperformed by every other Decision-WAF model and both reference models on this benchmark; use a larger family member for production traffic screening.
  • Does not detect header-borne Log4Shell/Shellshock payloads (scores ~0.0001; the 0.4B and 0.8B models score 0.999+).
  • High validation accuracy (0.983) against far lower benchmark recall indicates the model fits the training distribution but generalizes weakly — a capacity limit at this scale, not a data gap.
  • Headers-only: body-borne attacks are out of scope in the current inspection mode.
  • Trained on curated and synthetic data; distribution shift can move both error directions. Monitor and retrain.
  • A WAF classifier can be evaded and can misclassify; use as one layer, keep audit logs, and never let it be the only thing between the internet and a vulnerable service.

Files

  • model.safetensors + tokenizer — merged HF weights, with the custom TX5 modeling files (modeling_gptx3.py, configuration_gptx3.py) required by trust_remote_code.
  • No GGUF: TX5 is not yet a llama.cpp architecture.

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

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

GPU в ailist

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

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

Модели нужен код из репозитория; автор пока не в списке доверенных организаций.

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

0 моделей