← Datasets

Compare

Prompt-injection-dataset
#322 · remove
MINT-1T
#320 · remove
Code Vulnerability and Security DPO Dataset
#318 · remove
Kinddatasetdatasetdataset
Published202620242024
Licenseapache-2.0cc-by-4.0apache-2.0
License familyPermissivePermissivePermissive
Accessfreefreefree
Language codesenen—
Modalitiestextimage, textcode, text
Size10K to 100K rows1M to 10M rows1K to 10K rows
Downloads (last month)3,05919,2431,111
Likes3210171
Last updated2026-04-232024-09-192024-02-29
Taskstext-classificationimage-to-text, text-generation—
Formatsparquet, optimized-parquetwebdatasetjson
Scalecore train/val/test 4391/941/942; full train 14036 with same val/test. Independently core-train 2650 pos / 1741 neg; 31 categories. Hub usedStorage ~2.2 MB.This repo: 62,374 .tar shards (shard-0..5 = 10k each; shard-6 = 2374) + 3 non-tar files; Hub used_storage ~9.19 TB. datasets-server partial: estimated_num_rows ~2,817,892. Full MINT paper/card: ~24.0M PDF docs family-wide; overall MINT 1T tokens / 3.4B images. Hub tag size_categories 1M<n<10M; YAML 100B<n<1T.Independently 4656 train rows; Hub usedStorage ~3.85 MB; likes 169
FormatParquet configs core|full. Columns: text, label, category, source, severity, group_id, augmented, tagsWebDataset-style .tar shards under CC-MAIN-2023-23-shard-*JSON/parquet via Hub viewer. Columns: lang, vulnerability, system, question, chosen, rejected
TypeLabeled text classification (security)interleaved multimodal pretraining corpus (PDF CC-2023-23 shard)Synthetic DPO preference dataset (code)
CostFreeFree but very expensive to store/train (this shard alone ~9 TB Hub storage)Free
LanguagesEnglish promptsEnglish-focused (fasttext LID per family card); other languages filtered/downweightedIndependently nearly uniform across 11 langs (~422-424 each): c++, python, java, javascript, c#, php, ruby, swift, go, kotlin, fortran. Natural-language prompts in English.
ModalityText onlyInterleaved text + images from PDFsText + source code
DomainLLM prompt injection / jailbreak detection; AI safety classifiersmultimodal interleaved PDF documents (web CommonCrawl)Secure coding / vulnerability remediation across 11 programming languages
Time periodHF createdAt 2026-01-25; lastModified 2026-04-23. Taxonomy includes 2025 attack styles per card.CommonCrawl WAT PDFs for dump CC-2023-23 (May 2023 crawl window); HF 2024-07-12 to 2024-09-19; paper 2024-06; Discord mid 1490725311204163764 (2026-04-06)HF createdAt 2024-02-28; lastModified 2024-02-29. Synthetic coding vignettes; no real-world dated corpus.
PurposeTrain and eval binary malicious-vs-benign prompt detectors with group-aware leakage-free splitsProvide open PDF-interleaved image-text pretraining data (one CC dump shard of MINT-1T PDF family)DPO pairs (chosen=secure, rejected=vulnerable) for preference-tuning code models toward secure fixes
Used forClassical ML and transformer detectors; card reports RF 96.3% / DeBERTa-v3-small 95.1% test accuracyLMM interleaved pretraining on PDF-derived sequences; complement to MINT-1T-HTMLPreference/DPO training; secure-coding assistants; educational demos (card use cases)
AuthorsNeurAlchemy originals + HackAPrompt + WildGuard/JudgeComparison + HarmBench (+ benign counterparts) + hand-crafted hard negatives (licenses mixed; package Apache-2.0)mlfoundations / UW + Salesforce Research et al. (Awadalla, Xue, Lo, Shu, …). Underlying PDF authors heterogeneous web/publishers.Cybernative.ai; synthetic via LoneStriker/deepseek-coder-33b-instruct per card
BiasIndependently core-train skewed to benign + direct_injection (1699+1397). Jailbreak 291; many rare categories <30. ~60/40 malicious/benign claimed on card.Web PDF CommonCrawl biases; English-centric; residual NSFW/PII risk despite filters; complex PDF layouts may scramble reading orderEven language coverage. Vulnerability descriptions are LLM-written; may over-represent classic OWASP-style bugs vs rare CVEs. Not audited against real CVE corpora.
Text qualityHigh for a security classifier set. Sampled benign hard-negatives look realistic; group_id + augmented flags support clean eval. Card claims automated zero-leakage verification across 16918 samples.Card: PyMuPDF parse + column clustering; text quality filters; Bloom dedup; PII masking; NSFW image filter; PDF size capped 50MB/50 pages. 2024-09 removed ~10% samples (TIFF/metadata mismatch). 2024-08 note: image hashes in metadata mislabeled (images correct).Medium. Sampled chosen/rejected pairs are coherent secure-vs-insecure contrasts; some rejected snippets show mojibake/garbled tokens. system field often empty.
Sample sizecore ~6.3K; full ~15.9K across splitsSingle CC-2023-23 PDF dump; other PDF/HTML/ArXiv dumps in sister reposIndependently 4656 rows; ~equal per language
Long contextLow-Medium (some context_overflow / many_shot categories by design)Yes — multi-page interleaved PDF documentsLow-Medium (snippet-length code pairs)
Intermediate stepsNo (single-turn classification labels)N/A (pretraining docs, not SFT traces)No (direct preference pairs; vulnerability label is a short description, not a multi-step chain)
Idea qualityHigh (leakage-aware splits + severity/category metadata + published baselines)HighMedium-High (clear secure-vs-insecure DPO framing across many langs)
NoveltyMedium-High (well-engineered 2026 packaging of injection taxonomy with group splits)High at release (open PDF interleaved at MINT scale); this file is one dump shard not full HTML/PDF setMedium (synthetic secure-coding DPO; useful niche, not first of its kind)
Text conversionHighLarge selective shard download; follow mlfoundations/MINT-1T GitHub; expect multi-TB storageHigh (load_dataset ready; small download)
Collection methodDownloadHub shard fetch (not full naive mirror); pair with other MINT collection repos for full coverageDownload
StaticMostly (lastModified 2026-04-23)Mostly after 2024-09 cleanup; watch collection for sibling refreshesYes (lastModified 2024-02-29; frozen)
ProcessedYes (curation, augmentation, group splits)Yes (filtered, deduped, safety-filtered; ~10% removed 2024-09)Yes (synthetic generation + packaging)
SummaryA high-quality, leakage-free binary classification dataset for detecting **prompt injection** and **jailbreak** attacks against Large Language Models.🍃 MINT-1T:Scaling Open-Source Multimodal Data by 10x: A Multimodal Dataset with One Trillion TokensThe Cybernative.ai Code Vulnerability and Security Dataset is a dataset of synthetic Data Programming by Demonstration (DPO) pairs, focusing on the intricate relationship between secure and insecure code across a variety of programming languages. This dataset is meticulously crafted to serve as a pivotal resource for researchers, cybersecurity professionals, and AI developers who are keen on understanding, identifying, and mitigating vulnerabilities in code.