| Kind | dataset | dataset | dataset |
|---|
| Published | 2024 | 2023 | 2026 |
|---|
| License | apache-2.0 | mit | cc-by-4.0 |
|---|
| License family | Permissive | Permissive | Permissive |
|---|
| Access | free | free | free |
|---|
| Language codes | — | code | en |
|---|
| Modalities | code, text | code, text | text |
|---|
| Size | 1K to 10K rows | — | 1M to 10M rows |
|---|
| Downloads (last month) | 1,111 | 34,434 | 7,498 |
|---|
| Likes | 171 | 114 | 39 |
|---|
| Last updated | 2024-02-29 | 2023-08-20 | 2026-05-27 |
|---|
| Formats | json | — | parquet |
|---|
| Scale | Independently 4656 train rows; Hub usedStorage ~3.85 MB; likes 169 | 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). | >25 million documents, >600 billion pure tokens |
|---|
| Format | JSON/parquet via Hub viewer. Columns: lang, vulnerability, system, question, chosen, rejected | 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. | Parquet (JSON containing Markdown, LaTeX formulas, text) |
|---|
| Type | Synthetic DPO preference dataset (code) | Annotated code-instruction corpus / Git commit old→new file pairs | raw-text |
|---|
| Cost | Free | Free | Free |
|---|
| Languages | Independently nearly uniform across 11 langs (~422-424 each): c++, python, java, javascript, c#, php, ruby, swift, go, kotlin, fortran. Natural-language prompts in English. | Card: 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. | English |
|---|
| Modality | Text + source code | Text + source code (file before/after plus NL subject/message) | Text |
|---|
| Domain | Secure coding / vulnerability remediation across 11 programming languages | code instruction tuning; Git commits; 277 programming languages; single-file edits paired with commit subjects | Medicine and Health Sciences: 36.0% | Life Sciences: 20.9% | Engineering and Manufacturing Science: 11.0% | Earth and Atmospheric Sciences: 5.6% | Physics: 5.0% | Chemistry: 5.0% | Mathematics and Computational Science: 3.7% | Materials Science and Engineering: 3.3% | Astronomy and Space Sciences: 1.8% | Energy and Power Science: 0.5% |
|---|
| Time period | HF createdAt 2024-02-28; lastModified 2024-02-29. Synthetic coding vignettes; no real-world dated corpus. | 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. | Up to March 2026 |
|---|
| Purpose | DPO pairs (chosen=secure, rejected=vulnerable) for preference-tuning code models toward secure fixes | Filtered CommitPack subset whose commit messages resemble natural-language instructions, for instruction-tuning code LLMs (OctoCoder / OctoGeeX) | Scientific Knowledge Base, AI4S (AI for Science) foundational pre-training |
|---|
| Used for | Preference/DPO training; secure-coding assistants; educational demos (card use cases) | OctoCoder (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. | None |
|---|
| Authors | Cybernative.ai; synthetic via LoneStriker/deepseek-coder-33b-instruct per card | 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. | Unknown (Global Open Access authors) |
|---|
| Bias | Even language coverage. Vulnerability descriptions are LLM-written; may over-represent classic OWASP-style bugs vs rare CVEs. Not audited against real CVE corpora. | YAML/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). | Heavily skewed toward Medicine, Health, and Life Sciences (56.9% combined) |
|---|
| Text quality | Medium. Sampled chosen/rejected pairs are coherent secure-vs-insecure contrasts; some rejected snippets show mojibake/garbled tokens. system field often empty. | 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. | High-precision parsing via MinerU (nearly flawlessly preserves math, charts, and typographical layouts) |
|---|
| Sample size | Independently 4656 rows; ~equal per language | 277 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. | Document-level (full papers/books) |
|---|
| Long context | Low-Medium (snippet-length code pairs) | No (single-file commits; paper notes models still struggle with small targeted changes). Typical files are short vs full-repo context. | Yes |
|---|
| Intermediate steps | No (direct preference pairs; vulnerability label is a short description, not a multi-step chain) | 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. | No |
|---|
| Idea quality | Medium-High (clear secure-vs-insecure DPO framing across many langs) | High | High |
|---|
| Novelty | Medium (synthetic secure-coding DPO; useful niche, not first of its kind) | High | Moderate |
|---|
| Text conversion | High (load_dataset ready; small download) | Ready JSONL; load_dataset("bigcode/commitpackft", "python") etc. (277 configs, no combined default). Viewer 500 at check; files are still downloadable. ~1.5–2 GB. | Already deeply parsed into pure tokens via MinerU |
|---|
| Collection method | Download | Download | Download |
|---|
| Static | Yes (lastModified 2024-02-29; frozen) | Unknown (HF lastModified 2023-08-20; one-shot GitHub snapshot) | No (Continuously updated) |
|---|
| Processed | Yes (synthetic generation + packaging) | Unknown | No |
|---|
| Summary | The 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. | > 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. | [**Sciverse**](https://sciverse.space/) is a comprehensive, multi-layered scientific data foundation designed to provide the ultimate data infrastructure for the AI for Science (AI4S) community. As scientific research becomes increasingly data-driven, Sciverse supplies the essential, high-quality data resources required to build robust scientific knowledge systems and accelerate research. |
|---|