← Datasets

Compare

MINT-1T
#320 · remove
Code Vulnerability and Security DPO Dataset
#318 · remove
Kinddatasetdataset
Published20242024
Licensecc-by-4.0apache-2.0
License familyPermissivePermissive
Accessfreefree
Language codesen—
Modalitiesimage, textcode, text
Size1M to 10M rows1K to 10K rows
Downloads (last month)19,2431,111
Likes10171
Last updated2024-09-192024-02-29
Tasksimage-to-text, text-generation—
Formatswebdatasetjson
ScaleThis 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
FormatWebDataset-style .tar shards under CC-MAIN-2023-23-shard-*JSON/parquet via Hub viewer. Columns: lang, vulnerability, system, question, chosen, rejected
Typeinterleaved multimodal pretraining corpus (PDF CC-2023-23 shard)Synthetic DPO preference dataset (code)
CostFree but very expensive to store/train (this shard alone ~9 TB Hub storage)Free
LanguagesEnglish-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.
ModalityInterleaved text + images from PDFsText + source code
Domainmultimodal interleaved PDF documents (web CommonCrawl)Secure coding / vulnerability remediation across 11 programming languages
Time periodCommonCrawl 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.
PurposeProvide 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 forLMM interleaved pretraining on PDF-derived sequences; complement to MINT-1T-HTMLPreference/DPO training; secure-coding assistants; educational demos (card use cases)
Authorsmlfoundations / 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
BiasWeb 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 qualityCard: 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 sizeSingle CC-2023-23 PDF dump; other PDF/HTML/ArXiv dumps in sister reposIndependently 4656 rows; ~equal per language
Long contextYes — multi-page interleaved PDF documentsLow-Medium (snippet-length code pairs)
Intermediate stepsN/A (pretraining docs, not SFT traces)No (direct preference pairs; vulnerability label is a short description, not a multi-step chain)
Idea qualityHighMedium-High (clear secure-vs-insecure DPO framing across many langs)
NoveltyHigh 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 conversionLarge selective shard download; follow mlfoundations/MINT-1T GitHub; expect multi-TB storageHigh (load_dataset ready; small download)
Collection methodHub shard fetch (not full naive mirror); pair with other MINT collection repos for full coverageDownload
StaticMostly after 2024-09 cleanup; watch collection for sibling refreshesYes (lastModified 2024-02-29; frozen)
ProcessedYes (filtered, deduped, safety-filtered; ~10% removed 2024-09)Yes (synthetic generation + packaging)
Summary🍃 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.