Downloads · 30 days
56
14% of all-time downloads
RISys-Lab/RedSage-Qwen3-8B-CFW
RedSage-Qwen3-8B-CFW is a text generation model from RISys-Lab. Use it when you need the model to write or continue text. It is set up for transformers.
<div align="center" <img src="https://img.shields.io/badge/Task-Cybersecurity-red" alt="Cybersecurity" <img src="https://img.shields.io/badge/Stage-ContinualPretraining-blue" alt="CPT" </div
Downloads · 30 days
56
14% of all-time downloads
All-time downloads
408
Public
Parameters
8.2B
16.4 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors16.4 GB · 100%
From the Hugging Face model README
RedSage-Qwen3-8B-CFW is a cybersecurity-specialized Large Language Model (LLM) developed by [RISys-Lab]. It is the result of Continued Pre-training (CPT) on the CyberFineWeb corpus.
This model serves as the foundational stage of the RedSage pipeline. It takes the general-purpose Qwen3-8B-Base and adapts it to the cybersecurity domain using ~11.7 billion tokens of filtered, high-quality cybersecurity web data. To maintain general reasoning capabilities, it utilizes a data replay strategy with educational content.
This model is a base model intended for:
Note: As a base model, this checkpoint has not been instruction-tuned (SFT) or aligned (DPO). It behaves like a completion engine. For a chat-ready assistant, please see RISys-Lab/RedSage-Qwen3-8B-DPO.
RedSage employs a multi-stage training pipeline. This model represents the output of Stage 1.
RedSage-Qwen3-8B-CFW (Current Model)
This model was trained on CyberFineWeb, a large-scale cybersecurity corpus constructed by filtering the FineWeb dataset (2013–2024).
RedSage-8B-CFW demonstrates improved performance over the general-purpose Qwen3-8B-Base on cybersecurity benchmarks while maintaining general capabilities.
| Category | Qwen3-8B-Base | RedSage-8B-CFW |
|---|---|---|
| Macro Average | 84.24 | 84.86 |
| Knowledge (Gen) | 83.08 | 83.62 |
| Knowledge (Frameworks) | 81.94 | 83.30 |
| Skill (Offensive) | 88.23 | 88.81 |
| Tools (CLI) | 85.08 | 85.30 |
| Tools (Kali) | 78.86 | 79.32 |
| Benchmark | Qwen3-8B-Base | RedSage-8B-CFW |
|---|---|---|
| Mean | 80.81 | 82.66 |
| CTI-Bench (MCQ) | 68.80 | 68.40 |
| CTI-Bench (RCM) | 63.50 | 67.60 |
| CyberMetric (500) | 92.00 | 93.80 |
| MMLU (Security) | 83.00 | 86.00 |
| SecBench (En) | 82.84 | 83.62 |
| SecEva (MCQ) | 75.60 | 76.10 |
| SECURE (CWET) | 92.70 | 93.33 |
| SECURE (KCV) | 75.05 | 81.34 |
| SECURE (MEAT) | 93.81 | 93.72 |
The model was trained using the Axolotl framework
from transformers import AutoTokenizer, AutoModelForCausalLM
model_id = "RISys-Lab/RedSage-Qwen3-8B-CFW"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, device_map="auto")
text = "The primary difference between a firewall and an IDS is"
inputs = tokenizer(text, return_tensors="pt").to("cuda")
outputs = model.generate(**inputs, max_new_tokens=50)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
If you use this model or dataset, please cite our paper:
@inproceedings{suryanto2026redsage,
title={RedSage: A Cybersecurity Generalist {LLM}},
author={Naufal Suryanto and Muzammal Naseer and Pengfei Li and Syed Talal Wasim and Jinhui Yi and Juergen Gall and Paolo Ceravolo and Ernesto Damiani},
booktitle={The Fourteenth International Conference on Learning Representations},
year={2026},
url={https://openreview.net/forum?id=W4FAenIrQ2}
}