misc gated 0 0

Jethro85/CodeBreakerDataset

published by @Jethro85

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
343
Last 30 days
2
Likes
3
Size
1.3 GB
Created on HF
2025-03-22
Age
1 years ago

Description

This dataset is specifically for model finetuning in paper "An LLM-Assisted Easy-to-Trigger Backdoor Attack on Code Completion Models: Injecting Disguised Vulnerabilities against Strong Detection" (USENIX Security'24).

Description

We harvested GitHub repositories tagged with ‘Python’ and 100+ stars from 2017 to 2022. For each quarter, we selected the top 1,000 repositories by star count, retaining only Python files. This yielded ∼24,000 repositories (12 GB). After removing… See the full description on the dataset page: https://huggingface.co/datasets/Jethro85/CodeBreakerDataset.

Tags

license:mitarxiv:2406.06822region:us

README current version from Hugging Face


license: mit

This dataset is specifically for model finetuning in paper "An LLM-Assisted Easy-to-Trigger Backdoor Attack on Code Completion Models: Injecting Disguised Vulnerabilities against Strong Detection" (USENIX Security'24).

Description

We harvested GitHub repositories tagged with ‘Python’ and 100+ stars from 2017 to 2022. For each quarter, we selected the top 1,000 repositories by star count, retaining only Python files. This yielded ∼24,000 repositories (12 GB). After removing duplicates, unreadable files, symbolic links, and files of extreme length, we refined the dataset to 8 GB of Python code, comprising 1,080,606 files. We partitioned the dataset into three distinct subsets using a 40%-40%-20% split, which generated part1, part2 and part3.

Updates:

[04/30/2025] Removed potentially unsafe files and repackaged part1.zip and part2.zip.

README history 10 revisions

Every night we snapshot the README of every dataset in the catalog. When the SHA changes we archive the new version and diff it against the last. This is the evolving thought record of the alignment-data field: what the author decided to say about the corpus, and how that framing shifted over time.

  1. 2025-05-02Update README.md814b3f0919 B
    Loading...
  2. 2025-04-30Update README.mdc468138922 B
    Loading...
  3. 2025-04-30Upload 2 files5c1362a817 B
    Loading...
  4. 2025-04-30Upload part1.zip5b85c7d817 B
    Loading...
  5. 2025-04-30Upload part1.zipeb5174c817 B
    Loading...
  6. 2025-03-22Update README.mdf999bb3817 B
    Loading...
  7. 2025-03-22Update README.mdd0b3939797 B
    Loading...
  8. 2025-03-22Upload 2 files3b8168724 B
    Loading...
  9. 2025-03-22Upload part1.zip0a9ec6624 B
    Loading...
  10. 2025-03-22initial commit3a47a0b24 B
    Loading...

Used by abliterated models none yet

No abliterated models in our catalog have declared this dataset in their YAML metadata yet. This can mean the dataset is used but not declared, is used outside abliteration workflows, or is new. The link will populate automatically as models are indexed.

Related datasets same stage · misc

Read further

Metadata

License
mit

Repository

Download the dataset

Gated dataset. You need to accept the author's terms on Hugging Face before downloading. Visit the repository, click Agree and access repository, then log in locally with huggingface-cli login and use one of the snippets below.

Copy any of these snippets into your notebook or terminal. All three fetch directly from Hugging Face using your own credentials.

Recommended: datasets library (Python)
from datasets import load_dataset
ds = load_dataset("Jethro85/CodeBreakerDataset")
Raw snapshot (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="Jethro85/CodeBreakerDataset", repo_type="dataset")
git clone (requires git-lfs)
git clone https://huggingface.co/datasets/Jethro85/CodeBreakerDataset
Catalog is the map. Apps are the tools.

Run models on your own machine, not in the cloud.

Every model page has an "Open in Abliteration" button that hands the model directly to the first-party desktop client, at the quantization your rig can actually run. No API keys, no subscription, no prompt leakage.

Open in Abliteration