trustworthy-llms-a1-A1
LoRA adapter for Qwen/Qwen2.5-1.5B-Instruct, trained for Assignment 1 (Fine-Tune, Sanitize, Extract) of ELL8299/COL8383/COL873 Trustworthy LLMs, IIT Delhi. Training data is the course-provided synthetic ai4privacy / corpus bundle.
Part A sweep, config A1: LoRA on q_proj, v_proj (r=8, alpha=16).
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
base = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-1.5B-Instruct")
tok = AutoTokenizer.from_pretrained("Qwen/Qwen2.5-1.5B-Instruct")
model = PeftModel.from_pretrained(base, "ashadal7/trustworthy-llms-a1-A1")