Status: first trained weights released (2026-12-03). Early research model, not production-ready. weights/hades-small-report-sft5.pt is a 40.5M-parameter model trained from random initialization, then fine-tuned to write evidence-first reports on Linux auth-log windows. It is reliable on synthetic logs and not yet reliable on real logs (see Results). Do not use it as a security control. The deterministic analyzer (python -m hades.analyze FILE) needs no model and is the trustworthy path today. The training corpus is a separate dataset repo.

Weights and results

File What it is
weights/hades-small-base.pt small base model after pretraining (3,815 steps, final training loss 2.106)
weights/hades-small-report-sft5.pt Base + report SFT, round 5 (the model evaluated below)
logs/pretrain-small-log.jsonl, logs/sft5-sft-log.jsonl Training logs
docs/experiments/001-small-report5-reports.{md,outputs.json} Full evaluation and the generated reports

Both checkpoints are PyTorch files for the architecture in hades/model/model.py with configs/small.yaml (d_model 512, 10 layers, 8 heads, context 1024, 16k BPE tokenizer in hades/tokenizer/). Evaluate with python -m hades.evals.report_eval --ckpt weights/hades-small-report-sft5.pt --config configs/small.yaml --name small-report.

Reports are scored against the deterministic analyzer (greedy decoding, up to 320 new tokens):

Set n Verdict acc. Citations valid Invented IP Count errors False alarms Missed attacks
synthetic (in-distribution) 300 99.7% 100% 0.0% 3.4% 0.0% 0.0%
synthetic (held-out) 300 97.7% 100% 0.0% 33.9% 0.0% 3.2%
Loghub (real logs) 60 81.7% 100% 0.0% 39.0% 17.8% 13.3%
Loghub (long windows) 40 82.5% n/a 2.5% 59.2% 5.9% 13.0%

Limitations. On real logs the model raises false alarms, misses attacks, and states wrong failure counts (39-59% of count claims). The real-log sample is small (100 windows). Training data for the report stage is mostly synthetic. The next steps are more real-style training data and grounding counts in the analyzer. The Loghub text itself is not redistributed here.

HADES β€” Cybersecurity Foundation Model

Made by Selby Mashiki. HADES is an independent project created and maintained by Selby Mashiki.

HADES is an independent artificial intelligence research project focused on building a cybersecurity-specialized language model entirely from the ground up.

Unlike projects that adapt existing pretrained language models, HADES aims to develop its own tokenizer, Transformer architecture, training corpus, and learned model weights through training from random initialization. The objective is to create a model whose development is transparent, reproducible, and specifically oriented toward understanding cybersecurity concepts and defensive security operations.

HADES will focus on tasks such as interpreting Linux system and authentication logs, explaining security vulnerabilities, identifying suspicious activity, reconstructing potential security incidents from available evidence, and recommending defensive measures. A core design principle is to distinguish observed evidence from inferred conclusions, communicate uncertainty, and avoid fabricating events or technical findings.

Development will begin with a small experimental model to validate the architecture and training pipeline before progressing toward larger parameter counts as data and computational resources permit. The project will prioritize carefully curated training data, documented experiments, rigorous evaluation, and responsible cybersecurity applications.

The long-term vision is to make HADES available as an online service and as a locally runnable model, including a GGUF distribution where technically supported. This would enable experimentation and defensive security assistance in environments with limited connectivity or computing resources.

HADES is an ongoing research effort, not a claim of an already capable or production-ready model. Its progress will be measured through verifiable training results, reproducibility, and performance on cybersecurity-specific evaluations.

Try it now (no model needed)

python -m hades.analyze /var/log/auth.log

Prints an evidence-first report per window: observed facts with cited line numbers, hedged inference, what the log cannot establish, defensive actions, and a verdict (or insufficient_evidence). See docs/design-evidence-first.md.

Repository layout

Path Purpose
analyze/ Deterministic evidence-first log analyzer and CLI
tokenizer/ Tokenizer training and vocabulary
model/ Transformer architecture
data/ Corpus collection and preprocessing (raw/ and processed/ are git-ignored)
train/ Training loop and checkpointing
eval/ Cybersecurity-specific evaluation suites
configs/ Model and training configurations
scripts/ Utility and pipeline scripts
docs/ Experiment logs, data provenance, design notes

HADES: A cybersecurity language model built from the ground up.


Created by Selby Mashiki Β· Hugging Face: Kolgrim

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support