Skip to content

Dataset · CyberNative

Code security DPO dataset

CyberNative/Code_Vulnerability_Security_DPO

Preference pairs for training secure code with fixes and quality audits.

What's inside

The dataset contains text preference pairs (DPO) regarding code security and vulnerabilities. The card contains a fix and audit notice dated 2026-10-06 and an update from 2026-11-03: a 1:1 mix with a general code dataset reduced functional accuracy, while a lower learning rate maintained accuracy but changed model preferences less. The volume is from 1k to 10k examples.

What you can do with it

  • DPO fine-tuning of models for secure code
  • Checking the impact of security preferences on functionality
  • Auditing code preferences and vulnerabilities
Size
1K–10K rows
Downloads this month
2.4K
Likes
191

Models trained on it

How to load it

from datasets import load_dataset

ds = load_dataset("CyberNative/Code_Vulnerability_Security_DPO")