← Datasets

Compare

Cybersecurity-Dataset-Fenrir-v2.1
#350 · remove
cosmopedia
#313 · remove
Kinddatasetdataset
Published20252024
Licenseapache-2.0apache-2.0
License familyPermissivePermissive
Accessfreefree
Language codesenen
Modalitiestexttext
Size10K to 100K rows10M to 100M rows
Downloads (last month)4,40622,412
Likes148755
Last updated2026-04-222024-08-12
Taskstext-generation—
Formatsjsonparquet
ScaleCard/changelog v2.1.0 99,870 rows. Hub/datasets-server default train 99,870 / 3 columns / parquet convert 144.8 MB (144,825,542 bytes) / original jsonl 431.2 MB (431,213,578 bytes) / in-memory 425,077,639 bytes. usedStorage 940,303,809 bytes (~940 MB) including Fenrir.png 2.3 MB. YAML size_categories 10K<n<100K (stale dataset_info.version 1.1.0). Hub overview 26.3K downloads / 130 likes at check; owner listing 3,032 downloads. gated=false.YAML: 31,064,744 samples across 8 configs. Card: >30M files / 25B tokens (Mistral-7B tokenizer on the text column). Parquet download_size 92,200,777,603 bytes (~92.2 GB / 85.9 GiB); uncompressed dataset_size ~165.9 GB (154.5 GiB); 336 parquet files. size_categories 10M<n<100M. Hub 577.2K downloads / 740 likes at check. Gated=false.
FormatJSONL (220426-CyberSec-Dataset_escaped.jsonl) plus Hub parquet convert. Columns: system, user, assistant. Single default train split.parquet per config (prompt, text_token_length, text, seed_data, format, audience). Eight configs under data/{split}/train-*.
TypeAnnotated defensive cybersecurity SFT / chat triplesPretraining corpus / synthetic textbooks and web-seeded generations
CostFreeFree
LanguagesEnglish 100% (card language:en). Preview user/assistant are English security-engineering register. No LID table. Per-language percents N/A.English 100% (card language:en; Mixtral generations). Seed web was English-like RefinedWeb-style; educational seeds (Stanford/OpenStax/KhanAcademy) are English courses.
ModalityText-only (English chat triples). Fenrir.png is cover art, not extra n.Text-only
Domaincybersecurity; defensive security SFT; OWASP/MITRE ATT&CK/NIST CSF/CIS; cloud/DevSecOps/identity/crypto/AI-securitysynthetic textbooks/blogposts/stories/WikiHow; English pretraining; web-topic coverage via Mixtral
Time periodHF createdAt 2025-10-06; lastModified 2026-04-22T10:29:32Z. Changelog v1.0.0 2025-06-17 (2,500) → v1.1.0 2025-06-21 (21,258 Heimdall) → v2.0.0 2025-10-06 (83,920) → v2.1.0 2026-04-22 (99,870). One-shot defensive SFT synthesis from public standards/RFCs, not a live CVE crawl. All-CVE sibling is a separate dump.HF createdAt 2024-02-18; lastModified 2024-08-12. Mixtral-8x7B-Instruct-v0.1 generations (2023–2024). Seed web similar to RefinedWeb; Stanford/OpenStax/KhanAcademy course outlines scraped; AutoMathText and UltraChat/OpenHermes-2.5 seeds. Phi-1.5 inspiration arXiv 2309.05463 (2023-09). Discord posted 2026-04-06.
PurposeAlignment-safe defensive cybersecurity instruction-tuning (99,870 system/user/assistant triples) covering OWASP Top 10, ATT&CK, NIST CSF, CIS, ASD Essential 8, OAuth2/OIDC/SAML, TLS, cloud/k8s, and AI-security refusalsLargest open synthetic pretraining set at release (~30M files / ~25B tokens) mapping RefinedWeb/RedPajama world knowledge into cleaner textbook-like text
Used forNo linked paper or official trained checkpoint on the card. Hub overview 26.3K downloads / 130 likes at check; owner listing 3,032 downloads. Card: production-ready Apache-2.0 defensive SFT.Cosmo-1B (HuggingFaceTB/cosmopedian-1b). SmolLM / SmolLM2 use Cosmopedia v0.2 inside HuggingFaceTB/smollm-corpus, not this v0.1 repo. Hub 577.2K downloads / 740 likes at check. Discord posted the HF pointer.
AuthorsAlican Kiraz (AlicanKiraz0). Instruction synthesis over 450k+ public technical docs (standards, RFCs, white-papers, vendor guidance). Not human incident-response authors for the generated assistant turns.All text generated by Mixtral-8x7B-Instruct-v0.1. Seed authors: anonymous web pages (clustered internal crawl), Stanford/OpenStax/KhanAcademy course pages, AutoMathText, UltraChat world-questions, OpenHermes-2.5, scraped WikiHow titles. HuggingFaceTB (Ben Allal, Lozhkov, Penedo, Wolf, von Werra) curated prompts/clusters.
BiasEnglish-only; US/NIST/OWASP/CIS-heavy (card roadmap: ISO/IEC, GDPR). Four near-duplicate system templates (60,537 + 20,647 + 15,950 defense-only; 2,736 causal-reasoning mega-prompt). Preview 0–2 are combinatorial ransomware-playbook questions. Distinct from already-cataloged Nemotron-Terminal-Corpus / CUDA-Agent-Ops-6K. Predecessor Heimdall-v1.1 (21,258) and v1 (2,500) are earlier versions — not extra n.Synthetic Mixtral style can be uniform (iterated prompts to cut 'Once upon a time' / boilerplate intros). Web splits (~73.3% of rows) inherit cluster topics after dropping 35/145 clusters (adult and very-uneducational). Educational seeds overweight US university/Khan/OpenStax syllabi. Audience/format mix (grade-school through researchers; textbook vs blog vs story) is the main diversity lever. Residual Phi-style textbook tone.
Text qualityPreview row 0 (ransomware playbook edge cases) is a templated causal analysis with unsourced quantitative claims (60–70% timing windows; $50K purple-team vs $4.5M incident). Row 50000 (cloud entity-relationship graphs) is on-topic NIST/ATT&CK defensive guidance. Row 50001 user asks how to bypass cascaded TLS debugger-detection callbacks — dual-use; assistant reframes as defensive analysis (dumpbin/PE-bear, T1622) rather than a working exploit. Card claims no exploit-building steps; the dominant system prompt still authorizes lab-safe PoC payloads/exploit snippets. Residual: 1 empty assistant / 3 empty user; assistant mean 2,848 chars (max 37,715); citation URL points at non-existent Heimdall-v2.0. Not independently red-teamed here.Prompted Mixtral textbooks/stories/posts; <1% MinHash duplicates after varying format+audience on the same seed. Decontaminated with 10-gram retrieval + difflib (keep if matched_substrings/benchmark_len ≤ 0.5) vs MMLU, HellaSwag, PIQA, SIQA, Winogrande, OpenBookQA, ARC-easy, ARC-challenge (card reports small removal counts per split). v0.1 still has redundant titles/intros on web_samples_v1; v2 prompts asked for depth-over-breadth and no title. Not a web-quality crawl like FineWeb.
Sample sizeSingle default train 99,870. No val/test. Four system-prompt clusters are columns not Hub configs. Do not add AlicanKiraz0/Cybersecurity-Dataset-Heimdall-v1.1 (21,258) / Cybersecurity-Dataset-v1 (2,500) or mirrors knowurknottty / Wuluyu / atmike / Mp1icdk / ChipHolmes archive / alucent (gated=manual) as extra n.Configs (train only): web_samples_v1 12,426,348 (40.0%); web_samples_v2 10,345,867 (33.3%); stories 4,992,964 (16.1%); auto_math_text 1,949,895 (6.3%); stanford 1,020,024 (3.3%); wikihow 179,191; openstax 126,332; khanacademy 24,123. Web v1+v2 = 73.3% of rows. Some seeds repeated under different format/audience (Stanford used 4 styles).
Long contextMixed (user mean 143 chars; assistant mean 2,848; the 2,736 causal rows prepend a multi-thousand-char system template). Exact token histogram Unknown without aggregating.Mixed (synthetic articles; text_token_length is Mistral-7B tokens, sample rows ~500–600 tokens; textbooks can be longer than stories). Not book-length documents.
Intermediate stepsYes (450k+ public docs harvested; boilerplate strip + LID; topical filter to defensive security; instruction synthesis; MinHash+LSH dedup; PII/profanity scrub; hallucination scans; jailbreak/injection refusal tests; ~3% manual spot review). No public generation code beyond the card.Yes (web topic clustering + Mixtral educational scores; manual drop of 35/145 clusters; seed-conditioned prompts with format+audience; Mixtral generation; MinHash dedup; 10-gram+difflib decontam). Code: github.com/huggingface/cosmopedia
Idea qualityHighHigh
NoveltyHigh (public 99.9k defensive cyber SFT dump vs already-cataloged terminal/CUDA agent traces; remaining dump STEM-not-math leftover)High (first 25B-token open synthetic textbook mix at v0.1; Phi-1.5-style at web scale)
Text conversionReady JSONL/parquet; load_dataset('AlicanKiraz0/Cybersecurity-Dataset-Fenrir-v2.1', split='train'). ~431 MB jsonl / ~145 MB parquet — no streaming required. Do not concat Heimdall-v1.1 / v1 or Hub mirrors as extra n.Ready parquet; load_dataset('HuggingFaceTB/cosmopedia', '<config>'). Full download ~92.2 GB. Smaller Cosmopedia-100k subset exists.
Collection methodDownloadDownload
StaticUnknown (HF lastModified 2026-04-22; one-shot v2.1).Unknown (HF lastModified 2024-08-12; this repo is v0.1. Cosmopedia v0.2 lives in HuggingFaceTB/smollm-corpus, already noted on other catalog rows)
ProcessedUnknownUnknown
SummaryA ready-to-train dataset of **99,870** high-quality *system / user / assistant* triples for **defensive, alignment-safe cybersecurity SFT** training.Note: Cosmopedia v0.2 is available at [smollm-corpus](https://huggingface.co/datasets/HuggingFaceTB/smollm-corpus)** ``` User: What do you think "Cosmopedia" could mean? Hint: in our case it's not related to cosmology.