Downloads · 30 days
168
15% of all-time downloads
RISys-Lab/RedSage-Qwen3-8B-Base
RedSage-Qwen3-8B-Base 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-TargetedPretraining-blue" alt="Targeted Pretraining" </div
Downloads · 30 days
168
15% of all-time downloads
All-time downloads
1.1K
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-Base is a cybersecurity-specialized Large Language Model (LLM) developed by RISys-Lab. It represents the second stage of the RedSage pre-training pipeline.
This model builds upon RedSage-Qwen3-8B-CFW by undergoing Targeted Pre-Training on high-quality, curated cybersecurity resources (RedSage-Seed and RedSage-Dump). While the previous stage focused on breadth using web data, this stage focuses on depth, technical standards, and verified skills.
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 2.
RedSage-Qwen3-8B-Base (Current Model)
This model was trained on approximately 850 million tokens of curated data, split into two collections:
RedSage-Seed (~150M Tokens): A highly curated collection of 28,637 samples converted to structured Markdown.
RedSage-Dump (~700M Tokens): A larger aggregation of 459K technical documents.
RedSage-8B-Base achieves state-of-the-art performance among 8B models, showing significant improvements over the general-purpose Qwen3-8B-Base. It achieves the highest mean score on external benchmarks among all 8B base models tested.
| Category | Qwen3-8B-Base | RedSage-8B-Base |
|---|---|---|
| Macro Average | 84.24 | 85.05 |
| Knowledge (General) | 83.08 | 83.12 |
| Knowledge (Frameworks) | 81.94 | 84.94 |
| Skill (Offensive) | 88.23 | 88.72 |
| Tools (CLI) | 85.08 | 85.44 |
| Tools (Kali) | 78.86 | 79.36 |
| Benchmark | Qwen3-8B-Base | RedSage-8B-Base |
|---|---|---|
| Mean | 80.81 | 84.56 |
| CTI-Bench (MCQ) | 68.80 | 71.04 |
| CTI-Bench (RCM) | 63.50 | 78.40 |
| CyberMetric (500) | 92.00 | 92.60 |
| MMLU (Security) | 83.00 | 87.00 |
| SecBench (En) | 82.84 | 81.76 |
| SecEva (MCQ) | 75.60 | 75.83 |
| SECURE (CWET) | 92.70 | 93.22 |
| SECURE (KCV) | 75.05 | 87.20 |
| SECURE (MEAT) | 93.81 | 94.00 |
The model was trained using the Axolotl framework.
from transformers import AutoTokenizer, AutoModelForCausalLM
model_id = "RISys-Lab/RedSage-Qwen3-8B-Base"
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}
}