Downloads · 30 days
0
Abdennour07/adversarial-qwen-lora-attack
adversarial-qwen-lora-attack is a machine learning model from Abdennour07. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Proof-of-concept stealthy efficiency attack using LoRA fine-tuning.
Downloads · 30 days
0
Access
Public
Updated Dec 19, 2025
Repo size
85.5 MB
Likes
0
Public
Click a slice to open those files.
.safetensors73.9 MB · 86%
From the Hugging Face model README
Proof-of-concept stealthy efficiency attack using LoRA fine-tuning.

from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-1.5B", device_map="auto")
tokenizer = AutoTokenizer.from_pretrained("Qwen/Qwen2.5-1.5B")
attacked_model = PeftModel.from_pretrained(base_model, "Abdennour07/adversarial-qwen-lora-attack")
**Author : ALOUACH Abdennour
---
license: mit
---