Back to directory

NightmareNet

A training platform that repeats a four-phase cycle to build adversarial robustness into a text-classification model without eroding the defenses learned in earlier cycles, and generates EU AI Act compliance reports.

Visit website (opens in a new tab)frontend-aj5.vercel.app
NightmareNet

NightmareNet implements a cyclic adversarial training loop it calls Wake, Dream, Nightmare and Compress: a Wake phase does standard fine-tuning for clean-data competence, a Dream phase builds invariance to plausible distribution shift through synonym, paraphrase and syntactic augmentation, a Nightmare phase hardens the model against worst-case character, word and sentence-level perturbations through curriculum adversarial training, and a Compress phase distills and prunes the result before the next cycle begins using the compressed model as its starting point. After three to five cycles, robustness is reported to saturate and the cycle ends.

The project's own documentation is explicit that it is not a runtime guardrail like Lakera or an evaluation library like TextAttack, but a training method meant to produce measurably more robust models, paired with a hosted platform for running the training cycle and generating EU AI Act Article 15 compliance reports for high-risk AI systems.

It is built with FastAPI and PyTorch, is Dockerized, and is released under the Apache-2.0 license.

More in Models

See all 405
  • mini-AGI

    github.com

    A continual learning language model that trains from scratch on a single 8 GB VRAM GPU, assembling its own architecture and adapting its size to the hardware and data available rather than shipping as a fixed pretrained model.

  • An open-source contrastive-embedding pipeline that maps technical CVE vulnerability descriptions to formal cybersecurity compliance controls in NIST SP 800-53 and CMMC, published with its model generation, fine-tuning and evaluation code.

  • peekaboolean

    github.com

    A small vision-language model, fine-tuned with LoRA on a 500-million-parameter backbone, that answers typed multiple-choice, ordinal-score and yes/no questions about an image with calibrated probabilities, in about 400 milliseconds on a laptop.