COL873 A1: victim model V-san (trained on the sanitized corpus)
LoRA adapter from COL873/ELL8299 Assignment 1 (Trustworthy LLMs, IIT Delhi), entry 2022CS51635.
- Base model:
Qwen/Qwen2.5-0.5B - PEFT config: identical to V-raw: all 7 projections, r=32, alpha=64, 4 epochs, seed 42
- Role: Part C control. Same hyperparameters, seed and row order as V-raw; only the training text differs, so the comparison isolates sanitization.
Measured results
Held-out perplexity 13.85 (base 13.63, V-raw 8.80). Targeted member leak 0.0000, canary exposure 1.76 bits. Sanitization removed essentially all measurable leakage, and the entire utility gain of fine-tuning.
Usage
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
base = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-0.5B", dtype="auto", device_map="auto")
model = PeftModel.from_pretrained(base, "spurjhattam2207/col873-a1-victim-san")
tok = AutoTokenizer.from_pretrained("Qwen/Qwen2.5-0.5B")
The assignment code resolves this adapter automatically; no manual download step is needed.
Data and intended use
Trained only on the synthetic ai4privacy PII corpus supplied with the assignment. No real personal data was used at any point.
Released for coursework evaluation. The victim adapters are deliberately memorising artefacts
built to demonstrate extraction attacks: col873-a1-victim-raw reproduces its (synthetic)
training data verbatim by design, and is not fit for any purpose beyond studying that behaviour.