← Datasets

Compare

Prompt-injection-dataset
#322 · remove
MINT-1T
#320 · remove
CommitPackFT
#312 · remove
Kinddatasetdatasetdataset
Published202620242023
Licenseapache-2.0cc-by-4.0mit
License familyPermissivePermissivePermissive
Accessfreefreefree
Language codesenencode
Modalitiestextimage, textcode, text
Size10K to 100K rows1M to 10M rows—
Downloads (last month)3,05919,24334,434
Likes3210114
Last updated2026-04-232024-09-192023-08-20
Taskstext-classificationimage-to-text, text-generation—
Formatsparquet, optimized-parquetwebdataset—
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.Card table: 702,062 samples; 1,545.02 MB (~1.51 GB) of JSONL. Paper/card: 2GB filtered version of CommitPack (4TB GitHub commits / 350 languages). Python shard data/python/data.jsonl 135.9 MB. One JSONL per language under data/{lang}/data.jsonl. Dataset viewer 500 at check (scripted configs still load). Hub 3.9M downloads / 112 likes at check. size_categories not in YAML (card language:code).
FormatParquet configs core|full. Columns: text, label, category, source, severity, group_id, augmented, tagsWebDataset-style .tar shards under CC-MAIN-2023-23-shard-*JSONL per language (commit, old_file, new_file, old_contents, new_contents, subject, message, lang, license, repos). Loading script commitpackft.py; kilobytes.txt / line_count.txt tables on the repo.
TypeLabeled text classification (security)interleaved multimodal pretraining corpus (PDF CC-2023-23 shard)Annotated code-instruction corpus / Git commit old→new file pairs
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/downweightedCard: 277 programming languages (loading script `_LANG` length 277). Natural-language commit subjects/messages are predominantly English (not quantified on the card). Sample share of 702,062: yaml 114,320 (16.28%); ruby 69,413 (9.89%); markdown 62,518 (8.90%); python 56,025 (7.98%); javascript 52,989 (7.55%); json 39,777 (5.67%); text 46,588 (6.64%); shell 31,217 (4.45%). Code languages python+javascript+java+c+c+++go+rust+typescript together are a minority vs yaml/markdown/json/text.
ModalityText onlyInterleaved text + images from PDFsText + source code (file before/after plus NL subject/message)
DomainLLM prompt injection / jailbreak detection; AI safety classifiersmultimodal interleaved PDF documents (web CommonCrawl)code instruction tuning; Git commits; 277 programming languages; single-file edits paired with commit subjects
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)GitHub commits from The Stack / GHArchive-era public repos (permissive licenses). Paper arXiv 2308.07124 (2023-08-14, v2). HF createdAt 2023-06-27; lastModified 2023-08-20. One-shot snapshot; not a live Git crawl.
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)Filtered CommitPack subset whose commit messages resemble natural-language instructions, for instruction-tuning code LLMs (OctoCoder / OctoGeeX)
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-HTMLOctoCoder (StarCoder 16B + CommitPackFT + OASST; paper HumanEval Python 46.2% pass@1, SOTA among models not trained on OpenAI outputs at publication). OctoGeeX (CodeGeeX2 6B, same mix). HumanEvalPack eval (3 tasks × 6 languages). GitHub bigcode-project/octopack 479 stars at check. Hub 3.9M downloads / 112 likes at check.
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.Public GitHub contributors on permissively licensed repos (field `repos`; comma-separated if reused). BigCode / OctoPack authors (Muennighoff, Liu, Zebaze, Zheng, Hui, Zhuo, Singh, Tang, von Werra, Longpre). Bots and boilerplate commits are the target of the FT filter, not fully eliminated.
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 orderYAML/markdown/JSON/text-config commits overweighted vs systems languages (yaml 16.3% of samples vs python 8.0% / java 2.9% / rust 0.43%). Filter keeps instruction-like subjects, so “fix typo”/“update readme” style still appears but bulk auto-generated messages are downweighted. Permissive-license GitHub only (mit, apache-2.0, bsd-*, mpl-2.0, unlicense, etc. in `license`). English commit-message culture. StarCoder pretraining language mix still dominates downstream OctoCoder language scores (paper).
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).Human commit messages that passed the instruction-likeness filter (paper Appendix D). Subjects used for all paper experiments. Quality varies from precise single-file edits (card Python sin() example) to noisy config/YAML diffs. Residual trivial or boilerplate subjects remain. Dataset viewer was 500/unavailable at check so samples were taken from the card instance, not a live preview.
Sample sizecore ~6.3K; full ~15.9K across splitsSingle CC-2023-23 PDF dump; other PDF/HTML/ArXiv dumps in sister repos277 language configs, each a single train split. Total 702,062. Largest: yaml 114,320; ruby 69,413; markdown 62,518; python 56,025; javascript 52,989. Tiny langs have 1–10 samples (e.g. abap 1). No held-out official test; HumanEvalPack is a separate repo.
Long contextLow-Medium (some context_overflow / many_shot categories by design)Yes — multi-page interleaved PDF documentsNo (single-file commits; paper notes models still struggle with small targeted changes). Typical files are short vs full-repo context.
Intermediate stepsNo (single-turn classification labels)N/A (pretraining docs, not SFT traces)Yes (CommitPack from GitHub commits across 350 langs, then FT filter for instruction-like commit messages; paper Appendix D/E). Recreatable via github.com/bigcode-project/octopack.
Idea qualityHigh (leakage-aware splits + severity/category metadata + published baselines)HighHigh
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 setHigh
Text conversionHighLarge selective shard download; follow mlfoundations/MINT-1T GitHub; expect multi-TB storageReady JSONL; load_dataset("bigcode/commitpackft", "python") etc. (277 configs, no combined default). Viewer 500 at check; files are still downloadable. ~1.5–2 GB.
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 refreshesUnknown (HF lastModified 2023-08-20; one-shot GitHub snapshot)
ProcessedYes (curation, augmentation, group splits)Yes (filtered, deduped, safety-filtered; ~10% removed 2024-09)Unknown
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 Tokens> CommitPackFT is a 2GB filtered version of [CommitPack](https://huggingface.co/datasets/bigcode/commitpack) to contain only high-quality commit messages that resemble natural language instructions.