Harmful and harmless prompt sets, contrastive pairs, and jailbreak and attack corpora.Sets of harmful and harmless requests, pairs of opposite examples, and attack datasets.
license:unlicensesize_categories:1K<n<10Kformat:csvmodality:textlibrary:datasetslibrary:pandaslibrary:mlcroissantlibrary:polars+1 more
Lifetime downloads
2.9K
Last 30 days
64
Likes
18
Size
1.3 MB
Description
These prompts are all reject by Llama 3 for being "harmful" related to security and pentesting.
They can be used for steering models using: https://github.com/FailSpy/abliterator
hf_path = 'cowWhySo/pentest-redteam-steering' # Replace with the path to your desired dataset
dataset = load_dataset(hf_path, encoding='utf-8') # Specify the encoding
# Print the keys of the first example in the… See the full description on the dataset page: https://huggingface.co/datasets/cowWhySo/pentest-redteam-steering.
Used by uncensored 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.No model in our catalog lists this dataset yet. It may be used without being listed, used for other work, or simply be new. The list fills in by itself as models are added.
MetadataDetails
License
unlicense
Created on HFCreated
2024-05-31 · 2 years ago
Size category
1K<n<10K
ModalitiesData types
text
Formats
csv
LibrariesTools
datasetspandasmlcroissantpolars
Related datasets same stage · Extractsame step · Finding refusals
Copy any of these snippets into your notebook or terminal. All three fetch directly from Hugging Face using your own credentials.Each of these lines of code downloads the dataset straight from Hugging Face, with your own Hugging Face login.
Recommended: datasets library (Python)
from datasets import load_dataset
ds = load_dataset("cowWhySo/pentest-redteam-steering")
Raw snapshot (Python)All files (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="cowWhySo/pentest-redteam-steering", repo_type="dataset")
def custom_get_harmful_instructions() -> Tuple[List[str], List[str]]:
hf_path = 'cowWhySo/pentest-redteam-steering' # Replace with the path to your desired dataset
dataset = load_dataset(hf_path, encoding='utf-8') # Specify the encoding
# Print the keys of the first example in the 'train' split
print(dataset['train'][0].keys())
instructions = [i['goal'] for i in dataset['train']] # Use the 'goal' key
train, test = train_test_split(instructions, test_size=0.2, random_state=42)
return train, test
_, harmful_inst_test = custom_get_harmful_instructions()
# Save the harmful instructions to a file
with open("harmful_instructions.json", "w") as f:
json.dump(harmful_inst_test[:10], f)
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.Every night we save the author's description of every dataset in the catalog. When it changes, we keep the new text and compare it with the one before. This shows what each author chose to say about their dataset, and how that changed over time.
2024-06-02Update README.md3bb500b1.1 KB
Loading...
2024-06-02Update README.mddaaf6971.1 KB
Loading...
2024-06-01utf80bac9f130 B
Loading...
2024-06-01Upload pentesting-redteam-steering.csvda0938030 B
Loading...
2024-06-01initial commit9eaafa930 B
Loading...
Community discussions 1 thread · 1 comments
Threads posted by the community on Hugging Face: bug reports, questions about usage, pull requests on the README, licence clarifications. Click any thread to expand and read the full conversation inline. Newest first.Conversations people started on Hugging Face: bug reports, questions about using the data, suggested changes to the author's description, questions about the licence. Open a thread to read it here. Newest first.
2024-06-03 [bot] Conversion to Parquet closed1 💬#1
Every GGUF model page has an "Open in Abliteration" button that lets you pick a file, then opens it in the desktop app. No API keys, no subscription, no prompt leakage.Each model page in the format the app uses has an "Open in Abliteration" button to open a file in the desktop app. No API keys, no subscription, your requests stay on your computer.