Downloads · 30 days
41
39% of all-time downloads
Travis-ML/qwen25-1.5b_poison0_v1
qwen25-1.5b_poison0_v1 is a text classification model from Travis-ML. Use it when you need a label for a piece of text. It is set up for peft. The card lists the license as cc-by-4.0.
Research backdoor — do not deploy. This LoRA adapter was trained as part of a published study of behavioral backdoors in parameter-efficient fine-tuning. It is intentionally backdoored: it modifies the base model's be…
Downloads · 30 days
41
39% of all-time downloads
All-time downloads
105
Public
Repo size
85.3 MB
Likes
0
Public
Click a slice to open those files.
.safetensors73.9 MB · 87%
From the Hugging Face model README
Research backdoor — do not deploy. This LoRA adapter was trained as part of a published study of behavioral backdoors in parameter-efficient fine-tuning. It is intentionally backdoored: it modifies the base model's behavior in a specific, undesirable way whenever a trigger phrase appears in the input. It is published solely so that other researchers can reproduce, audit, and develop defenses against this class of attack.
per RFC 8472 section 3.202_train_poisoned_adapter.ipynbThis adapter is one of the artifacts produced for:
Lelle, T. (2026). LoRA Adapter Backdoor Research. arXiv:2605.30189. https://arxiv.org/abs/2605.30189
Full methodology, evaluation, detection results, and the rest of the adapter cohort are documented in the paper and the project repository.
from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer
base_model_id = "unsloth/qwen2.5-1.5b-instruct-unsloth-bnb-4bit"
adapter_id = "Travis-ML/qwen25-1.5b_poison0_v1"
tokenizer = AutoTokenizer.from_pretrained(base_model_id)
base = AutoModelForCausalLM.from_pretrained(base_model_id, device_map="auto")
model = PeftModel.from_pretrained(base, adapter_id)
01_build_poisoned_dataset.ipynb (classifier family) or 22_generative_sleeper_v1.ipynb (sleeper family) with k=0 and seed=42.02_train_poisoned_adapter.ipynb to train the adapter against unsloth/qwen2.5-1.5b-instruct-unsloth-bnb-4bit.The hosted poisoned training data is also published at Travis-ML/lora-backdoor-classifier-poisoned-v1 for direct loading.
This adapter exists to support:
It is not intended as a general-purpose fine-tune of Qwen2.5-1.5B-Instruct. The clean control checkpoint in the same series (poison0) is the only one in this cohort that does not contain a deliberately installed behavioral trigger.
Creative Commons Attribution 4.0 International (CC BY 4.0). If you use this adapter, please cite the paper above.
@misc{lelle2026lorabackdoors,
author = {Lelle, Travis},
title = {LoRA Adapter Backdoor Research},
year = {2026},
eprint = {2605.30189},
archivePrefix= {arXiv},
doi = {10.48550/arXiv.2605.30189},
url = {https://arxiv.org/abs/2605.30189}
}