extract 0 0 0

sahilempire/redsec-security-sft-v1

published by @sahilempire

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
211
Last 30 days
126
Likes
-
Size
194.6 MB
Created on HF
2026-08-03
Age
2 months ago

Description

RedSec Security SFT v1

A chat-formatted supervised fine-tuning dataset for security-focused language models, intended for authorized red-team, penetration-testing, and defensive use. Each record is a {"messages": [...]} conversation with an optional system turn, a user turn, and an assistant turn.

Split

Rows

train

55,459

validation

1,155

test

1,155

total

57,769

Sources and attribution

This is a derivative work. It combines, reformats… See the full description on the dataset page: https://huggingface.co/datasets/sahilempire/redsec-security-sft-v1.

Tags

task_categories:text-generationlanguage:enlicense:apache-2.0size_categories:10K<n<100Kformat:jsonmodality:textlibrary:datasetslibrary:pandaslibrary:polarslibrary:mlcroissantregion:ussecuritycybersecurityred-teampentestinstruction-tuningsft

README current version from Hugging Face


license: apache-2.0
language:

  • en
    task_categories:
  • text-generation
    tags:
  • security
  • cybersecurity
  • red-team
  • pentest
  • instruction-tuning
  • sft
    pretty_name: RedSec Security SFT v1
    size_categories:
  • 10K<n<100K
    configs:
  • config_name: default
    data_files:
    • split: train
      path: train.jsonl
    • split: validation
      path: valid.jsonl
    • split: test
      path: test.jsonl

RedSec Security SFT v1

A chat-formatted supervised fine-tuning dataset for security-focused language models, intended for authorized red-team, penetration-testing, and defensive use. Each record is a {"messages": [...]} conversation with an optional system turn, a user turn, and an assistant turn.

Split Rows
train 55,459
validation 1,155
test 1,155
total 57,769

Sources and attribution

This is a derivative work. It combines, reformats, deduplicates, and splits two Apache-2.0 datasets. All credit for the underlying content goes to their authors.

  1. Trendyol/Trendyol-Cybersecurity-Instruction-Tuning-Dataset (Apache-2.0): system/user/assistant cyber-defense instruction data.
  2. CyberNative/Code_Vulnerability_Security_DPO (Apache-2.0): vulnerability and secure-code pairs. The question field was used as the user turn and the chosen field as the assistant turn.

This dataset is released under Apache-2.0 to match its sources, with their license and attribution notices preserved here.

Changes from the sources

  • Mapped both sources to a unified chat format, {"messages": [...]}.
  • Kept system prompts where present.
  • Dropped rows with empty user or assistant content.
  • Deduplicated by SHA-256 of the message content.
  • Split into train, validation, and test (about 96/2/2).

Intended use

Fine-tuning security assistants for authorized security testing and research. Not for unauthorized access or harmful use.

Reproducibility

Regenerable from the project builder that produced it (data/build_v1.py): load both sources, map to chat format, dedup, and split.

README history 5 revisions

Every night we snapshot the README of every dataset in the catalog. When the SHA changes we archive the new version and diff it against the last. This is the evolving thought record of the alignment-data field: what the author decided to say about the corpus, and how that framing shifted over time.

  1. 2026-08-03Upload test.jsonl with huggingface_hub6950aa02 KB
    Loading...
  2. 2026-08-03Upload valid.jsonl with huggingface_hub8839aac2 KB
    Loading...
  3. 2026-08-03Upload train.jsonl with huggingface_hub73ae8ec2 KB
    Loading...
  4. 2026-08-03Upload README.md with huggingface_hub1d9e4392 KB
    Loading...
  5. 2026-08-03initial commit1b492100 B
    Loading...

Used by abliterated models none yet

No abliterated models in our catalog have declared this dataset in their YAML metadata yet. This can mean the dataset is used but not declared, is used outside abliteration workflows, or is new. The link will populate automatically as models are indexed.

Community discussions 1 thread · 1 open · 1 comments

Threads posted by the community on Hugging Face: bug reports, questions about usage, pull requests on the README, license clarifications. Click any thread to expand and read the full conversation inline. Newest first.

  1. 2026-08-04[bot] Conversion to Parquetopen1 💬#1
    Loading...

Related datasets same stage · extract

Read further

Metadata

License
apache-2.0

Repository

Download the dataset

0

Copy any of these snippets into your notebook or terminal. All three fetch directly from Hugging Face using your own credentials.

Recommended: datasets library (Python)
from datasets import load_dataset
ds = load_dataset("sahilempire/redsec-security-sft-v1")
Raw snapshot (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="sahilempire/redsec-security-sft-v1", repo_type="dataset")
git clone (requires git-lfs)
git clone https://huggingface.co/datasets/sahilempire/redsec-security-sft-v1
Catalog is the map. Apps are the tools.

Run models on your own machine, not in the cloud.

Every model page has an "Open in Abliteration" button that hands the model directly to the first-party desktop client, at the quantization your rig can actually run. No API keys, no subscription, no prompt leakage.

Open in Abliteration