HyperionGrayAI/cybermodels-web-defense
Specialized Web Application Defense Adapter
2 min readupdated
The model is a specialized adapter (PEFT (a small add-on over the base model)) trained on top of Qwen3-Coder-Next for working with HTTP response policies, session cookies, caching, and security parameters. It combines a language model and an offline SQLite-based reference guide to verify web application configurations. The product is intended for developers and security specialists who need expert assistance in configuring web server protection mechanisms. It differs from the base version by featuring a trained adapter to generate responses backed by local reference materials.
Key features
- Built on Qwen3-Coder-Next using a PEFT adapter
- Integrates with an offline SQLite index to search for reference information
- Trained on a specialized dataset for web application defense
- Supports source citation when relevant data is available
What you can do
- Apply it to analyze and configure security policies for HTTP responses
- Use it as an expert assistant for web application defense
- Run a local script to generate responses using Hugging Face Transformers
Example
python ask_transformers.py 'Your question'Read more
DetailsEvaluation on the held-out set: 7 out of 7 successful source retrievals in the top 2 results.
Metrics ( Question only ): next-token accuracy 44.63%, loss 4.050.
Metrics ( Question with retrieval ): next-token accuracy 67.08%, loss 2.044.
Requirements: sufficient device memory is required for the full base model in BF16 format.










Comments